Giter Club home page Giter Club logo

mlh-no-light's People

Contributors

bih avatar davidawad avatar dawsbot avatar grant avatar jonmarkgo avatar nlaz avatar sheabelsky avatar tfogo avatar theycallmeswift avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mlh-no-light's Issues

Clear the database

How do admins clear the entries pre-event so that it can have an empty set of entries in the .zip?

Setup Airbrake for your Sinatra application

Installation

Using bundler

Add the Airbrake gem to your Gemfile:

gem 'airbrake', '~> 6.0'

Manual

Invoke the following command from your terminal:

gem install airbrake

Configuration

To use Airbrake with Sinatra, simply require the gem, configure it and use our Rack middleware (You can find your project ID and API KEY with your project's settings):

# myapp.rb
require 'sinatra/base'
require 'airbrake'

Airbrake.configure do |c|
  c.project_id = <Your project ID>
  c.project_key = '<Your project API KEY>'

  # Display debug output.
  c.logger.level = Logger::DEBUG
end

class MyApp < Sinatra::Base
  use Airbrake::Rack::Middleware

  get('/') { 1/0 }
end

run MyApp.run!

For more information please visit our official GitHub repo.

<body> and <head> tags aren't rendered when you submit

So I wrote my code and did the standard:

<!DOCTYPE html>
<html>
<head>
    <title>Document</title>
    ...
</head>
<body>
   ... 
</body>
</html>

...but when the page finally rendered, it didn't actually render the <body> tag, so when I styled body { ... }, none of that showed up. <head> wasn't rendered either.

But, all other tags were, so that's what really matters. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.