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
ArgumentError in Dashboard#show | |
Showing /Users/millisami/rails_apps/automation/app/views/dashboard/show.html.haml where line #13 raised: | |
the track method expects :on to be set | |
Extracted source (around line #13): | |
10: %p | |
11: = link_to "Create a new campaign", new_campaign_path, :class => "awesome large orange" |
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
#Copy and paste the following in ~/.bash_profile | |
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
BLUE="\[\033[1;34m\]" | |
LIGHT_RED="\[\033[1;31m\]" | |
LIGHT_GREEN="\[\033[1;32m\]" | |
WHITE="\[\033[1;37m\]" | |
LIGHT_GRAY="\[\033[0;37m\]" |
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
git symbolic-ref HEAD refs/heads/<newbranchname> | |
git rm --cached -r . | |
rm -rf * | |
git commit --allow-empty -m 'Initial new branch' |
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
#!/usr/bin/env ruby | |
## | |
# Originally from http://www.pragmaticautomation.com/cgi-bin/pragauto.cgi/Monitor/StakingOutFileChanges.rdoc | |
# Modified by Geoffrey Grosenbach http://peepcode.com | |
# | |
# Watches files and runs a command when any of them are modified. | |
# | |
# If one argment is given, will run that command and watch app, lib, test, spec. | |
# |
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
export HISTCONTROL=erasedups | |
export HISTSIZE=10000 | |
shopt -s histappend |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by libvorbis configure 1.3.1, which was | |
generated by GNU Autoconf 2.61. Invocation command line was | |
$ ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/libvorbis/1.3.1 | |
## --------- ## | |
## Platform. ## |
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
HOMEBREW_VERSION: 0.7 | |
HEAD: 222cc8338645a8a3c2c745bf787b4669acb5681b | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
HOMEBREW_REPOSITORY: /usr/local | |
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew | |
Hardware: dual-core 64-bit penryn | |
OS X: 10.6.4 | |
Kernel Architecture: i386 | |
Ruby: 1.8.7-174 |
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
ree-1.8.7-2010.02 [~] ➔ brew install ffmpeg | |
==> Downloading http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/usr/local/Cellar/yasm/1.1.0 --disable-debug --disable-dependency-tracking | |
==> make install | |
ln: ./libyasm.h: Permission denied | |
Error: The linking step did not complete successfully | |
The package built, but is not symlinked into /usr/local | |
You can try again using `brew link yasm' | |
Error: Could not create symlink /usr/local/include/libyasm.h. |
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
<VirtualHost *:80> | |
ServerName cas.local | |
DocumentRoot "/Users/millisami/apps/cas/public" | |
RackEnv development | |
# ProxyRequests Off | |
# ProxyPass / http://localhost:11011/ | |
# ProxyPassReverse / http://localhost:11011/ | |
# ProxyPreserveHost on | |
<Directory "/Users/millisami/apps/cas/public"> | |
Order allow,deny |
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
Rspec.configure do |config| | |
# Remove this line if you don't want Rspec's should and should_not | |
# methods or matchers | |
require 'rspec/expectations' | |
config.include Rspec::Matchers | |
# == Mock Framework | |
config.mock_with :rspec | |
end |