This file contains hidden or 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
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 | |
} |
This file contains hidden or 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
# /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} |
This file contains hidden or 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
<?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(); } | |
# --- |
This file contains hidden or 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
sjohnson@web1:~/bin$ get str ! | |
Input type: string | |
as string: [!] | |
as hex: 0x21 | |
as decimal: 33 | |
as binary: 0b100001 |
This file contains hidden or 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
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'\''' |
This file contains hidden or 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
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 - |
This file contains hidden or 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
sjohnson@web1:/tmp/sjohnson/email-problems$ diff good.txt bad.txt | |
1c1 | |
< 220 mail119c7.megamailservers.com ESMTP Sendmail Tue, 4 Jun 2013 16:40:03 -0400 | |
--- | |
> 220 mail129c7.megamailservers.com ESMTP Sendmail Tue, 4 Jun 2013 16:41:53 -0400 | |
5c5 | |
< 250-mail119c7.megamailservers.com Hello [184.71.101.42], pleased to meet you | |
--- | |
> 250-mail129c7.megamailservers.com Hello [184.71.101.42], pleased to meet you | |
101c101,102 |
This file contains hidden or 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
twkm test |
This file contains hidden or 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
2013-08-23 18:49:13 SWW13 are any devs around here? | |
2013-08-23 18:49:40 sjohnson yes. | |
2013-08-23 18:53:02 SWW13 have you thought about switching from sourceforge to another source code provider? i have downlaoded fillezilla some minutes ago and i have installed with some "maleware" with the sourcefotge downloader without seeing any checkbox to not install it. filezilla is nice but an maleware installer from sourceforge doesn't looks that nice :/ | |
2013-08-23 18:53:26 sjohnson i am not a dev. | |
2013-08-23 18:53:42 sjohnson i have heard a few complaints about this though. | |
2013-08-23 18:54:27 SWW13 oh, but i would like to hear if there is an reason why they don't switch | |
2013-08-23 18:54:52 sjohnson ask codesquid_ | |
2013-08-23 18:54:59 sjohnson (well, he'll probably see what you just wrote.) | |
2013-08-23 18:55:11 @codesquid_ hi | |
2013-08-23 18:55:20 SWW13 after the ping, i think he did |
This file contains hidden or 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
use 5.010; | |
my $string_base = '<img src="%u.jpg" />'; | |
my $start = @ARGV[0]; | |
my $end = @ARGV[1]; | |
for ($start .. $end) { | |
printf("$string_base\n", $_); | |
} |