Skip to content

Instantly share code, notes, and snippets.

View ggamel's full-sized avatar
👁️
 👄  👁

Greg Gamel ggamel

👁️
 👄  👁
View GitHub Profile
@ggamel
ggamel / install.sh
Created September 12, 2011 21:17
New Machine Setup
#!/bin/sh
# Usage: bash < <(curl -s https://raw.github.com/gist/1212463/install.sh)
if [ ! -d "/Applications/Xcode.app" ]; then
echo "Please install Xcode first. Exiting."
exit 1
fi
# Have sudo ask us for our password before we kick everything off so we can walk away.
sudo echo "Here we go..."
@ggamel
ggamel / op-error.log
Created September 23, 2011 22:35
Octopress setup error
Last login: Fri Sep 23 16:21:51 on ttys000
➜ ~ cd ~/Design/Greg.is/
➜ Greg.is ls -als
total 0
0 drwxr-xr-x 3 ggamel staff 102 Sep 22 17:49 .
0 drwxr-xr-x 3 ggamel staff 102 Sep 22 17:48 ..
0 drwxr-xr-x 16 ggamel staff 544 Sep 22 17:49 octopress
➜ Greg.is rm -rf octopress
➜ Greg.is ls
➜ Greg.is ls -als
@ggamel
ggamel / dabblet.css
Created January 4, 2012 16:22 — forked from LeaVerou/dabblet.css
Lined paper that follows the text
/**
* Lined paper that follows the text
* Support: Chrome, FF 3.6+, Saf 5.1+, Opera 11.50+, IE10
*/
/* Just decorative */
padding: 20px;
/* The font. Try changing font-size and see how the lines
@ggamel
ggamel / new_vimeo_ctp.html
Created February 14, 2012 21:17
Vimeo page code for Old vs New Vimeo w/CTP enabled
<!-- New Vimeo + CTP -->
<html lang="en">
<head>
<script src="http://a.vimeocdn.com/p/1.4.11/js/swfobject.v2.2.js"></script>
<meta charset="utf-8">
<title>A Week In Montana</title>
<!--[if lt IE 9]><style>.a.d .ab {display: block;}.a.d .bp {background: #000;filter: alpha(opacity='70');}</style><![endif]-->
<style>
body, html,.f {overflow: hidden;padding: 0;margin: 0;width: 100%;height: 100%;background: transparent;}.f > div {width: 100%;height: 100%;}.f .t .at,.f .t .b {visibility: hidden !important;}.f .t .k,.f .t .j,.f .t .b {opacity: 0;filter:alpha(opacity=0);}.f .ab {position: absolute;left: 0;top: 0;z-index: 1;width: 100%;height: 100%;background-position: 50% 50%;background-repeat: no-repeat;background-color: #000;-webkit-background-size: 100% auto;-moz-background-size: 100% auto;background-size: 100% auto;}.by.t .ab + div {position: absolute;z-index: 2;opacity: 1 !important;}.f .x,.f .w {background: #000;}.f .x .ab {-webkit-background-size: auto 100% !important;-moz-background-size: auto 100% !im
@ggamel
ggamel / rsync.sh
Created March 22, 2012 15:59 — forked from desandro/rsync.sh
basic rsync
# sync up
rsync -rav -e "ssh -l username" /local/path/ server.com:path/
# sync down
rsync -rav -e "ssh -l username" server.com:path/ /local/path/
@ggamel
ggamel / dabblet.css
Created March 25, 2012 03:49
Greg Logo + bg
/**
* Greg Logo + bg
*/
background: #f06;
background: linear-gradient(center, circle cover, rgba(171, 171, 171, 0.7), #0000ff 33%);
min-height: 100%;
@ggamel
ggamel / dabblet.css
Created March 27, 2012 02:25
Greg Logo + bg
/**
* Greg Logo + bg
*/
body { background: #e5e5e5; }
#logo { background: red; height: 96px; width: 96px; position: absolute; }
@ggamel
ggamel / cksass-compile.css
Created April 27, 2012 13:50
CodeKit + Sass single-line comment strangeness
-BEFORE CK Sass compile-
.abc { color: purple; }/*! comment */
-AFTER CK Sass compile-
.abc {
color: purple; }
/* comment */
@ggamel
ggamel / dabblet.css
Created April 28, 2012 02:46
Greg Logo + bg
/**
* Greg Logo + bg
*/
body { background: #e5e5e5; }
#logo { background: red; height: 32px; width: 32px; position: absolute; }
@ggamel
ggamel / dabblet.css
Created May 7, 2012 17:27 — forked from jackie/dabblet.css
FizzBuzz with CSS
/**
* FizzBuzz with CSS
*/
body {
counter-reset: fizzbuzz;
}
div {