Skip to content

Instantly share code, notes, and snippets.

Darwin yorb

Block or report user

Report or block yorb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nateroling / deploy.addendum.rb
Last active Jul 15, 2016
Roots Bedrock: Copy production assets for Roots theme
View deploy.addendum.rb
# The Roots theme by default does not check production assets into Git, so
# they are not deployed by Capistrano when using the Bedrock stack. The
# following will compile and deploy those assets. Copy this to the bottom of
# your config/deploy.rb file.
# Based on information from this thread:
# and specifically this gist from christhesoul:
matthewspencer /
Created Feb 13, 2014
Install Composer on Webfaction
cd $HOME
ln -s `which php54` ~/bin/php
export PATH=$HOME/bin:$PATH
curl -sS | php54
echo -e "\n# Composer\nalias composer=\"php54 \$HOME/composer.phar\"" >> $HOME/.bash_profile
source $HOME/.bash_profile
labodj / Output Android Assets.jsx
Created Oct 10, 2012 — forked from tlinkner/Output Android Assets.jsx
Photoshop script to output Android XHDPI, HDPI, MDPI, LDPI PNGs from XHDPI PNG or PSD Sources
View Output Android Assets.jsx
// Output Android Assets.jsx
// 2012 Jacopo Labardi
// License: none (public domain)
// v1.1
// The Original script is made by Todd Linkner, but I found it quite buggy
// I modified it to correct some bugs
// This scrip is for Photoshop CS6 only (32 & 64bit).
// It outputs Android XHDPI, HDPI, MDPI, and LDPI PNG assets
scottjehl / getViewportSize.js
Created Mar 16, 2012
Reliably get viewport dimensions in JS
View getViewportSize.js
An experiment in getting accurate visible viewport dimensions across devices
(c) 2012 Scott Jehl.
MIT/GPLv2 Licence
function viewportSize(){
var test = document.createElement( "div" ); = "position: fixed;top: 0;left: 0;bottom: 0;right: 0;";
You can’t perform that action at this time.