- Service available?
- callback:
service_available? - false:
503 Service Unavailable
- callback:
- Known method?
- callback:
known_methods
- callback:
- absent:
501 Not Implemented
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Libav < Formula | |
| homepage 'http://libav.org/' | |
| url 'http://libav.org/releases/libav-9_beta2.tar.xz' | |
| sha1 'acb7ffbcded06e5f04e8fd0f7dbcc923fd95df3f' | |
| head 'git://git.libav.org/libav.git' | |
| option "without-x264", "Disable H264 encoder" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra/base' | |
| require 'rack/flash' | |
| require 'warden' | |
| require 'slim' | |
| require 'sequel' | |
| require 'sqlite3' | |
| DB = Sequel.sqlite | |
| DB.create_table :users do | |
| primary_key :id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env ruby | |
| # Usage: | |
| # ruby sequel_dot.rb [SEQUEL-DATABASE-URI] > output.dot | |
| # Or pipe directly to Graphviz: | |
| # ruby sequel_dot.rb [SEQUEL-DATABASE-URI] | dot -Tgif > output.gif | |
| # | |
| # Note adapted from Jeremy Evans' and Rohit Namjoshi's son's code at | |
| # http://sequel.heroku.com/2010/05/29/fun-with-graphviz-and-associations/ | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sequel' | |
| DB ||= Sequel.connect ENV['DATABASE_URL'] | |
| class Resource < Sequel::Model | |
| include Sequel.inflections | |
| def after_save | |
| db.notify channel | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node_modules/fbjs/lib/UnicodeBidi.js.flow:28 | |
| 28: import type { BidiDirection } from 'UnicodeBidiDirection'; | |
| ^^^^^^^^^^^^^^^^^^^^^^ UnicodeBidiDirection. Required module not found | |
| node_modules/fbjs/lib/UnicodeBidiService.js.flow:51 | |
| 51: import type { BidiDirection } from 'UnicodeBidiDirection'; | |
| ^^^^^^^^^^^^^^^^^^^^^^ UnicodeBidiDirection. Required module not found | |
| node_modules/fbjs/lib/equalsSet.js.flow:16 | |
| 16: import type Set from 'Set'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ignore] | |
| .*/node_modules/fbjs/lib/Deferred | |
| .*/node_modules/fbjs/lib/PromiseMap | |
| .*/node_modules/.*/test/ | |
| [include] | |
| [libs] | |
| [options] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Nginx < Formula | |
| homepage 'http://nginx.org/' | |
| url 'http://nginx.org/download/nginx-1.4.4.tar.gz' | |
| sha1 '304d5991ccde398af2002c0da980ae240cea9356' | |
| devel do | |
| url 'http://nginx.org/download/nginx-1.5.7.tar.gz' | |
| sha1 '4dd04c73c3081277fe9c98c4a386c8baf956f5ca' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require_relative 'links' | |
| require_relative 'tags' | |
| module Foil | |
| class File | |
| attr_accessor :id, | |
| :category_id, :license_id, :visibility_id, | |
| :description, :name, | |
| :annotations, :authors, :editors, :links, :publishers, :tags |
NewerOlder