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
| #!/bin/zsh | |
| export GIT_EDITOR="subl -w" | |
| if [[ -x `which git` ]]; then | |
| # Hub | |
| if [[ -x `which hub` ]]; then | |
| # alias git=hub |
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
| /* ---------------------------------------------------------- */ | |
| /* */ | |
| /* A media query that captures: */ | |
| /* */ | |
| /* - Retina iOS devices */ | |
| /* - Retina Macs running Safari */ | |
| /* - High DPI Windows PCs running IE 8 and above */ | |
| /* - Low DPI Windows PCs running IE, zoomed in */ | |
| /* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
| /* - Android hdpi devices and above */ |
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
| // Still need to work out how to combine rules for numbers | |
| // that share a greatest common factor without the unit-builder | |
| // actually containing the fraction to which they can both be | |
| // reduced. | |
| // Calculate the greatest common factor of two integers | |
| @function gcf($a, $b) { | |
| @if $b == 0 { | |
| @return $a; | |
| } |
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
| authors: | |
| hanzou: | |
| name: Hanzou Hattori | |
| display_name: Hanzou | |
| gravatar: c66919cb194f96c696c1da0c47354a6a | |
| email: hanzou@company.com | |
| web: http://company.com | |
| twitter: company | |
| github: hhattori | |
| jorgen: |
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
| require 'rubygems' | |
| require 'appscript' | |
| # Make sure to open your apps first. Appscript can get ahead of itself and not wait for them to load so it will fail | |
| # Set your dir with AI files and thats it | |
| dirname = "/Users/kenerickson/testCSH" | |
| ai = Appscript.app.by_id('com.adobe.illustrator') | |
| ps = Appscript.app.by_id('com.adobe.photoshop') | |
| # ps = Appscript.app("/Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.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
| /* | |
| NOTE!!!! | |
| The most updated version of this code is here: | |
| https://github.com/scottjehl/iOS-Orientationchange-Fix |
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
| /** | |
| * Polyfill for the vw, vh, vm units | |
| * Requires StyleFix from -prefix-free http://leaverou.github.com/prefixfree/ | |
| * @author Lea Verou | |
| */ | |
| (function() { | |
| if(!window.StyleFix) { | |
| return; |
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
| # Route extension-less URLs to the equivalent *.html file. | |
| # For instance: example.com/about = example.com/about.html | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^([^\.]+)$ $1.html [NC,L] | |
| </IfModule> |
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
| <!-- pass jsonp_callback=foo, where "foo" is the function name --> | |
| <!-- For all public assets from a given user: --> | |
| <script src="https://gimmebar.com/api/v0/public/assets/funkatron.js?jsonp_callback=foo"> | |
| <!-- For all public assets from a given user's collection: --> | |
| <script src="https://gimmebar.com/api/v0/public/assets/funkatron/sports.js?jsonp_callback=foo"> | |
| <!-- See https://gimmebar.com/api/v0#Public for more information on the public (no auth required) methods --> |
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
| /* | |
| * Normalized hide address bar for iOS & Android | |
| * (c) Scott Jehl, scottjehl.com | |
| * MIT License | |
| */ | |
| (function( win ){ | |
| var doc = win.document; | |
| // If there's a hash, or addEventListener is undefined, stop here | |
| if( !location.hash && win.addEventListener ){ |