Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
N
nsbin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nico Schottelius
nsbin
Commits
78e21b52
Commit
78e21b52
authored
Jul 21, 2011
by
Nico Schottelius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mass update commit
Signed-off-by:
Nico Schottelius
<
nico@kr.ethz.ch
>
parent
1bbedafd
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
29 additions
and
13 deletions
+29
-13
eth/user/isg_sans_lab_install
eth/user/isg_sans_lab_install
+1
-1
eth/user/isg_win7_install
eth/user/isg_win7_install
+4
-3
figlet_alle_fonts
figlet_alle_fonts
+2
-1
hole_mails
hole_mails
+1
-1
kill
kill
+0
-0
lh
lh
+6
-2
linux/install.sh
linux/install.sh
+1
-1
mytime
mytime
+3
-0
release_tmp
release_tmp
+1
-1
x-autostart
x-autostart
+1
-1
x-links
x-links
+1
-1
x20x-sync
x20x-sync
+8
-1
No files found.
eth/user/isg_sans_lab_install
View file @
78e21b52
...
...
@@ -83,7 +83,7 @@ Name: Nico Schottelius
NumScreens: 1
OU: Sans-lab
Office: cab/e/79
Other Info: Wie alle anderen sans-lab Maschinen
Other Info: Wie alle anderen sans-lab Maschinen
, Siehe #112231, #112228, #111140
Phone: 27609
Resolution: 1920x1200
Root: ISG
...
...
eth/user/isg_win7_install
View file @
78e21b52
...
...
@@ -34,9 +34,9 @@ if [ -z "$NETHZ_USERNAME" ]; then
exit
1
fi
if
[
$#
-
ne
3
]
;
then
if
[
$#
-
lt
3
]
;
then
cat
<<
eof
$__myname
: <machine> <ou> <room>
$__myname
: <machine> <ou> <room>
[comments]
Requires NETHZ_USERNAME to be set.
...
...
@@ -49,6 +49,7 @@ fi
machine
=
"
$1
"
;
shift
ou
=
"
$1
"
;
shift
room
=
"
$1
"
;
shift
comment
=
"
$@
"
headerto
=
"support@inf.ethz.ch"
to
=
"support@inf.ethz.ch
$from
"
...
...
@@ -75,7 +76,7 @@ Name: Nico Schottelius
NumScreens: 1
OU:
$ou
Office: cab/e/79
Other Info:
Other Info:
$comment
Phone: 27609
Resolution: 1920x1200
Root: ISG
...
...
figlet_alle_fonts
View file @
78e21b52
...
...
@@ -8,4 +8,5 @@ set -e
cd
/usr/share/figlet
cd
/usr/share/figlet/fonts/
#for a in *.flf; do BLA=${a%.flf}; echo $BLA; echo hallo | figlet -f $BLA; done
for
a
in
*
.flf
;
do
BLA
=
${
a
%.flf
}
;
echo
$BLA
;
echo
CM Bofs | figlet
-f
$BLA
;
done
#for a in *.flf; do BLA=${a%.flf}; echo $BLA; echo CM Bofs | figlet -f $BLA; done
for
a
in
*
.flf
;
do
BLA
=
${
a
%.flf
}
;
echo
$BLA
;
echo
$BLA
| figlet
-f
$BLA
;
done
hole_mails
View file @
78e21b52
...
...
@@ -9,7 +9,7 @@ fi
while
true
;
do
fetchmail
>
/dev/null
#
offlineimap
offlineimap
echo
"Mails abgeholt, schlafe nun
$SLEEP
Sekunde(n)"
sleep
$SLEEP
;
done
kill
deleted
100755 → 0
View file @
1bbedafd
File deleted
lh
View file @
78e21b52
#!/bin/sh
file
=
$(
date
+%Y-%m-%d
)
suffix
=
"
$1
"
datef
=
"
$2
"
file
=
$(
date
+%Y-%m-%d
$datef
)
set
-x
$EDITOR
"
$
1
${
file
}
"
$EDITOR
"
$
{
file
}${
suffix
}
"
linux/install.sh
View file @
78e21b52
...
...
@@ -22,7 +22,7 @@ set -e
#version="$(git describe)
version
=
$(
cat
include/config/kernel.release
)
ddir
=
"/boot"
spath
=
"arch/x86
_64
/boot/bzImage"
spath
=
"arch/x86/boot/bzImage"
fname
=
"vmlinuz-
$version
"
fpath
=
"
${
ddir
}
/
${
fname
}
"
gpath
=
"
$ddir
/grub/menu.lst"
...
...
mytime
View file @
78e21b52
...
...
@@ -7,3 +7,6 @@ LENGTH=$((END-START))
LENGTHM
=
$((
LENGTH/60
))
echo
"Run:
${
LENGTH
}
s (
$LENGTHM
minutes)"
# Record values
echo
"
$@
;
${
LENGTH
}
"
>>
~/.mytime
release_tmp
View file @
78e21b52
...
...
@@ -10,6 +10,6 @@ url="http://home.schottelius.org/~nico/temp"
bfile
=
"
$(
basename
"
$file
"
)
"
scp
"
$file
"
"
${
host
}
:
$dir
"
ssh
$host
"chmod a+r
$dir
/
$bfile
"
ssh
$host
"chmod a+r
\"
$dir
/
$bfile
\"
"
echo
"Pre-released
${
url
}
/
${
bfile
}
"
x-autostart
View file @
78e21b52
...
...
@@ -5,7 +5,7 @@ tmutt
tmutt
# start tee window
x-terminal-emulator
-name
tee
-e
ressh.sh tee.schottelius.org
#
x-terminal-emulator -name tee -e ressh.sh tee.schottelius.org
# start root window
x-terminal-emulator
-name
sudo
-e
sudo
-i
...
...
x-links
View file @
78e21b52
#!/bin/sh
xrandr
--output
HDMI1
--auto
--rotate
normal
--
righ
t-of
LVDS1
xrandr
--output
HDMI1
--auto
--rotate
normal
--
lef
t-of
LVDS1
x20x-sync
View file @
78e21b52
...
...
@@ -10,6 +10,13 @@ case $(hostname) in
ikn
)
other
=
"root@kr.ethz.ch"
;;
*
)
echo
"I am confused, where I am?"
exit
1
;;
esac
sudo
rsync
-av
--delete-before
--delete
$dir
$other
:
$dir
sudo
rsync
-av
\
--exclude
/home/services/eth-usbhd
\
--exclude
/home/services/usbhd
\
--delete-before
--delete
$dir
$other
:
$dir
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment