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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
if [[ ! -z "$PS1" ]] ; then | |
# don't put duplicate lines in the history. See bash(1) for more options | |
#export HISTCONTROL=ignoredups | |
# check the window size after each command and, if necessary, |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
if [[ ! -z "$PS1" ]] ; then | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# don't overwrite GNU Midnight Commander's setting of `ignorespace'. | |
HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups | |
# ... or force ignoredups and ignorespace |
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
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 | |
# set PATH so it includes user's private bin if it exists |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
[[ ! -z "$PS1" ]] ; then | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# don't overwrite GNU Midnight Commander's setting of `ignorespace'. | |
HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoreboth |
This file has been truncated, but you can view the full file.
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
UPDATE clinical_site_assignments set site_id=1 where id=1; | |
UPDATE clinical_site_assignments set site_id=2 where id=2; | |
UPDATE clinical_site_assignments set site_id=2 where id=3; | |
UPDATE clinical_site_assignments set site_id=2 where id=4; | |
UPDATE clinical_site_assignments set site_id=2 where id=5; | |
UPDATE clinical_site_assignments set site_id=2 where id=6; | |
UPDATE clinical_site_assignments set site_id=2 where id=7; | |
UPDATE clinical_site_assignments set site_id=2 where id=8; | |
UPDATE clinical_site_assignments set site_id=2 where id=9; | |
UPDATE clinical_site_assignments set site_id=2 where id=10; |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
if [[ ! -z "$PS1" ]] ; then | |
export PS1='\u@\h:\w$ ' | |
umask 022 | |
# Bash Completion | |
if [[ -f ~/.bash_completion ]] ; then . ~/.bash_completion; fi | |
# Prompt Settings | |
if [[ -f ~/.bash_styles ]] ; then . ~/.bash_styles old; fi |
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
# Check for an interactive session | |
if [[ ! -z "$PS1" ]] ; then | |
alias ls='ls --color=auto' | |
PS1='[\u@\h \W]\$ ' | |
fi | |
# RVM | |
if [[ -s /home/cremes/.rvm/scripts/rvm ]] ; then source /home/cremes/.rvm/scripts/rvm ; fi |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
if [ -n "$PS1" ] ; then | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
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
apillet@russell:~$ cat foo.rb | |
FOO = 123 | |
apillet@russell:~$ irb | |
ruby-1.9.2-preview1 > $:.unshift(Dir.pwd) | |
ruby-1.9.2-preview1 > require 'foo' |
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
rvm --create use default@myproject | |
[[ -s myproject.gems ]] && rvm gemset import myproject.gems | |
command -v bundle && bundle install |