Moved to https://github.com/killtheliterate/svg-sprites
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
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. |
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
# 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!. |
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
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 |
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
$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)); |
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
function voff() { | |
DATVM=`VBoxManage list runningvms | awk '{gsub(/"/, "", $1); print $1}'` | |
VBoxManage controlvm $DATVM poweroff | |
} |
This recommendation is motivated by the fact that a common code style will reduce extraneous git diffs caused by formatting differences. The git log will be more parseable.
A pre-commit hook is the appropriate hook to use for validating code changes before committing. We can use a precommit hook to:
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
(function(first) { | |
return function(second) { // this function is a closure, as it closes around its containing scope | |
return first + second; | |
} | |
}(1)(1)); |
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
'these are some words that i want to search for a thing, and i am searching, yea, searching'.match(new RegExp('thing')).length; |
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
var counter = function(wordToCount, findIn) { | |
return findIn.match(new RegExp(wordToCount, 'g')).length; | |
}; |
OlderNewer