Skip to content

Instantly share code, notes, and snippets.

View killtheliterate's full-sized avatar

Garrett Dawson killtheliterate

View GitHub Profile
$sprites: sprite-map("sprites/*.png");
$sprites-retina: sprite-map("sprites-retina/*.png");
@mixin sprite-background($name) {
background-image: sprite-url($sprites);
background-position: sprite-position($sprites, $name);
background-repeat: no-repeat;
display: block;
height: image-height(sprite-file($sprites, $name));
width: image-width(sprite-file($sprites, $name));
@killtheliterate
killtheliterate / gist:5904551
Last active December 19, 2015 05:29
Dapper Drupal - Reference for a presentation by myself and @pixel_whip
Links presented in http://bit.ly/11Unm7E
Photo Credits:
Slide 1 - http://bit.ly/141n1US
Slide 4 - http://bit.ly/12ifyN0
Folks I talked with:
Stanford Web Services - http://stanford.io/16qmvQA
Kalamuna - http://bit.ly/19fE7E5
Code Enigma - http://bit.ly/14QwLSQ
@killtheliterate
killtheliterate / gist:5646655
Last active April 8, 2020 17:37
Mixin for applying svg sprites with png fallback. $icon-sprites adheres to the compass sprites naming convention, so be mindful that "icon" is dependent on your directory structure and names. See http://bit.ly/15yEcAW
@killtheliterate
killtheliterate / CMakeCache.txt
Created April 19, 2012 16:29
Homebrew log file
# This is the CMakeCache file.
# For build in directory: /tmp/homebrew-mysql-5.5.20-tanT/mysql-5.5.20
# It was generated by CMake: /usr/local/Cellar/cmake/2.8.8/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
@killtheliterate
killtheliterate / brew -v install mysql
Created April 19, 2012 14:29
Output of brew -v install mysql
Homebrew 0.9
==> Downloading http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.20.tar.gz
Already downloaded: /Users/killtheliterate/Library/Caches/Homebrew/mysql-5.5.20.tar.gz
/usr/bin/tar xf /Users/killtheliterate/Library/Caches/Homebrew/mysql-5.5.20.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file scripts/mysql_config.sh
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.20 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/mysql/5.5.20/share/man -DINSTALL_DOCDIR=/usr/local/Cellar/mysql/5.5.20/share/doc/mysql -DINSTALL_INFODIR=/usr/local/Cellar/mysql/5.5.20/share/info -DINSTALL_MYSQLSHAREDIR=share/mysql -DWITH_SSL=yes -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DSYSCONFDIR=/usr/local/etc -DWITH_UNIT_TESTS=OFF -DWITH_READLINE=yes
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.20 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/mysql/5.5.20/share/man -DINSTALL_DOCDIR=/usr/local/Cellar/mysql/5.