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
defaults write com.apple.dock tilesize -int <SizeInPixels> && killall Dock |
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
defaults write com.apple.dock persistent-apps -array-add '{ "tile-type" = "spacer-tile"; }' && killall Dock |
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
<snippet> | |
<content><![CDATA[ | |
register_post_type('${1:slug}', array( | |
${2:'labels' => array( | |
${3:'name' => _x( '${4:Plural Name}', '${5:translation context}', '${6:translation domain}' ),} | |
${8:'singular_name' => _x( '${9:Singular Name}', '${10:translation context}', '${6:translation domain}' ),} | |
${11:'add_new' => _x( '${12:Add new}', '$9', '${6:translation domain}' ),} | |
${13:'add_new_item' => __( '$12 $9', '${6:translation domain}' ),} | |
${14:'edit_item' => __( 'Edit ${15:$9}', '${6:translation domain}' ),} | |
${16:'new_item' => __( 'New ${17:$9}', '${6:translation domain}' ),} |
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
<?php | |
abstract class ValidatingModel extends \Eloquent | |
{ | |
public $errors; | |
public static function boot() | |
{ | |
parent::boot(); |
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
- .Spotlight-*/ | |
- .Trashes | |
- .DocumentRevisions-*/ | |
- /.dbfseventsd | |
- .fseventsd/ | |
- /tmp/* | |
- /Network/* | |
- /cores/* | |
- /afs/* | |
- /automount/* |
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
conosle = console; |
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
javascript:(function(){l=document.createElement('link');l.rel='stylesheet';l.href='http://basehold.it/24';document.head.appendChild(l);})(); |
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
convert favicon-16x16.png favicon-32x32.png favicon.ico |
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
@mixin retina { | |
@media only screen and (-webkit-min-device-pixel-ratio: 2), | |
only screen and (min-resolution: 192dppx) { | |
@content; | |
} | |
} |
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
// Include normal and retina sprites. Requires retina mixin. | |
@mixin retina-sprite($map-1x, $map-2x, $sprite, $dimensions: true) { | |
$position-1x: sprite-position($map-1x, $sprite); | |
background: sprite-url($map-1x) $position-1x no-repeat; | |
@if $dimensions { | |
@include sprite-dimensions($map-1x, $sprite); | |
} | |
@include retina { |
OlderNewer