This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Greg Logo + bg | |
*/ | |
background: #f06; | |
background: linear-gradient(center, circle cover, rgba(171, 171, 171, 0.7), #0000ff 33%); | |
min-height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Greg Logo + bg | |
*/ | |
body { background: #e5e5e5; } | |
#logo { background: red; height: 96px; width: 96px; position: absolute; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-BEFORE CK Sass compile- | |
.abc { color: purple; }/*! comment */ | |
-AFTER CK Sass compile- | |
.abc { | |
color: purple; } | |
/* comment */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Greg Logo + bg | |
*/ | |
body { background: #e5e5e5; } | |
#logo { background: red; height: 32px; width: 32px; position: absolute; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* FizzBuzz with CSS | |
*/ | |
body { | |
counter-reset: fizzbuzz; | |
} | |
div { |
OlderNewer