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/blah$ rar x stuff.rar ; echo "errorlevel: $?" | |
RAR 5.00 beta 8 Copyright (c) 1993-2013 Alexander Roshal 22 Aug 2013 | |
Trial version Type RAR -? for help | |
Extracting from stuff.rar | |
Extracting bad.txt OK | |
Extracting text.txt 69% |
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
# y u no work | |
sjohnson@web1:~/http$ find . -xdev -a \( -path ./template_c -a -prune \) -o \( -type f -a \( -iname "*.php" -o -iname "*.pl" -o -iname "*.tpl" \) -a print \) > job2.txt | |
find: paths must precede expression: print | |
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] |
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/findex$ find . \( -type d -a -name bork \) -o -print | |
. | |
./foo | |
./foo/bar | |
./foo/baz | |
./foo/blarg | |
./foo/blarg/bork | |
./bork/bar | |
./bork/foo | |
sjohnson@web1:/tmp/sjohnson/findex$ find . -print |
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
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c | |
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -prototypes -typemap \ | |
/usr/share/perl/5.10/ExtUtils/typemap if_perl.xs >> auto/if_perl.c | |
Undefined subroutine &ExtUtils::ParseXS::errors called at /usr/share/perl/5.10/ExtUtils/xsubpp line 41. | |
make[1]: *** [auto/if_perl.c] Error 255 | |
make[1]: Leaving directory `/tmp/tmpfs/sjohnson/vim74/src' | |
make: *** [first] Error 2 |
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
" version 1.0... works fine, been using it for the last 4 years | |
map <leader>z oLogger::log(print_r($<Esc>mta, 1), "/tmp/tmpfs/mikey-log");<Esc>`ta | |
" version 2.0..not so much... | |
map <leader>z :call InsertLoggerStatement(b:current_syntax)<Cr> | |
function InsertLoggerStatement (syn) | |
if a:syn == "php" | |
normal oLogger::log(print_r($ | |
normal <Esc> |
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
#!/usr/bin/perl | |
use 5.010; | |
use warnings; | |
use strict; | |
# Important: This script will ONLY print the image links if both the thumbnail | |
# and original image are found. |
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", $_); | |
} |
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
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
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 |