Skip to content

Instantly share code, notes, and snippets.

@fredgrott
fredgrott / GWSApp.java
Last active December 25, 2015 16:39
GWSApp class, shows how to use HoloEverywhere FontLoader and other stuff
package gws.grottworkshop.fourandroid;
import gws.grottworkshop.fourandroid.FontLoader.Font;
import gws.grottworkshop.fourandroid.FontLoader.FontCollector;
import gws.grottworkshop.fourandroid.FontLoader.RawFont;
import gws.grottworkshop.fourandroid.util.ImageCacheManager;
import gws.grottworkshop.fourandroid.util.ImageCacheManager.CacheType;
import gws.grottworkshop.fourandroid.util.RequestManager;
import android.app.Application;
@bradmontgomery
bradmontgomery / fabfile.py
Created October 31, 2012 17:25
Sample fabfile used in a django project. Deployment happens via scp from a local directory (long story but I've got apps bundled in a project repo that I want to deploy individually)
from datetime import date
from fabric import colors
from fabric.api import env, local, settings, run, cd
from fabric.context_managers import prefix
from fabric.contrib.files import exists
# Global Variables!
# -----------------
DEFAULT_VENV = 'my_venv'
DEFAULT_VENV_ACTIVATE = "source /path/to/your/.virtualenvs/{0}/bin/activate"
@erikh
erikh / hack.sh
Created March 31, 2012 07:02 — forked from DAddYE/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@becka11y
becka11y / create_project.sh
Created March 1, 2012 20:16
shell script to create Cordova xcode project using Libary version of Cordova
#!/bin/bash
# ############################################################################
#
# MIT licensed
# http://www.opensource.org/licenses/mit-license.php
#
# Script to create a new PhoneGap project from the PhoneGap Template.
# You need to install PhoneGapLib first (through the installer)
# before this script can work.
@mediabounds
mediabounds / floatsign.sh
Last active March 31, 2024 18:43
A small bash script to re-sign iOS applications.
# !/bin/bash
# Copyright (c) 2011 Float Mobile Learning
# http://www.floatlearning.com/
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the