This file contains hidden or 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
| #!/usr/bin/env escript | |
| %% -*- erlang -*- | |
| main([]) -> build(compile); | |
| main(Tasks) -> [build(list_to_atom(Task)) || Task <- Tasks]. | |
| build(clean) -> | |
| [ok = file:delete(X) || X <- filelib:wildcard(filename:join("ebin","*"))], | |
| ok = file:del_dir("ebin"); | |
This file contains hidden or 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
| Sonian is looking for an experienced Senior Systems Automation Engineer | |
| to join our team. We are looking for a highly motivated, goal-oriented & | |
| team-focused engineer. | |
| Responsibilities | |
| • Deliver recipies with Chef, Nanite & Cucumber (Ruby). | |
| • Flawless automated maintenence of 100+ node systems. | |
| • Plan automated backups and fail-over configurations. | |
| • Keep centralized logging and monitoring on clusters. | |
| • Work with other Engineers to profile and optimize. |
This file contains hidden or 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
| (when window-system | |
| (color-theme-blackboard) | |
| (when (equal system-type 'darwin) | |
| (setq ispell-program-name "~/Homebrew/bin/aspell") | |
| (dolist (dir '("/usr/local/bin" "/usr/X11/bin" | |
| "~/Homebrew/sbin" "~/Homebrew/bin" | |
| "~/Library/Python/2.6/bin" "~/.gem/ruby/1.8/bin" | |
| "~/bin")) | |
| (let ((path (expand-file-name dir))) | |
| (setenv "PATH" (concat (format "%s:" path) (getenv "PATH"))) |
This file contains hidden or 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
| [11/11/09 1:53:09 PM] Tim Dysinger: gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/tim/src/emacs/src -Dtemacs -g -O2 -Wno-pointer-sign dispnew.c | |
| gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/tim/src/emacs/src -Dtemacs -g -O2 -Wno-pointer-sign frame.c | |
| gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/tim/src/emacs/src -Dtemacs -g -O2 -Wno-pointer-sign scroll.c | |
| gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/tim/src/emacs/src -Dtemacs -g -O2 -Wno-pointer-sign xdisp.c | |
| gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/tim/src/emacs/src -Dtemacs -g -O2 -Wno-pointer-sign menu.c | |
| menu.c: In function ‘Fx_popup_menu’: | |
| menu.c:1076: error: ‘EmacsMenu’ undeclared (first use in this function) | |
| menu.c:1076: error: (Each undeclared identifier is reported only once | |
| menu.c:1076: error: for each function it appears in.) | |
| menu.c:1076: error: ‘pmenu’ undeclared (first use in this function) |
This file contains hidden or 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
| namespace(:git) do | |
| def all | |
| `find . -name .git -type d`.reject {|d| d =~ /.hudson.*/}.each do |prj| | |
| Dir.chdir(File.dirname(File.expand_path(prj))) do |d| | |
| puts(d) | |
| begin | |
| yield | |
| rescue Exception => e | |
| puts(e.message) | |
| end |
This file contains hidden or 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
| say <<EOF | |
| Fitter, happier, more productive, | |
| comfortable, | |
| not drinking too much, | |
| regular exercise at the gym | |
| (3 days a week), | |
| getting on better with your associate employee contemporaries, | |
| at ease, | |
| eating well | |
| (no more microwave dinners and saturated fats), |
This file contains hidden or 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
| namespace(:cookbooks) do | |
| desc "make per-cookbook branches from the opscode cookbook repository" | |
| task(:branch) do | |
| Dir.glob("*").select {|x| FileTest.directory?(x) }.each do |path| | |
| `git checkout master` | |
| `git branch -D #{path}` | |
| `git checkout -b #{path}` | |
| `git filter-branch --tree-filter \ | |
| 'rm -rf .gitignore #{Dir.glob("*").reject {|x| x == path}.join(" ")}' \ | |
| --prune-empty HEAD` |
This file contains hidden or 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
| namespace(:cookbooks) do | |
| # | |
| # This rake script enables merging in public "cookbooks" from | |
| # opscode into your local "chef-repo" | |
| # | |
| # generating per-cookbook branches takes a while. run this task on | |
| # your opscode cookbooks git clone and you'll end up with a zillion | |
| # branches with one cookbook per branch | |
| # | |
| # if you like just skip to "option #2" below to play around with this. |
This file contains hidden or 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 | |
| # 1 - install emacs on the server w/ the same version as your desktop | |
| # cd ~/src/emacs && ./configure --prefix=$HOME --without-x && make install | |
| # 2 - install screen on the server w/ suid bit turned on for multi-user | |
| # sudo chmod 4755 `which screen` | |
| # 3 - start a local emacs daemon on your desktop | |
| # emacs --daemon --eval '(setq server-use-tcp t)' |
This file contains hidden or 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 | |
| # on the laptop add to .emacs | |
| # (setq server-use-tcp t) (server-start) | |
| # then ssh w/ port forwarding to a public box | |
| ssh -R 22:127.0.0.1:43210 dev.sa2s.us | |
| # on the public pairing box | |
| ssh -p 43210 localhost |