Skip to content

Commit 3ed25e1

Browse files
committed
initial commit (CVS repo lost :-( )
0 parents  commit 3ed25e1

254 files changed

Lines changed: 9627 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*~
2+

ExecuteQuery

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
# Java heap size, in megabytes
4+
JAVA_HEAP_SIZE=256
5+
6+
eq_home=/usr/local/ExecuteQuery
7+
8+
exec java -mx${JAVA_HEAP_SIZE}m -jar "${eq_home}/eq.jar"

Linux/myps

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
ps -A fo pid,ppid,sid,pgid,tty8,stat,user,args

Makefile

Lines changed: 254 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,254 @@
1+
X11LDFLAGS=-L/usr/X11R6/lib -lX11
2+
3+
GLOBALFILES=\
4+
a2xcf \
5+
apt-list-contents \
6+
apt-build \
7+
audioreset \
8+
blackscrn.pl \
9+
cdburn \
10+
cdburn-rr \
11+
dvdburn \
12+
dvdburn-rr \
13+
dvdvideoburn \
14+
cdcopy.sh \
15+
cdcopy_onthefly.sh \
16+
cddaenc.sh \
17+
cddamv.pl \
18+
cddarip.sh \
19+
cdda-cddbrip \
20+
cdisoburn \
21+
create-index-htmls \
22+
cutv \
23+
deb-import-signing-key \
24+
emacs_or_fallback.sh \
25+
gtetrinet-configure-keyboard \
26+
gtetrinet-unconfigure-keyboard \
27+
gnuplot-and-wait \
28+
gnuplot-eps \
29+
gnuplot-eps-and-wait \
30+
gnuplot-png \
31+
jolietrename \
32+
jolietrenamecurrdir \
33+
jolietnamecheckcurrdir \
34+
chk4rlogins \
35+
chr \
36+
chrcodes \
37+
cpmydir.sh \
38+
cvs-add-subtree-dirs \
39+
cvs-add-subtree-files \
40+
cvs-isstssh \
41+
cvs-myissthostssh \
42+
cvslog2kwsubst \
43+
cvsshowunkn.pl \
44+
deb-fetch-uris \
45+
deb-list-pkgs \
46+
deb-xtract-uris \
47+
disk2file.sh \
48+
dos2unixm.sh \
49+
e \
50+
eardiff.sh \
51+
edit-encrypted \
52+
eol2nul \
53+
execlogged \
54+
ExecuteQuery \
55+
fetchheise-fetcharticles \
56+
fetchheise-idxpage-fetchallarticles \
57+
fetchheise-idxpage-idxpageurls \
58+
fetchheise-idxpage-all-articleurls \
59+
fetchheise-idxpages-articleurls \
60+
fetchmail-setup-tunnel.sh \
61+
firefox-print-stacktraces \
62+
firefox-print-stacktraces.gdbscript \
63+
mail.cs.tu-berlin.de.cert \
64+
fetchmail-shutdown-tunnel.sh \
65+
ff \
66+
file2disk.sh \
67+
fsumup \
68+
fullpath \
69+
gal2nsbm.py \
70+
generate-site-specific-filenames \
71+
getcdrdev \
72+
getdvdrdev \
73+
getpid \
74+
gianasis \
75+
grepre \
76+
grep_instfiles \
77+
ifaceaddr \
78+
imagej \
79+
install-javaplugin \
80+
instfilelist.pl \
81+
ip6to4 \
82+
irexec.pl \
83+
iriver2m3ufile.pl \
84+
kill-flashplugin \
85+
kill-vpn.sh \
86+
locateme \
87+
libusers \
88+
linehist \
89+
listexecs \
90+
lnum.sh \
91+
log-transferrate \
92+
make-my_configure_help \
93+
m3u2iriver.pl \
94+
m3u2iriverfile.pl \
95+
m3uxmms2unx \
96+
maestro \
97+
memeaters.pl \
98+
memeaters1.pl \
99+
memusage \
100+
memusage_for_pid_by_lib \
101+
memusage-log-for-pid \
102+
memusage-snapshot \
103+
mlnet-disksize-watchdog \
104+
mouseclick \
105+
mplayerctl \
106+
mplayer-ctlable \
107+
mplayer-dump-latest \
108+
mygdb \
109+
myhexdump \
110+
palm-fetchheise \
111+
pidof \
112+
pslibs.pl \
113+
quotelines \
114+
rfcidx.pl \
115+
rminst \
116+
run-if-not-running.sh \
117+
scp-myissthost \
118+
sensible-browser \
119+
settimefromntp \
120+
showhomeip \
121+
show-encrypted \
122+
sleepingsongs \
123+
slowdown.pl \
124+
sumsizes \
125+
sumup \
126+
syncmp3s \
127+
thermal-snapshot \
128+
timedrun.sh \
129+
timelogger.pl \
130+
unique-lines \
131+
unpacksrcrpm.sh \
132+
unzip2d \
133+
update_cookiestxts \
134+
vcr-chilitv \
135+
vcr-daily \
136+
videnc \
137+
videnc.sh \
138+
wait4time \
139+
wgetheise.sh \
140+
wget-completepage \
141+
wget-withbrowsersettings \
142+
xmms2iriver \
143+
zipdir.sh \
144+
stopwatch \
145+
showargs \
146+
jython2bsh \
147+
mountdata \
148+
umountdata \
149+
freemind \
150+
export-sawfish \
151+
perl-e-perline \
152+
perl-e-perline-inplace \
153+
psfindbywd \
154+
rspeedway \
155+
ruby-e-perline \
156+
show-spurious-listeners \
157+
spurious-listeners-watchdog \
158+
svnshowunkn \
159+
tvbrowser \
160+
wget-logging \
161+
xless \
162+
xmule-continuously \
163+
xscreensaver-keepaway \
164+
xterm-fullscreen \
165+
xy+-plot \
166+
xy+-average \
167+
xypairs-derive \
168+
xypairs-average \
169+
y+-plot \
170+
youtubedown \
171+
myhomedesktop/emacs_or_fallback.sh \
172+
make-misc \
173+
misc.make \
174+
lesscat \
175+
strace-all
176+
177+
#GLOBALTARGET=$(HOME)/bin
178+
GLOBALTARGET=/usr/local/bin
179+
180+
GLOBALUSER=root
181+
182+
SBINFILES=\
183+
memusagelogd \
184+
thermallogd \
185+
run-ppp-over-ssh \
186+
myissthost/run-isstsshvpn \
187+
myissthost/run-isstsshvpn-continuously \
188+
mysofdhost/run-sofdsshvpn \
189+
mysofdhost/run-sofdsshvpn-continuously \
190+
myhomehost/kill-vpn-continuously \
191+
myhomehost/isstsshvpn-routes \
192+
myhomehost/sofdsshvpn-routes \
193+
myhomehost/setup-6to4 \
194+
myhomehost/shutdown-6to4 \
195+
myhomehost/wlan-scan \
196+
myhomehost/wlan-switch-to-ap \
197+
myhomehost/wlan-switch-to-sta \
198+
myhomehost/wlan-restartap \
199+
myissthost/setup-6to4 \
200+
myissthost/shutdown-6to4 \
201+
myhomedesktop/setup-6to4 \
202+
myhomedesktop/shutdown-6to4 \
203+
mylaptop/wlan-reinit
204+
205+
SBINTARGET=/usr/local/sbin
206+
207+
USERFILES=\
208+
firefox-memusage-log-create.sh \
209+
firefox-memusage-log-plot.sh \
210+
irexec.pl \
211+
ssh-forward-allisst \
212+
ssh-forward-allisst-continuously \
213+
ssh-forward-isstcvs \
214+
ssh-forward-isstica \
215+
ssh-forward-isstssh \
216+
ssh-forward-isstwww \
217+
ssh-forward-myissthostssh \
218+
ssh-forwarded-isstssh \
219+
ssh-forwarded-myissthost \
220+
ssh-isstunixhost \
221+
ssh-myissthost \
222+
xmms.sh
223+
224+
USERTARGET=$(HOME)/bin
225+
226+
default: install
227+
228+
install: install-global install-user
229+
230+
TMP=/tmp/mkinstglobal-$(USER)
231+
232+
include Makefile.conf
233+
234+
# TODO: race condition?
235+
install-global: $(GLOBALFILES)
236+
mkdir -p $(GLOBALTARGET)
237+
mkdir -p $(SBINTARGET)
238+
rm -f $(TMP); umask 022; echo >$(TMP)
239+
$(foreach file,$(GLOBALFILES), echo mkdir -p '$(GLOBALTARGET)'/`dirname $(file)` >>$(TMP); \
240+
echo install $(file) '$(GLOBALTARGET)'/`dirname $(file)` >>$(TMP);)
241+
$(foreach file,$(SBINFILES), echo mkdir -p '$(SBINTARGET)'/`dirname $(file)` >>$(TMP); \
242+
echo install $(file) '$(SBINTARGET)'/`dirname $(file)` >>$(TMP);)
243+
su $(GLOBALUSER) $(TMP)
244+
rm -f $(TMP)
245+
246+
247+
install-user: $(USERFILES)
248+
mkdir -p $(USERTARGET)
249+
$(foreach file,$(USERFILES), mkdir -p '$(USERTARGET)'/`dirname $(file)`; \
250+
install $(file) '$(USERTARGET)'/`dirname $(file)`;)
251+
252+
253+
mouseclick: mouseclick.c
254+
$(CC) $(CFLAGS) $(X11LDFLAGS) -o $@ $<

Makefile.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
SBINTARGET=/usr/local/sbin
2+
GLOBALTARGET=/usr/local/bin
3+
GLOBALUSER=root
4+
# LDFLAGS=-L/usr/X11R6/lib -lX11
5+
X11LDFLAGS=-L/usr/X11R6/lib -lX11
6+
CFLAGS:=$(CFLAGS) -I/usr/X11R6/include

Makefile.conf.sample

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
SBINTARGET=$(HOME)/bin
2+
GLOBALTARGET=$(HOME)/bin
3+
GLOBALUSER=$(USER)
4+
# LDFLAGS=-L/usr/X11R6/lib -lX11
5+
X11LDFLAGS=-L/usr/X11R6/lib -lX11
6+
CFLAGS:=$(CFLAGS) -I/usr/X11R6/include

SunOS/myps

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
ps -A -o user,pid,ppid,s,pcpu,pmem,vsz,osz,rss,stime,etime,time,args

a2xcf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/sh
2+
3+
while getopts 'o:' OPTNAME; do
4+
case "$OPTNAME" in
5+
"o")
6+
outfile="$OPTARG" ;;
7+
"?")
8+
exit 1;;
9+
esac
10+
done
11+
12+
shift $(($OPTIND - 1))
13+
14+
for infile in "$@"; do
15+
if [ -z "$outfile" ]; then
16+
outfile=${infile%.*}.xcf;
17+
fi
18+
# TODO: not white-space safe. Didn't find a goddamn way to pass arguments to the scheme code,
19+
# and you don't really want to do the filename iteration/globbing in the scheme code
20+
gimp --no-interface --no-data --batch \
21+
"(let*
22+
((image (car (gimp-file-load RUN-NONINTERACTIVE \"$infile\" \"$infile\")))
23+
(actlayer (car (gimp-image-get-active-layer image))))
24+
(gimp-file-save RUN-NONINTERACTIVE image actlayer \"$outfile\" \"$outfile\"))" \
25+
--batch '(gimp-quit TRUE)'
26+
done

0 commit comments

Comments
 (0)