- Some utilities:
sudo apt-get install vim tmux git- Copy/paste from the command line:
sudo apt-get install xclip| rake db:migrate --trace | |
| (in /home/calas/dev/spree/testing_blah) | |
| ** Invoke db:migrate (first_time) | |
| ** Invoke environment (first_time) | |
| ** Execute environment | |
| Loading haml-edge gem. | |
| [find_by_param error] database not available? | |
| [find_by_param error] database not available? | |
| rake aborted! | |
| Mysql::Error: Table 'testing_spree_dev.users' doesn't exist: SHOW FIELDS FROM `users` |
| ;; http://blog.tuxicity.se/elisp/emacs/2010/05/07/clean-up-buffer-or-region-in-emacs.html | |
| (defun clean-up-buffer-or-region () | |
| "Untabifies, indents and deletes trailing whitespace from buffer or region." | |
| (interactive) | |
| (save-excursion | |
| (unless (region-active-p) | |
| (mark-whole-buffer)) | |
| (untabify (region-beginning) (region-end)) | |
| (indent-region (region-beginning) (region-end)) | |
| (save-restriction |
| (defun insert-file-path (file) | |
| "Insert path to file" | |
| (interactive "FPath: ") | |
| (insert (expand-file-name file))) | |
| (global-set-key (kbd "C-c f") 'insert-file-path) | |
| ;; | |
| (defun comment-or-uncomment-current-line-or-region () | |
| "Comments or uncomments current current line or whole lines in region." |
| Run Cucumber features features/static_pages.feature | |
| Using the guard profile... | |
| Disabling profiles... | |
| ... | |
| 1 scenario (1 passed) | |
| 3 steps (3 passed) | |
| 0m4.885s | |
| /home/calas/.rvm/gems/ruby-1.9.2-p136@theproject/gems/rb-inotify-0.8.4/lib/rb-inotify/notifier.rb:183:in `open': No such file or directory - /home/calas/dev/client/theproject/tmp/cache/configuration_120110216-9803-1cy326l.lock (Errno::ENOENT) | |
| from /home/calas/.rvm/gems/ruby-1.9.2-p136@theproject/gems/rb-inotify-0.8.4/lib/rb-inotify/notifier.rb:183:in `entries' |
| [submodule "public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product"] | |
| path = public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product | |
| url = https://github.com/alohaeditor/Aloha-Plugin-Product.git | |
| [submodule "public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save"] | |
| path = public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save | |
| url = https://github.com/alohaeditor/Aloha-Plugin-Save.git | |
| [submodule "public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr"] | |
| path = public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr |
| #!/usr/bin/env bash | |
| apt-get -y update | |
| apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-dev libyaml-dev | |
| cd /tmp | |
| wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2 | |
| tar -xvjf ruby-1.9.3-p194.tar.bz2 | |
| cd ruby-1.9.3-p194/ | |
| ./configure --prefix=/usr/local | |
| make |
| #!/bin/sh | |
| ssh -t $@ 'exec tmux att' || ssh -t $@ 'exec tmux new' |
I hereby claim:
To claim this, I am signing this object: