Greg Donald gdonald

View pom.xml
1 2 3 4 5 6 7 8 9 10
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
View gist:7672715
1 2 3 4 5 6 7 8 9 10
alias ls='ls -ah --color=always'
alias ll='ls -lavh --color=always'
alias cp='cp -i'
alias vi='/usr/bin/emacs'
alias ..='cd ..'
alias ...='cd ../..'
 
Black="\[\033[0;30m\]"
DarkGray="\[\033[1;30m\]"
LightGray="\[\033[0;37m\]"
View .muttrc
1 2 3 4 5 6 7 8 9 10
# basic .muttrc for use with Gmail
# Change the following six lines to match your Gmail account details
set imap_user = "username@gmail.com"
set imap_pass = ""
set smtp_url = "smtp://username@smtp.gmail.com:587/"
set smtp_pass = ""
set from = "username@gmail.com"
set realname = "Firstname Lastname"
#
View file1.py
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env python
 
DB_NAME = "my_db"
 
from subprocess import Popen, PIPE
import re
 
exclude = [ 'tablename', 'rows' ]
tp = re.compile( '[^a-z_]' )
ts = Popen( [ "/usr/bin/psql", DB_NAME, "-c SELECT tablename FROM pg_tables WHERE tablename NOT LIKE 'pg_%' AND tablename NOT LIKE 'sql_%' ORDER BY tablename" ], stdout=PIPE ).communicate()[ 0 ].split( ' ' )
Something went wrong with that request. Please try again.