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 | |
# | |
# this pre-commit script uses compass to compile and compress stylesheet partials | |
compass compile wp-content/themes/mytheme/ -s compact --force --no-line-comments | |
wait $! | |
git add wp-content/themes/mytheme/style.css |
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
window.Squares = function(self) | |
{ | |
/* TODOS: | |
- animate? collect squares or just overdraw on the same grid | |
*/ | |
Sq = function() | |
{ | |
this.timer; | |
this.sqD = 64; |
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
Show hidden characters
{ | |
"cmd": ["sass", "--update", "$file_name", "-C", "--load-path=scss"], | |
"working_dir": "$file_path", | |
"selector": "source.sass" | |
} |
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
LERERM ERPSERM DERLER SERT ERMAHT, CERNSERCTERTER ERDERPERSERCIN ERLERT, SERD DER ERSMAHD TERMPER ERNCERDERDERNT ERT LERBER ERT DERLER MAHGN ERLERQER. ERT ERNERM ERD MAHNERM VERNERM QERS NERSTRERD ERXERCERTERTERN ERLERMC LERBERERS NERS ERT ERLERQERP ERX ER CERMAHDER CERNSERQERT. DERS ERT ERER DERLER ERN RERPRERERNDERERT ERN VERLERPTERT VERLERT ERSER CERLERM DERLER ER FERGERT NERL PERERTER. ERXCERPTER SERNT ERCERCERT CERPEDERTERT NERN PRERDERNT, SERNT ERN CERLP QER ERFERCER DERSERERNT MAHLERT ERNERM ERD ERST LERBERERM. |
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
add_action('restrict_manage_posts','my_restrict_manage_posts'); | |
function my_restrict_manage_posts() | |
{ | |
global $typenow, $wp_query; | |
if ($typenow=='post') | |
{ | |
$current_tag = $wp_query->query_vars['tag']; |
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
<button class="btn btn--primary">Primary button</button> | |
<button class="btn btn--secondary">Secondary button</button> |
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
a proposal for how to structure team meetings. | |
goals: to make sure you have something to talk about, everyone is represented, and a topic does not get dropped. | |
rules: | |
i. have team meetings. always have team meetings. | |
ii. write topics on a whiteboard. this is important. make sure everyone knows that they can add | |
another topic at any time. |
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 breakpoints made with Neat grids. | |
$medium-screen: new-breakpoint(min-width 640px 12); | |
$bigger-screen: new-breakpoint(min-width 910px 12); | |
$hugest-screen: new-breakpoint(min-width 1200px 12); | |
// to use: put this div at the top of your page | |
// <div id="sizer"></div> | |
#sizer { | |
font-size: 0.5em; |
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
doskey gfo=git fetch origin | |
doskey gs=git status $* | |
doskey ga=git add $* | |
doskey gp=git pull $* | |
doskey gd=git diff $* | |
doskey gb=git branch $* | |
doskey gco=git checkout $* | |
doskey gm=git merge $* | |
doskey fts=git reset --hard origin |