Skip to content

Instantly share code, notes, and snippets.

View adamstac's full-sized avatar

Adam Stacoviak adamstac

View GitHub Profile
adamstacoviak@iMac-i7 [11:50:19] [~/Dropbox/Code/Sandbox/test-sassy-buttons]
-> % compass install sassy-buttons
create sass/_sassybuttons.scss
remove .sass-cache/
remove stylesheets/ie.css
remove stylesheets/print.css
remove stylesheets/screen.css
create stylesheets/ie.css
create stylesheets/print.css
create stylesheets/screen.css
@adamstac
adamstac / screen.css
Created August 21, 2011 22:11
Rebound of @allanbranch Typekit Sass mixin (http://pastie.org/2407839)
.museo-100 {
font-family: "museo-sans-1", "museo-sans-2";
font-weight: 100;
font-style: normal;
}
.museo-100-italic {
font-family: "museo-sans-1", "museo-sans-2";
font-weight: 100;
font-style: italic;
@adamstac
adamstac / middleman.term
Created August 20, 2011 10:38
Holy lotsa gems required!
adamstacoviak@iMac-i7 [05:36:17] [~/Dropbox/Code/Sandbox]
-> % gem install middleman
Fetching: eventmachine-0.12.10.gem (100%)
Building native extensions. This could take a while...
Fetching: daemons-1.1.4.gem (100%)
Fetching: thin-1.2.11.gem (100%)
Building native extensions. This could take a while...
Fetching: sinatra-1.2.6.gem (100%)
Fetching: url_mount-0.2.1.gem (100%)
Fetching: http_router-0.8.11.gem (100%)
@adamstac
adamstac / screen.css
Created August 9, 2011 04:54
Faux equal height columns hack using pure CSS / Sass (with jQuery fallback for IE 6 & 7)
.two-columns {
overflow: hidden;
*zoom: 1;
position: relative;
}
.two-columns .column-one, .two-columns .column-two {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
@adamstac
adamstac / .gitignore
Created August 8, 2011 18:12
@avclark Code Sample DRY'ing
.sass-cache
@adamstac
adamstac / screen-min.css
Created July 27, 2011 16:03
A gist to show off SCSS to @webinista. The example comes from http://leaverou.me/2011/03/on-css-preprocessors/
.rotate,#foo,#bar,#baz{-moz-transform:rotate(10deg);-webkit-transform:rotate(10deg);-o-transform:rotate(10deg);-ms-transform:rotate(10deg);transform:rotate(10deg)}#foo{font-size:150%}#bar{background:silver}#baz{background:white}
@adamstac
adamstac / _headings.css.scss
Created July 21, 2011 02:31
Simple Sass mixin example for headings
@mixin heading
(
$color: $pure-yellow,
$font-size: 20px,
$font-weight: normal
)
{
@extend .PFCentroSerifPro-Regular;
color: $color;
font-size: $font-size;
@adamstac
adamstac / gist:1079047
Created July 12, 2011 21:42
serve-1.5.0-term
adamstacoviak:Sandbox/ $ gem install serve [16:40:00]
Fetching: rack-test-0.6.0.gem (100%)
Fetching: tilt-1.3.2.gem (100%)
Fetching: serve-1.5.0.gem (100%)
Successfully installed rack-test-0.6.0
Successfully installed tilt-1.3.2
Successfully installed serve-1.5.0
3 gems installed
adamstacoviak:Sandbox/ $ serve create test-project [16:40:12]
create test-project
@adamstac
adamstac / cinderella-install.term
Created June 8, 2011 07:16
Attempt to install Cinderella (atmos.org/cinderella)
Mini-2:~ sadmin$ curl -L https://github.com/atmos/cinderella/raw/master/bootstrap.sh -o - | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
101 1424 101 1424 0 0 1166 0 0:00:01 0:00:01 --:--:-- 20342
Ensuring we have the latest version of cinderella installed
A first time install takes about 45 minutes on a modern machine
You need to upgrade rubygems to 1.7.2
Cinderella installed successfully
[Fri, 10 Jun 2011 14:15:25 -0500] INFO: *** Chef 0.10.0 ***
[Fri, 10 Jun 2011 14:15:26 -0500] INFO: Setting the run_list to ["homebrew", "homebrew::dbs", "homebrew::misc", "ruby", "ruby::irbrc", "node", "python"] from JSON