Skip to content

Instantly share code, notes, and snippets.

☕️

Guilherme J. Tramontina gtramontina

☕️
Block or report user

Report or block gtramontina

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:1003780
f1 = (a, b) -> alert "#{a} and #{b}"
f2 = (ignored, args...) -> f1 args
f2 'string1', 'string2', 'string2'
View gist:970925
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) ->
@gtramontina
gtramontina / gist:969393
Created May 12, 2011
freenode.net #Node.js log 05/12/2011
View gist:969393
[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
...
View gist:969111
@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%
View gist:969067
$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
You can’t perform that action at this time.