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
$border-radius = 25px | |
@keyframes movingBorder | |
from | |
border-top-left-radius $border-radius | |
border-top-right-radius 0 | |
border-bottom-right-radius $border-radius | |
border-bottom-left-radius 0 | |
50% | |
border-top-left-radius 0 | |
border-top-right-radius $border-radius |
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
@keyframes movingBorder | |
$border-radius = 25px | |
from | |
border-top-left-radius $border-radius | |
border-top-right-radius 0 | |
border-bottom-right-radius $border-radius | |
border-bottom-left-radius 0 | |
text-shadow 0 0 10px yellowgreen | |
color yellowgreen | |
50% |
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
[17:51] gtramont1na: Hey tjholowaychuk, I'm having a hard time using variables inside a @keyframes... Any ideas? | |
[17:52] tjholowaychuk: gtramont1na: hmm can you send me a gist? I'll take a look | |
[17:52] gtramont1na: https://gist.github.com/969067 | |
... | |
[17:53] gtramont1na: Im using the $ as an identifier for me to know the variables in my .styl | |
[17:54] gtramont1na: I also tried moving the '$border-radius = 25px' to inside that @keyframes but then it doesn't even compile | |
... | |
[17:55] tjholowaychuk: gtramont1na: one sec ill try | |
[17:55] gtramont1na: tks | |
... |
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
getRoom = (roomId) -> | |
room = nowjs.getGroup roomId | |
return room if room.augumented | |
room.drawings = [] | |
room.now.sendStartDrawing = (x, y) -> | |
room.currentDrawing = [ x: x, y: y ] | |
room.now.startDrawing x, y | |
room.now.sendDraw = (x, y) -> | |
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
f1 = (a, b) -> alert "#{a} and #{b}" | |
f2 = (ignored, args...) -> f1 args | |
f2 'string1', 'string2', 'string2' |
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
[21:56] bentomas: that does make sense. this might be getting a bit over my head... | |
[22:10] JimBastard: is there an object-hash mapper for redis / node.js? | |
[22:12] keeto has joined the channel | |
[22:26] tfickett has joined the channel | |
[22:27] the_undefined has joined the channel |
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
* { box-sizing: border-box; } /* IMO this should be the default box sizing. */ | |
body { | |
font-family: 'Helvetica Neue'; | |
font-size: 12px; | |
} | |
body > h1 { | |
text-transform: uppercase; | |
font-weight: 100; |
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
#!/bin/sh -e | |
curl -L http://install.ohmyz.sh | sh | |
exec $SHELL -l | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
brew install caskroom/cask/brew-cask | |
brew tap jenv/jenv | |
brew update |
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
fancy_echo "Installing Prezto – Instantly Awesome Zsh…" | |
git_clone_or_pull 'https://github.com/sorin-ionescu/prezto.git' "${ZDOTDIR:-$HOME}/.zprezto" | |
TMP_RC_FILE=$(mktemp -t rcfile); cat << EOF > $TMP_RC_FILE | |
setopt EXTENDED_GLOB | |
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do | |
ln -f -s "\$rcfile" "\${ZDOTDIR:-$HOME}/.\${rcfile:t}" | |
done | |
rm -f $TMP_RC_FILE | |
EOF | |
zsh --rcs $TMP_RC_FILE |
OlderNewer