summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin (Beber) <beber@meleeweb.net>2007-09-20 17:02:39 +0200
committerbeber <beber@otis.meleeweb.net>2007-09-20 17:02:39 +0200
commit7a8fa3a0539366b0736bf54ceced94178a3983bf (patch)
tree8912c76916b8e06986c0f6360598c6f97984803a
parentchange email, add an old script (diff)
downloadperso-7a8fa3a0539366b0736bf54ceced94178a3983bf.tar.gz
email changeHEADmaster
-rwxr-xr-xgit/hooks/update2
-rw-r--r--irc/search_nick.c6
-rwxr-xr-xscripting/audacious-gajim-status.sh2
-rw-r--r--scripting/get-empty-dir.sh2
-rwxr-xr-xscripting/mk-license-header.sh12
-rw-r--r--scripting/ogg2mp3.sh5
6 files changed, 14 insertions, 15 deletions
diff --git a/git/hooks/update b/git/hooks/update
index 5369960..e8700fa 100755
--- a/git/hooks/update
+++ b/git/hooks/update
@@ -1,6 +1,6 @@
#!/bin/sh
-# (c) 2006 Bertrand Jacquin <beber:meleeweb.net>
+# (c) 2006 Bertrand Jacquin <beber@meleeweb.net>
#
# File: sh/git/hooks/update
# Description: Send mail on push
diff --git a/irc/search_nick.c b/irc/search_nick.c
index 9e7a3a2..164f808 100644
--- a/irc/search_nick.c
+++ b/irc/search_nick.c
@@ -1,5 +1,5 @@
/*
- * By Beber (c) 2004-2006 <beber:meleeweb.net>
+ * By Beber (c) 2004-2006 <beber@meleeweb.net>
*/
#include <stdio.h>
@@ -27,7 +27,7 @@ int main ()
char nick[25];
printf ("Buff is %s.\n",buff);
-
+
if ( buff[0] == ':' )
{
go_to_excl ( buff , nick );
@@ -35,7 +35,7 @@ int main ()
return -1;
}
else
- {
+ {
printf ("No \':\' at the begenning :(\n");
return 0;
}
diff --git a/scripting/audacious-gajim-status.sh b/scripting/audacious-gajim-status.sh
index c267117..8f8cbbd 100755
--- a/scripting/audacious-gajim-status.sh
+++ b/scripting/audacious-gajim-status.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# (c) 2006 Bertrand Jacquin <beber:meleeweb.net>
+# (c) 2006 Bertrand Jacquin <beber@meleeweb.net>
# Under GPL-2 Licence
ACCOUNT="MeleeWeb/Perso"
diff --git a/scripting/get-empty-dir.sh b/scripting/get-empty-dir.sh
index bf3851d..6d78036 100644
--- a/scripting/get-empty-dir.sh
+++ b/scripting/get-empty-dir.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# Beber (c) 2006 <beber:meleeweb.net>
+# Beber (c) 2006 <beber@meleeweb.net>
# sam déc 25 18:55:28 CET 2004
find . -type d -exec du -h {} \; | grep -E '^0' | sort -u
diff --git a/scripting/mk-license-header.sh b/scripting/mk-license-header.sh
index 3a6c0b5..a1d9003 100755
--- a/scripting/mk-license-header.sh
+++ b/scripting/mk-license-header.sh
@@ -1,12 +1,12 @@
#!/bin/sh
-# (c) Bertrand Jacquin <beber:meleeweb.net>
+# (c) Bertrand Jacquin <beber@meleeweb.net>
# jeu fév 10 20:15:36 CET 2005
NAME="test"
VERSION="0.01"
AUTHOR="beber"
-EMAIL="beber:meleeweb.net"
+EMAIL="beber@meleeweb.net"
DESCRIB="prout prout"
TEXT_TO_PUT="$NAME $VERSION
@@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA."
usage ()
{
- echo "$0 by Bertrand Jacquin <beber:meleeweb.net>"
+ echo "$0 by Bertrand Jacquin <beber@meleeweb.net>"
echo
echo "Usage:"
echo -e "\t$0 [sh|C|C++|asm|vim|py] file [-v]"
@@ -49,7 +49,7 @@ then
fi
case $1 in
- sh)
+ sh)
echo "#!/bin/sh" > $2
echo >> $2
echo "$TEXT_TO_PUT" | sed -r "s/(.*)/# \1/g" >> $2
@@ -61,10 +61,10 @@ case $1 in
;;
C++)
echo "$TEXT_TO_PUT" | sed -r "s/(.*)/\/\/ \1/g" > $2
-
+
;;
asm)
- echo "$TEXT_TO_PUT" | sed -r "s/(.*)/; \1/g" > $2
+ echo "$TEXT_TO_PUT" | sed -r "s/(.*)/; \1/g" > $2
;;
vim)
echo "$TEXT_TO_PUT" | sed -r "s/(.*)/\" \1/g" > $2
diff --git a/scripting/ogg2mp3.sh b/scripting/ogg2mp3.sh
index 02ee54e..0dd16b7 100644
--- a/scripting/ogg2mp3.sh
+++ b/scripting/ogg2mp3.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# (c) Beber <beber:meleeweb.net>
+# (c) Beber <beber@meleeweb.net>
# Convertie les ogg du repertoire courant (fournie en paramètre) en mp3 dans le repertoire ~/convert
# Doit être executer dans le repertoire contenant les ogg a convertir
@@ -16,7 +16,6 @@
# Montage/Démontage de la clé USB (par options)
# Vidage de la clé [Uniquement ogg] (par options)
# Affichage avec gest-screen.sh
-
if [ "$#" -lt "1" ]
then
@@ -28,7 +27,7 @@ while [ "$#" -ne "0" ]
do
oggdec -b 16 "$1"
NEW_NAME=`echo $1 | rev | cut -d '.' -f 2 | rev`
-
+
lame "$NEW_NAME.wav" "$HOME/convert/$NEW_NAME.mp3"
rm "$NEW_NAME.wav"
shift