Skip to content

Instantly share code, notes, and snippets.

sjohnson@li213-89:~/busket/tmux-1.8$ make
gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\" -DPACKAGE_VERSION=\"1.8\" -DPACKAGE_STRING=\"tmux\ 1.8\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\" -DVERSION=\"1.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CURSES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_PATHS_H=1 -DHAVE_PTY_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_TERM_H=1 -DHAVE_B64_NTOP=1 -DHAVE_FORKPTY=1 -DHAVE_DAEMON=1 -DHAVE_SETENV=1 -DHAVE_ASPRINTF=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_DECL_OPTARG=1 -DHAVE_DECL_OPTIND=1 -DHAVE_DECL_OPTRESET=0 -DHAVE_BZERO=1 -DHAVE_DIRFD=1 -DHAVE_SYSCONF=1 -DHAVE_BSD_TYPES=1 -DHAVE___PROGNAME=1 -DHAVE_PROC_PID=1 -I. -iquote. -I/usr/local/include -I/home/sjohnson/busket/libevent-2.0.21-stable/include -I/home/sjohnson/busket/ncurses-5.9/include -D_GNU_SOURCE -
sjohnson@web1:~/http$ alias | grep listinterface_git
alias ff='listinterface_git --single-processing '\''gitdiffvi --warn-over-limit'\'''
alias flabs='listinterface_git --batch-processing abs'
alias fld2l='listinterface_git --batch-processing '\''live2dev.pl --reverse'\'''
alias fldbodo='listinterface_git --batch-processing dbodo'
alias flga='listinterface_git --batch-processing '\''git add'\'''
alias flgc='listinterface_git --batch-processing '\''git commit'\'''
alias flgchk='listinterface_git --batch-processing '\''git checkout'\'''
alias flgd='listinterface_git --batch-processing '\''git diff'\'''
alias flgrm='listinterface_git --batch-processing '\''git rm'\'''
sjohnson@web1:~/bin$ get str !
Input type: string
as string: [!]
as hex: 0x21
as decimal: 33
as binary: 0b100001
<?php
# when sjohnson hits 'o' on the code below, it "nest-indents"
if (true) { blah(); }
# on this code line however, it doesn't intend at all (good)
if (true) { blah(); }
# ---
# /etc/zsh/zshrc: system-wide .zshrc file for zsh(1).
#
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#
# Global Order: zshenv, zprofile, zshrc, zlogin
READNULLCMD=${PAGER:-/usr/bin/pager}
sjohnson@web1:~/http$ type man
man is a function
man ()
{
if /usr/bin/man "$@" > /dev/null 2>&1; then
/usr/bin/man "$@" | vi - -R;
else
/usr/bin/man "$@";
fi
}
sjohnson@web1:~$ history | tail
1207 mb rpkergp regperk geropkgrepkgo
1208 mb B4E-1351716775-0.xls B4E-small.xls
1209 echo $PS1 | md5sum
1210 history
1211 stuff
1212 blah
1213 cheese
1214 history | tail | hd
1215 vi
sjohnson@web1:/tmp/sjohnson$ cat osse.txt
sjohnson osse
a b
sjohnson@web1:/tmp/sjohnson$ for i in {0..5} ; do cat osse.txt | tab --spaces=$i ; done
sjohnsonosse
a b
sjohnson osse
a b
sjohnson osse
a b
$datetext{string} = strftime "%Y-%B-%d (%A)", localtime;
sub isDateAlreadyWritten {
my $ret = 0;
my $bw = File::ReadBackwards->new($log_file);
until ($bw->eof) {
my $line = $bw->readline;
chomp($line);
<?php
if (osse.cute == true) {
// if (osse.bugger == true) {
print ":)";
}
?>