A Pen by Jean-Philippe Sirois on CodePen.
This file contains hidden or 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
{ | |
"remove-empty-rulesets": true, | |
"always-semicolon": true, | |
"color-case": "upper", | |
"block-indent": " ", | |
"color-shorthand": true, | |
"element-case": "lower", | |
"eof-newline": true, | |
"leading-zero": false, | |
"quotes": "double", |
All the available image sizes for every pinned images on Pinterest
- Board card preview thumbnails (70px Width): http://media-cache-ak0.pinimg.com/70x/e8/5a/0c/e85a0c974e72f36af99d01b9b713b3e4.jpg
- Feed image url (192px Width): http://media-cache-ak0.pinimg.com/192x/e8/5a/0c/e85a0c974e72f36af99d01b9b713b3e4.jpg
- Pin card view (236px Width): http://media-cache-ak0.pinimg.com/236x/e8/5a/0c/e85a0c974e72f36af99d01b9b713b3e4.jpg
- Pin Full size view (736px Width): http://media-cache-ak0.pinimg.com/736x/e8/5a/0c/e85a0c974e72f36af99d01b9b713b3e4.jpg
- 1200px Width: [http://media-cache-ak0.pinimg.com/1200x/e8/5a/0c/e85a0c974e72f36af99d01b9b713b3e4.jpg](http
This file contains hidden or 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
([ -f ~/.ssh/id_rsa.pub ] || ssh-keygen -t rsa ) && (ssh [email protected] "([ -d ~/.ssh ]||mkdir -m 700 ~/.ssh) && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys" < ~/.ssh/id_rsa.pub) |
They’re the only ones I all read. I’ve them set in my Feeds.app.
This file contains hidden or 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
$(document).on("keypress", 'textarea[maxlength]', function(event){ | |
var ignore = [8,9,13,33,34,35,36,37,38,39,40,46], | |
$this = $(this), | |
maxlength = $this.attr('maxlength'), | |
code = $.data(this, 'keycode') | |
// check if maxlength has a value. | |
// The value must be greater than 0 | |
if (maxlength && maxlength > 0) { | |
// continue with this keystroke if maxlength | |
// not reached or one of the ignored keys were pressed. |
This file contains hidden or 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
# Config | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config secondsBeforeRepeat 0.1 | |
config secondsBetweenRepeat 0.05 | |
# Push Bindings | |
bind u:ctrl;cmd push up bar-resize:screenSizeX |
This file contains hidden or 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 SVN {{{ | |
alias s="svn" | |
alias sl="svn log" | |
alias ss="svn status" | |
alias sc="svn commit" | |
alias su="svn update" | |
alias sd="svn diff" | |
alias saa="svn status | grep '^?' | sed 's/^? *\(.*\)/\"\1\"/g' | xargs svn add" | |
alias sra="svn status | grep '^!' | sed 's/^! *\(.*\)/\"\1\"/g' | xargs svn rm" |
This file contains hidden or 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
$sprites: sprite-map("sprites/*.png"); | |
$sprites-retina: sprite-map("sprites-retina/*.png"); | |
@mixin sprite-background($name) { | |
background-image: sprite-url($sprites); | |
background-position: sprite-position($sprites, $name); | |
background-repeat: no-repeat; | |
display: block; | |
height: image-height(sprite-file($sprites, $name)); | |
width: image-width(sprite-file($sprites, $name)); |