Advertising disclosure. wickedpsyched.net has financial partnerships with online casino operators. Some pages include sponsored content, and we may earn a commission if you follow a link to a partner site. 18+ only. Please gamble responsibly.
Small Unix tools each do one job well. The responsible-gambling tools in a casino account are the same: a deposit limit, a reality check and a time-out each solve one problem, and they work best when switched on before you play.
| Attachment | Date | Size |
|---|---|---|
| mtr.gz | 26/07/08 11:27 pm | 32.84 KB |
| aspell.tgz | 06/09/07 3:17 pm | 4.51 MB |
| bjam.gz | 28/12/07 8:04 pm | 69.82 KB |
| bzip.tgz | 12/09/07 4:16 pm | 76.7 KB |
| chgrp.gz | 23/12/07 5:04 pm | 27.72 KB |
| chown.gz | 07/09/07 12:36 pm | 28.74 KB |
| du.gz | 05/10/07 7:07 pm | 48.35 KB |
| ex.tgz | 29/11/07 7:17 pm | 149.58 KB |
| file.tgz | 16/08/07 4:12 pm | 228.86 KB |
| find.gz | 10/08/07 5:24 pm | 103.74 KB |
| frcode.gz | 10/08/07 5:44 pm | 13.22 KB |
| gunzip.tgz | 12/09/07 4:19 pm | 142.48 KB |
| john.tgz | 24/12/07 5:01 pm | 957.8 KB |
| locate.gz | 10/08/07 5:44 pm | 76.31 KB |
| make.gz | 10/08/07 5:44 pm | 108.42 KB |
| passwd.gz | 18/08/07 1:57 pm | 7.71 KB |
| postfix.tgz | 23/12/07 5:43 pm | 3.02 MB |
| pwd_mkdb.gz | 12/08/07 4:53 pm | 6.41 KB |
| sort.gz | 10/08/07 5:44 pm | 35.46 KB |
| svn.tgz | 09/09/07 12:58 pm | 6.82 MB |
| termcap.gz | 29/11/07 6:37 pm | 201.93 KB |
| unzip.tgz | 26/12/07 9:28 pm | 101.72 KB |
| updatedb.gz | 10/08/07 5:44 pm | 3.22 KB |
| uptime.gz | 07/09/07 12:45 pm | 12.66 KB |
| vipw.gz | 12/08/07 4:53 pm | 3.59 KB |
| which.gz | 11/08/07 9:41 am | 8.71 KB |
| xargs.gz | 11/08/07 9:44 am | 21.12 KB |
Notes. MTR For "stumpy": iPhone:~ root# ./mtr --report www.google.com HOST: iPhone Loss% Snt Last Avg Best Wrst StDev 1. 192.168.1.2 0.0% 10 2.0 9.6 1.9 72.4 22.1 [SNIP] 14. 12.88.155.14 66.7% 9 24.4 63.0 20.7 143.8 70.0 15. 216.239.48.110 87.5% 8 23.7 23.7 23.7 23.7 0.0 16. 66.249.95.149 25.0% 8 38.0 37.0 35.1 39.8 1.7 17. ??? 100.0 8 0.0 0.0 0.0 0.0 0.0 18. 209.85.253.161 14.3% 7 46.7 44.4 36.9 50.6 5.3 19. 74.125.47.104 85.7% 7 36.8 36.8 36.8 36.8 0.0 SVN We are missing: _SSL_CTX_set_client_cert_cb in the ssl.dylib so this fails: # ./svn co https://apolloim.googlecode.com/svn/trunk/ apolloim svn: PROPFIND request failed on '/svn/trunk' svn: PROPFIND of '/svn/trunk': SSL negotiation failed: SSL disabled due to library version mismatch (https://apolloim.googlecode.com) non ssl checkouts work though: # ./svn co http://apolloim.googlecode.com/svn/trunk/ apolloim A apolloim/apolloim-0.1 A apolloim/apolloim-0.1/main.m A apolloim/apolloim-0.1/ApolloNotificationController.h A apolloim/apolloim-0.1/SendBox.h A apolloim/apolloim-0.1/ConversationView.h A apolloim/apolloim-0.1/ApolloNotificationController.m A apolloim/apolloim-0.1/nerve.txt A apolloim/apolloim-0.1/SendBox.m ^Csvn: Caught signal And the server code seems to work: # ./svnadmin create testsvn # ls -tlra testsvn total 8 drwxr-xr-x 2 root wheel 136 Sep 9 15:46 locks drwxr-xr-x 2 root wheel 374 Sep 9 15:46 hooks -r--r--r-- 1 root wheel 2 Sep 9 15:46 format drwxr-sr-x 5 root wheel 340 Sep 9 15:46 db drwxr-xr-x 2 root wheel 68 Sep 9 15:46 dav drwxr-xr-x 2 root wheel 170 Sep 9 15:46 conf -rw-r--r-- 1 root wheel 229 Sep 9 15:46 README.txt drwxr-xr-x 4 root wheel 374 Sep 9 15:46 .. drwxr-xr-x 7 root wheel 306 Sep 9 15:46 . # ./svnserve -d -r ./ # ./svn co svn://192.168.1.130/testsvn foo Checked out revision 0. # ls -ltra foo total 0 drwxr-xr-x 5 root wheel 408 Sep 9 15:48 .. drwxr-xr-x 3 root wheel 102 Sep 9 15:48 . drwxr-xr-x 6 root wheel 272 Sep 9 15:48 .svn # touch hello # svn add hello A hello # svn commit --message "testing" --username=harry --password=sally Adding hello Transmitting file data . Committed revision 1. aspell Put the data from spell.tgz above in /opt/iphone/ then you are golden only en_US installed at the moment: # /opt/iphone/bin/aspell -a @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.5) spellngigs wrong & spellngigs 7 0: spellings, spelling's, spelunkers, spelunking, spelunker's, spillages, spillage's * you can install your other dicts from aspell.net like this native on the phone (make and which are available above for this to work) curl ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2 > dict.tbz # setenv PATH /opt/iphone/bin:/usr/bin:/bin/:/usr/sbin # ./configure # make /opt/iphone/bin/prezip-bin -d < en-common.cwl | /opt/iphone/bin/aspell \ --lang=en create master ./en-common.rws /opt/iphone/bin/prezip-bin -d < en-variant_0.cwl | /opt/iphone/bin/aspell \ --lang=en create master ./en-variant_0.rws This is one of my first multi c++/c programs! Many thanks to nightwatch for getting the compiler in such great shape! build with: $ ./configure --host=arm-apple-darwin --prefix=/opt/iphone --enable-static --disable-shared Linker needed this at the end of the build to complete: /usr/sbin/arm-apple-darwin-gcc -g -O2 -fno-exceptions -Wl,-syslibroot -Wl,/Users/core/toolchain/heavenly/ -o aspell prog/aspell.o prog/check_funs.o prog/checker_string.o -Wl,-bind_at_load ./.libs/libaspell.a /usr/local/arm-apple-darwin/lib/libintl.a -L/usr/local/arm-apple-darwin/lib /usr/local/arm-apple-darwin//lib/libiconv.a -lncurses /usr/local/arm-apple-darwin/lib/libstdc++.dylib Fixed some broken binutils widgets 15:35 [ core] # chown root:daemon nmap 15:35 [ core] chown: memory exhausted 15:35 [ core] # ./chown root:daemon nmap 15:35 [ core] # ls -ltra nmap 15:35 [ core] -rwxr-xr-x 1 root daemon 810404 Sep 7 13:22 nmap 15:44 [ core] # uptime 15:44 [ core] uptime: couldn't get boot time 15:44 [ core] # ./uptime 3:44pm up 17:21, 0 users, load average: 0.00, 0.00, 0.00 15:46 [ tangra] the competition for uptime bragging rights begins 15:50 [ tangra] # uptime 3:50pm up 1 day 6:05, 0 users, load average: 1.76, 0.54, 0.29 15:50 [ tangra] bring it on passwd passwd is from systemtools with the netinfo/ds/nis info services hacked out. Only fileservice is available in iphone so we did not build the other pieces, but it sure works fine for the iphone, easier than getting folks to do the perl thing :-) # passwd -i no argument for -i option usage: passwd [-i infosystem] [-l location] [name] supported infosystems are: file for file, location may be a file name (/etc/master.passwd is the default)