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 | |
// 1. slice psd into rows | |
// 2. slice up rows into columns | |
// 3. export slices, if over 100 images, add a 0 to 2 digit numbers, | |
// so that php loops through in order. | |
// (e.g. image_53.jpg needs to be image_053.jpg) | |
// there's an app called NameChanger which will save you time | |
// http://www.mrrsoftware.com/MRRSoftware/NameChanger.html | |
// 4. set page width and other variables below | |
// 5. run build.php and POW! there's your html! |
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
.stroke(@base: base, @color: color, @shadow-color: shadow-color){ | |
text-shadow: | |
(@base * -1) (@base * -1) 0 @color, | |
@base (@base * -1) 0 @color, | |
(@base * -1) @base 0 @color, | |
@base @base 0 @color, | |
((@base + 1) * -1) ((@base + 1) * -1) 0 @color, | |
(@base + 1) ((@base + 1) * -1) 0 @color, | |
((@base + 1) * -1) (@base + 1) 0 @color, | |
(@base + 1) (@base + 1) 0 @color, |
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
#--- list all hidden files in the current folder | |
alias lh='ls -a | egrep "^\."' | |
# | |
# -------------- SVN | |
# | |
alias svnremovemissing='svn status | grep '^\!' | cut -c8- | while read f; do svn rm "$f"; done' | |
alias svna="svn add . --force" |
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.log = function f(){ log.history = log.history || []; log.history.push(arguments); if(this.console) { var args = arguments, newarr; args.callee = args.callee.caller; newarr = [].slice.call(args); if (typeof console.log === 'object') log.apply.call(console.log, console, newarr); else console.log.apply(console, newarr);}}; | |
(function(a){function b(){}for(var c="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),d;!!(d=c.pop());){a[d]=a[d]||b;}}) | |
(function(){try{console.log();return window.console;}catch(a){return (window.console={});}}()); |