6. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
7. Not a bad thing!
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
8. Laziness – The quality that makes you go to great effort to
reduce overall energy expenditure. It makes you write labor-
saving programs that other people will find useful, and
document what you wrote so you don't have to answer so
many questions about it. Hence, the first great virtue of a
programmer.
http://en.wikipedia.org/wiki/Larry_Wall
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
9. “Progress isn't made by early risers. It's
made by lazy men trying to find easier
ways to do something.”
Robert A. Heinlein
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
11. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
12. Skylight
http://www.candylabs.com/skylight
Launchy
http://www.launchy.net/
http://pylaunchy.sourceforge.net/docs/
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
13. Gnome Launch Box
https://live.gnome.org/
Gnome Do
http://do.davebsd.com/
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
14. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
15. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
16. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
17. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
18. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
19. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
20. cd !!
cp !$
less which
lsrm
pwd cat
find grep
pushd / popddirs -v
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
21. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
23. zsh, bash format
alias d="dirs -v"
tcsh format
alias d 'dirs -v'
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
24. alias tokitt 'scp !* ki.tt:kitt-images; echo "https://kitt.hodsden.org/images/!*"'
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
25. % cd /home/takethelongroad/path/to/interesting/location
% cd ../../another/interesting/location
% cd ../../../back/to/another/place
% cd ../../../../another/interesting/location
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
26. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
27. cd ..
..
ls -al
lsl
ll
mkdir -p
md
psg
ps -ef | grep !$
hg
history | grep !$
find . -name $*
ff
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
28. alias gen_ctags='/usr/local/bin/ctags --
langmap=php:.engine.inc.module.theme.php.install.test.pr
ofile --php-kinds=cdfi --languages=php --recurse --
exclude=".git" --exclude=".svn" --exclude=".hg" --
exclude=".bzr" --exclude="CVS" --totals=yes --tag-
relative=yes --regex-PHP="/abstracts+classs+([^ ]+)/1/c/"
--regex-PHP="/interfaces+([^ ]+)/1/c/" --regex-
PHP="/(publics+|statics+|abstracts+|protecteds+|priva
tes+)functions+&?s*([^ (]+)/2/f/"'
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
35. # mhdommondow command
# every seventh minute, every day
*/7 * * * * /usr/bin/example -arg
# run ping and ls at noon and midnight on the 1st day of every 2nd month
# output the commands into the log file /var/log/cronrun.
0 0,12 1 */2 * /sbin/ping -c 192.168.0.1; ls -la >>/var/log/cronrun
# third monday of every month at 4 am
0 4 15-21 * 1 /command
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
37. % at 1220 jul 14
at> ~/bin/tweet "I am now speaking at #owc12 about
the "at" command. I hope I timed it well."
at> ^D
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
38. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
39. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
40. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
41. M-x (
<do commands that will be repeated>
M-x )
meta-x open-paren
<do commands that will be repeated>
meta-x close-paren
flower x shift 9
<do commands that will be repeated>
flower x shift 0
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
42. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
48. Cake
http://book.cakephp.org/1.3/view/1522
/Code-Generation-with-Bake
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
49. Drupal
http://drupal.org/project/easy_module
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
50. Symfony
http://symfony.com/doc/current/book/p
age_creation.html
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
51. Django
https://github.com/debrice/djangogener
ator
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
52. Rails
http://guides.rubyonrails.org/command
_line.html
http://guides.rubyonrails.org/getting_st
arted.html
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
53. Ruby
http://doc.zeroc.com/display/Ice/Code+
Generation+in+Ruby
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
54. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
55. automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012
56. Hudson / Jenkins / CI
automate ALL THE THINGS :: kitthodsden : @kitt ::open web camp 2012