Skip to content

Instantly share code, notes, and snippets.

View wayneeseguin's full-sized avatar
🤪

Wayne E Seguin wayneeseguin

🤪
View GitHub Profile
# ~/.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
HISTCONTROL=ignoreboth
# ~/.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,
# ~/.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
# ~/.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
# ~/.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.
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;
# 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
# ~/.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
# ~/.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
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'