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
//reading | |
var hash = window.location.hash; | |
if(hash == '' || hash == "#ichi"){ | |
//show ichi stuff | |
}else if(hash == "#ni"){ | |
//show ni stuff | |
}else if(hash == "#san"){ | |
//show san stuff | |
} |
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 "rake" | |
task :say_hi do | |
puts "What's your name?" | |
name = $stdin.gets.chomp | |
puts "Hi #{name}!" | |
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
@import base.sass | |
.main-col | |
.grey-box | |
margin-bottom: 20px | |
padding: 10px | |
.email-input | |
width: 300px | |
.existing-user | |
width: 300px |
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
/* | |
As of version 1.1.2, Propane will load and execute the contents of | |
~Library/Application Support/Propane/unsupported/caveatPatchor.js | |
immediately following the execution of its own enhancer.js file. | |
You can use this mechanism to add your own customizations to Campfire | |
in Propane. | |
Below you'll find two customization examples. |
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
@import "compass" | |
… | |
$blueprint-font-size: 15px | |
$blueprint-grid-columns: 12 | |
$blueprint-grid-width: 56px | |
$blueprint-grid-margin: 28px | |
… | |
@import "blueprint" |
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
@import "compass" | |
@import "blueprint" | |
//… | |
$blueprint-font-size: 15px | |
$blueprint-grid-columns: 12 | |
$blueprint-grid-width: 56px | |
$blueprint-grid-margin: 28px |
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
import SwiftUI | |
struct MyForm : View { | |
@State var items: [String] = [ | |
"foo", | |
"bar", | |
"baz" | |
] | |