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
/** | |
* Easy Gallery Focus jQuery Plugin | |
* Author: Drew Douglass | |
* Author URL: http://dev-tips.com | |
* Version: 0.2 | |
* License: MIT | |
* | |
*@params | |
* onMouseOverCallback - (optional) Callback function for when element is hovered. Default is null. | |
* onMouseOutCallback - (optional) Callbacl function for when mouseout occurs on the element. Default is null. |
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:elem=document.getElementById("dev-outliner");if(elem){elem.parentNode.removeChild(elem);}else{document.body.insertAdjacentHTML('beforeEnd', '<style id="dev-outliner">*{border:1px rgba(255,0,255,0.4) solid !important;}</style>');} |
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 AtomicDust.jpg -strip -quality 85% -interlace Plane compressed.jpg |
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
gifsicle -O3 default.gif -o compressed.gif |
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 pngs='imageOptim --directory ~/Desktop/pngs/ -a' |
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
weather() { | |
echo Your Location: | |
curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-YOURZIPCODE}" | perl -ne 's/&deg;/°/g;/<title>([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n"'; | |
} |
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
<a class="tab" href="#">Show All</a> | |
.tab { | |
text-transform: uppercase; | |
font-size:14px; | |
color:$black; | |
text-decoration: none; | |
font-weight: $fw-medium; | |
padding-bottom:10px; | |
padding-left:10px; |
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
# Simple with recursion and info/progress | |
rsync -havzP --stats remote@host:/your/path ~/Desktop/your/folder | |
#Custom Port | |
rsync -chavzP --stats -e "ssh -p 1999" remote@host:/path/to/files ~/Desktop/local/folder |
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 | |
//While <= number of files to create | |
$count = 1; | |
while($count <= 18) { | |
if($count === 1) { | |
$filename = 'index.html'; | |
} | |
else { | |
$filename = $count.'.html'; |
OlderNewer