- [gist.io][this gist]
- [bl.ocks.org][my demos]
- CSS - Indented Button
- JS - Readless
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
body { | |
background-color: #B9B79E; | |
color: #2C241D; | |
font-family: "PT Sans", Arial; | |
font-size: 12px; | |
font-weight: normal; | |
} | |
code { | |
background-color: #EDEDE7; |
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
git diff "$@" | grep '^[-+][^/]' |
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
(function($) { $(function() { | |
// All the nyans. | |
var nyan = $('.nyan'); | |
var nyanImg = '<img width="40px" src="http://i1.kym-cdn.com/photos/images/original/000/117/424/tumblr_ljwaimhJcK1qa4ebfo1_500.gif" />'; | |
var mouseStillDown = false; | |
var firstMouseDown = false; | |
var insertingNyan = false; | |
var button = $('.button'); | |
// Make the timings editable. |
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
/* | |
Source: http://www.codeproject.com/Tips/374219/HTML5-Snow-Canvas | |
Licence: Ms-PL | |
Author: Agon Avdimetaj, @AgonAvdimetaj | |
This code is slightly altered from Agon Avdimetaj's code at the link above. | |
It is changed to use prototypes and so the only global variable pollution comes | |
from the window.CanvasSnow property. It is also more extensible. | |
I don't know the terms for this kind of Javascript, so this section is open to |
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
#Indicator ul li:first-child:last-child { | |
/* Forever alone */ | |
display: none; | |
} |
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
# Jam | |
alias jam-reset='jam ls | xargs jam remove && jam install' |
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
[github] | |
user = USER | |
password = !security find-generic-password -gs github.password -w | tr -d '\n' |
GitHub: henrahmagix
Twitter: @henrahmagix
OlderNewer