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
window.$ = document.querySelectorAll.bind(document) | |
Node::on = window.on = (name, fn) -> | |
@addEventListener name, fn | |
return | |
NodeList::__proto__ = Array.prototype | |
NodeList::on = NodeList::addEventListener = (name, fn) -> | |
@forEach (elem, i) -> | |
elem.on name, fn | |
return |
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
* | |
outline:1px solid #fff!important | |
background-color:rgba(0,2,54,.1)!important |
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
alias sketchplugins="~/Library/Application Support/com.bohemiancoding.sketch3/Plugins" | |
alias macdown="open -a macdown" | |
alias sss-on='defaults write com.apple.screencapture disable-shadow -bool false; killall SystemUIServer; echo "Screenshot Shadow turned ON."' | |
alias sss-off='defaults write com.apple.screencapture disable-shadow -bool true; killall SystemUIServer; echo "Screenshot Shadow turned OFF."' |
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
find $HOME/Library/Containers/com.bohemiancoding.sketch3/Data/Library/Application\ Support/com.bohemiancoding.sketch3/Plugins -name ".git" -exec git --git-dir={} pull ";" |
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 spin | |
0% | |
transform: rotate(0deg) | |
100% | |
transform: rotate(360deg) | |
.spinner | |
width: 50px | |
height: 50px | |
border-radius: 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.10049956291913986</real> | |
<key>Green Component</key> | |
<real>0.10052110999822617</real> |
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
spiner = new Layer | |
borderRadius: "50%" | |
backgroundColor: false | |
spiner.style["border"] = "5px solid" | |
spiner.style["border-color"] = "white white transparent transparent" | |
spiner.center() | |
spiner.animate |
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
img { | |
/* Chrome */ | |
image-rendering: pixelated; | |
/* Safari */ | |
image-rendering: -webkit-crisp-edges; | |
/* Firefox */ | |
image-rendering: -moz-crisp-edges; |
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
column = 4 | |
count = 19 | |
gutter = 10 | |
cellSize = | |
width: 100 | |
height: 100 | |
for i in [0...count] | |
offsetX = i % column | |
offsetY = Math.floor i / column |
OlderNewer