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
# oneliner | |
for m in $(git status -s . | cut -c 4- | cut -d'/' -f1 | sort -u); do git status -s $m; read -p "Are you sure you want to add it? [y/N]" -n 1 -r; echo; if [[ $REPLY =~ ^[Yy]$ ]]; then git add -A "$m"; git commit -m "${m}: updated module"; fi; done | |
for module in $(git status -s . | cut -c 4- | cut -d'/' -f1 | sort -u); do | |
git status -s $module | |
read -p "Are you sure you want to add it? [y/N]" -n 1 -r | |
echo | |
if [[ $REPLY =~ ^[Yy]$ ]]; then | |
git add -A "$module" | |
git commit -m "${module}: updated module" |
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
; The official HD AI | |
; An Artificial Intelligence Script written by Archon and Promiskuitiv | |
; Get in contact with Promiskuitiv by sending a mail to neuernamae@web.de | |
; List of taunts it reacts to: | |
; Standard taunts. | |
; 33 - Stop slinging resources. If slinging is requested early and is immediately canceled it may mess up the strategy. | |
; 38 - Sling Resources. Human player only, stops any unit production except for civilian units. |
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
# How to Create Custom WordPress Write/Meta Boxes | |
http://wp.tutsplus.com/tutorials/plugins/how-to-create-custom-wordpress-writemeta-boxes/ | |
# Three Practical Uses for Custom Meta Boxes | |
http://wp.tutsplus.com/tutorials/three-practical-uses-for-custom-meta-boxes/ | |
# Developing BuddyPress Themes – Part 1 : Working with the BuddyPress API and Loops | |
http://wp.tutsplus.com/tutorials/developing-buddypress-themes-part-1-working-with-the-buddypress-api-and-loops/ |
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
$list: harka hirvi kala kalkkuna kana kasvis nauta poro sika; | |
width: sprite-sprite-width(harka-small); | |
height: sprite-sprite-height(harka-small); | |
@each $img in $list { | |
&.#{$img} { @include sprite-sprite(#{$img}-small); } | |
} |
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
for i in *; do name=$(echo $i | sed 's/\.png/-small\.png/g'); mv $i $name; done |