Skip to content

Instantly share code, notes, and snippets.

View albertorrromero's full-sized avatar

Alberto Romero albertorrromero

View GitHub Profile
@moomoohk
moomoohk / generate_build.py
Created April 7, 2015 12:55
Cactus (http://cactusformac.com/) plugin that generates an external build folder that doesn't overwrite your git files. Perfect for usage with GitHub pages, just stick your .git in the generated build folder.
import distutils.dir_util
import shutil
import os
def copytree(src, dst):
for item in os.listdir(src):
s, d = os.path.join(src, item), os.path.join(dst, item)
if os.path.isdir(s):
shutil.copytree(s, d, False, None)
else:
@henrik
henrik / ios_placeholder.css
Created September 27, 2011 19:22
CoffeeScript/jQuery plugin for iOS style placeholders.
input.placeholding { color: #BBB; }
anonymous
anonymous / gist:1067074
Created July 6, 2011 12:03
/* white button CSS VERSION */
a.button-white-css {
display: inline-block;
vertical-align: middle;
padding: 1px;
line-height: 28px;
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
border-radius: 30px;
-webkit-user-select: none;