Can I put in elements? No. But, say, a is ok? No. What about a like this?
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
# Also run: | |
# touch db/.gitignore log/.gitignore tmp/.gitignore | |
# | |
# Don't forget to edit/move session_store and email initializers as well as database.yml! | |
# | |
*.DS_Store | |
config/database.yml | |
config/initializers/session_store.rb | |
config/initializers/email.rb | |
db/*.sqlite3 |
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
!background_color ||= #333 | |
!text_color ||= #eee | |
!link_color ||= #d9a341 | |
!fonts ||= "helvetica, arial, sans-serif" | |
body | |
background-color = !background_color | |
color = !text_color | |
font: | |
family = !fonts |
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 'rubygems' | |
require 'sinatra' | |
require 'rack/test' | |
require 'spec' | |
require 'spec/interop/test' | |
set :environment, :test | |
set :run, false | |
set :raise_errors, true | |
set :logging, false |
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 'creativity' | |
require 'know_how' | |
require 'insight' | |
class Pitch | |
include Tapioca | |
def success | |
style && elegance && something_else | |
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
jQuery -> | |
$('.multi').change (e) -> | |
$.each this.files, (i, file) -> | |
$('#file_list').append "<p>#{file.name}</p>" | |
form_data = new FormData() | |
form_data.append "file", file |
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
module Play | |
def self.note note = nil | |
@note = note.to_s.upcase | |
self | |
end | |
def self.for bars = 1, length = 1 | |
bars.times do | |
puts @note | |
sleep length |
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 'net/http' | |
require 'json' | |
http = Net::HTTP.new 'api.github.com', 443 | |
http.use_ssl = true | |
path = '/repos/crankapps/whisper.me/statuses/dc34d819a3fc14361261b570b5c00c92cc59e4f8' | |
payload = { 'state' => 'error', |
I hereby claim:
- I am iamsolarpowered on github.
- I am iamsolarpowered (https://keybase.io/iamsolarpowered) on keybase.
- I have a public key whose fingerprint is 621F 6C40 9D81 0574 7658 B7AA CA39 EBD3 AAF6 27C6
To claim this, I am signing this object: