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
ENV["WATCHR"] = "1" | |
system 'clear' | |
def growl(message) | |
growlnotify = `which growlnotify`.chomp | |
title = "Watchr Test Results" | |
puts message | |
image = message.match(/\s0\s(errors|failures)/) ? "~/.watchr_images/passed.png" : "~/.watchr_images/failed.png" | |
options = "-w -n Watchr --image '#{File.expand_path(image)}' -m '#{message}' '#{title}'" | |
system %(#{growlnotify} #{options} &) |
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
zenity --entry --width=500 --text=Todo: | xargs todo.sh add |
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 | |
todo.sh -p list | sed -r '/(TODO|--).*/d' | sed -r 's/([0-9]+)\s(.*)/\1\ \1\ "\2"/g' | xargs zenity --width 800 --height 600 --list --text=Todo --checklist --column=Done --column=number --column=Task --multiple | sed -r 's/\|/,/g' | xargs todo.sh do |
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/bash.sh (press RETURN) | |
cd ~/svn-trunk | |
# Get the SVN commit message from the git log | |
COMMIT_MESSAGE=`git log -1 --format=oneline` | |
RELEASE_TAG=`date +%Y_%m_%d_%k_%M` | |
echo $RELEASE_TAG | |
RELEASE_URL="https://intrawww.x.ngm.se/ngnews-svn/tags/REL_"$RELEASE_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
#!/bin/bash | |
cd ~/svn-trunk | |
# Update from git | |
git pull | |
# Add files that need to be added to svn | |
svn status | grep "^\?" | awk '{print $2}' | xargs svn add |
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/zsh | |
mpc play | |
sleep 1500 | |
zenity --info --text "Pomodoro paus" & | |
mpc pause | |
mplayer ~/music/sounds/ting.mp3 |
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
plugin 'make_resourceful', :git => 'git://github.com/hcatlin/make_resourceful.git' | |
gem 'paperclip' | |
gem 'haml' | |
gem 'shoulda' | |
gem 'factory_girl' | |
gem 'cucumber' | |
############## commands ################# |
NewerOlder