parent
8bc2cf1b2e
commit
08e19d2a2b
@ -1,3 +1,3 @@ |
|||||||
#!/bin/sh |
#! /usr/bin/env bash |
||||||
CON=`nmcli con list | grep wireless | sed "s/ .*//"` |
CON=`nmcli con list | grep wireless | sed "s/ .*//"` |
||||||
nmcli con down id $CON && nmcli con up id $CON |
nmcli con down id $CON && nmcli con up id $CON |
||||||
|
@ -1,3 +1,3 @@ |
|||||||
#!/bin/sh |
#! /usr/bin/env bash |
||||||
RATE=50k |
RATE=50k |
||||||
wget -c --limit-rate=$RATE -i ~/to_download_and_watch |
wget -c --limit-rate=$RATE -i ~/to_download_and_watch |
||||||
|
@ -1,3 +1,3 @@ |
|||||||
#!/bin/sh |
#! /usr/bin/env bash |
||||||
# if no $1 then ask for person name |
# if no $1 then ask for person name |
||||||
grep $1 ~/sharedlinks | sed "s/$1 //" | sed "$ s/^/<html><table><tr><td>/" | tac | sed "$ s/$/<\/table><\/html>/" | sed "s/^/<tr><td>/" | sed "s/^\(.*\) +0200 \(.*\)/\1<\/td><td>\2/" | sed "s/http\([^ ]*\)/<a href=\"http\1\">http\1<\/a>/g" | sed "s/$/<\/td><\/tr>/" > ~/web/benetou.fr/fabien/pub/sharedlinks/$1.html |
grep $1 ~/sharedlinks | sed "s/$1 //" | sed "$ s/^/<html><table><tr><td>/" | tac | sed "$ s/$/<\/table><\/html>/" | sed "s/^/<tr><td>/" | sed "s/^\(.*\) +0200 \(.*\)/\1<\/td><td>\2/" | sed "s/http\([^ ]*\)/<a href=\"http\1\">http\1<\/a>/g" | sed "s/$/<\/td><\/tr>/" > ~/web/benetou.fr/fabien/pub/sharedlinks/$1.html |
||||||
|
@ -1,4 +1,4 @@ |
|||||||
#!/bin/sh |
#! /usr/bin/env bash |
||||||
|
|
||||||
# consider using convert to generate thumbnails and auto-rotate |
# consider using convert to generate thumbnails and auto-rotate |
||||||
echo "<html>" > gallery.html && ls *.jpg *.JPG |sort -n| sed "s/\(.*\)/<a href=\"\1\"><img height=\"200px\" src=\"\1\"\/>\1<\/a><br\/>/" > gallery.html && echo "</html>" >> gallery.html |
echo "<html>" > gallery.html && ls *.jpg *.JPG |sort -n| sed "s/\(.*\)/<a href=\"\1\"><img height=\"200px\" src=\"\1\"\/>\1<\/a><br\/>/" > gallery.html && echo "</html>" >> gallery.html |
||||||
|
@ -1,2 +1,2 @@ |
|||||||
#!/bin/sh |
#! /usr/bin/env bash |
||||||
curl http://search.twitter.com/search?q=$LOGNAME | grep profile | sed "s/.*com\/\(.*\)\" onclick.*/http:\/\/twitter.com\/\1/" | grep -v $LOGNAME | sort | uniq |
curl http://search.twitter.com/search?q=$LOGNAME | grep profile | sed "s/.*com\/\(.*\)\" onclick.*/http:\/\/twitter.com\/\1/" | grep -v $LOGNAME | sort | uniq |
||||||
|
@ -1,2 +1,2 @@ |
|||||||
#!/bin/sh |
#! /usr/bin/env bash |
||||||
find /etc/ -mtime -1 -name *.conf |
find /etc/ -mtime -1 -name *.conf |
||||||
|
@ -1,3 +1,3 @@ |
|||||||
#!/bin/sh |
#! /usr/bin/env bash |
||||||
# generalize via a parameter, default back to USER |
# generalize via a parameter, default back to USER |
||||||
curl http://tunkrank.com/refresh/utopiah.json && curl http://tunkrank.com/score/utopiah.json >> ~/web/benetou.fr/fabien/pub/socialbehaviors/tunkrank_utopiah.txt && echo "" >> ~/web/benetou.fr/fabien/pub/socialbehaviors/tunkrank_utopiah.txt |
curl http://tunkrank.com/refresh/utopiah.json && curl http://tunkrank.com/score/utopiah.json >> ~/web/benetou.fr/fabien/pub/socialbehaviors/tunkrank_utopiah.txt && echo "" >> ~/web/benetou.fr/fabien/pub/socialbehaviors/tunkrank_utopiah.txt |
||||||
|
@ -1,4 +1,4 @@ |
|||||||
#!/bin/sh |
#! /usr/bin/env bash |
||||||
|
|
||||||
## to be done in wiki.d/ |
## to be done in wiki.d/ |
||||||
grep diff: $1 | awk '{FS=":"; print $2}' | sort -n | uniq |
grep diff: $1 | awk '{FS=":"; print $2}' | sort -n | uniq |
||||||
|
Loading…
Reference in new issue