This file contains 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' | |
get '/' do | |
puts params.inspect | |
end | |
post '/' do | |
puts params.inspect | |
puts request.body.read | |
end |
This file contains 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 'open-uri' | |
require 'active_support/time' | |
url = ARGV[0] || 'http://www.google.com' | |
interval_minutes = ARGV[1] || 5 | |
loop do | |
puts "#{Time.now} - getting #{url}\n\n" | |
begin | |
puts open(url).read |
This file contains 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
libs = [ | |
'javascripts/lib/underscore/underscore.js', | |
'javascripts/lib/jquery/jquery.js', | |
'javascripts/lib/json2/json2.js', | |
'javascripts/lib/backbone/backbone.js', | |
'javascripts/lib/backbone.marionette/backbone.marionette.js' | |
] |
This file contains 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
libs = [ | |
'javascripts/lib/underscore.js', | |
'javascripts/lib/jquery.js', | |
'javascripts/lib/json2.js', | |
'javascripts/lib/backbone.js', | |
'javascripts/lib/backbone.marionette.js' | |
] |
This file contains 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 'publisci' | |
include PubliSci::DSL | |
data do | |
source 'https://github.com/wstrinz/publisci/raw/master/spec/csv/bacon.csv' | |
dimension 'producer', 'pricerange' | |
measure 'chunkiness' | |
option :base_url, 'http://example.org' |
This file contains 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
(ns foo.bar | |
(:require [cemerick.pomegranate :as pom])) | |
(comment | |
"## Development workspace" | |
(pom/add-dependencies :coordinates '[[http-kit "2.1.18"]] | |
:repositories {"clojars" "http://clojars.org/repo"}) | |
(pom/add-dependencies :coordinates '[[cheshire "5.3.1"]] | |
:repositories {"clojars" "http://clojars.org/repo"}) |
This file contains 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
http://www.deancare.com/app/files/public/3272/pdf-InsuranceServices-medical-claim-form.pdf |
This file contains 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 | |
require 'octokit' | |
require 'tracker_api' | |
require 'git' | |
require 'active_support' | |
class Worder | |
extend ActiveSupport::Inflector | |
end |
This file contains 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/local/bin/pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |
This file contains 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
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix ws: <http://onto.strinz.me/> . | |
@prefix ws_cat: <http://onto.strinz.me/categories/> . | |
@prefix ws_pred: <http://onto.strinz.me/predicates/> . | |
@prefix ws_tag: <http://onto.strinz.me/tags/> . | |
<http://erichermit.itch.io/earth-tongue> a ws_cat:Game ; | |
ws_pred:tag ws_tag:to_watch . |
OlderNewer