###Setting up a Google Cloud Git Repo
// now with SourceTree bonus!
*Note: this guide is relavent only to repos natively hosted on Google Cloud
**Prereq:** - OSX - SourceTree - git - A Google App Engine / Cloud project
Verifying that +dustintheweb is my openname (Bitcoin username). https://onename.io/dustintheweb |
@font-face { | |
font-family:"FontName"; | |
src:url("fonts/fontname.eot"); | |
src:url("fonts/fontname.eot?#iefix") format("eot"),url("fonts/fontname.woff") format("woff"),url("fonts/fontname.ttf") format("truetype"),url("fonts/fontname.svg#fontname") format("svg"); | |
font-weight: 400; | |
font-style: normal; | |
} | |
@media screen and (-webkit-min-device-pixel-ratio:0) { // android fix | |
@font-face { | |
font-family:"FontName"; |
for(var g in window) { | |
if(window.hasOwnProperty(g)) console.log(g); | |
} | |
// replace window with custom namespace if needed |
application: your-app-cdn | |
version: 1 | |
api_version: 1 | |
runtime: python27 | |
threadsafe: true | |
handlers: | |
# web files | |
- url: /(.*\.css) | |
mime_type: text/css |
###Setting up a Google Cloud Git Repo
// now with SourceTree bonus!
*Note: this guide is relavent only to repos natively hosted on Google Cloud
application: your-app-name | |
version: 1 | |
runtime: python27 | |
api_version: 1 | |
threadsafe: true | |
default_expiration: "30d" | |
handlers: | |
# web files |
## First Run: | |
----------------------- | |
/// Add Project Dependencies | |
Homebrew | |
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" | |
Success? |
var timer = setTimeout(function() { | |
// code stuffs | |
clearTimeout(timer); | |
}, 500); |
Modernizr.load([{ | |
load: [ | |
'//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' | |
], | |
complete: function() { | |
if (!window.jQuery) { | |
console.log('## CDN Failed - Loading local version of jQuery.'); | |
Modernizr.load('/js/jquery.min.js'); | |
}; | |
} |
// ImageMagick - Convert SVG to PNG w/ transparency | |
// | |
// - open terminal | |
// | |
// - confirm you have imagemagick installed | |
// --- type: convert -v | |
// | |
// - cd to folder | |
// | |
// - single file |