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
full_data = { | |
response: {body: StyledYAML.literal(DATA.read), status: 200}, | |
person: StyledYAML.inline('name' => 'Steve', 'age' => 24), | |
array: StyledYAML.inline(%w[ apples bananas oranges ]) | |
} | |
StyledYAML.dump full_data, $stdout | |
__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
Katy Perry - The One That Got Away | |
Summer after high school when we first met | |
We make out in your Mustang to Radiohead | |
And on my 18th birthday | |
We got matching tattoos | |
Used to steal your parents' liquor | |
And climb to the roof | |
Talk about our future |
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
// A static select where options aren't child-views but plain option tags. | |
// This implementation is currently much faster than Em.Select on large collections. | |
(function() { | |
// shortcuts | |
var set = Em.set, get = Em.get; | |
Em.FastSelect = Em.Select.extend({ |
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 sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
The Killers - Uncle Johnny | |
When everybody else refrained | |
My uncle Johnny did cocaine | |
He's convinced himself right in his brain | |
That it helps to take away the pain | |
Hey, Johnny | |
Hey what you say Johnny | |
I wanna go out tonight |