User talk:Rael
Mono Project News
<rss>http://www.mono-project.com/news/index.rss2%7Cshort%7Cmax=3%7Chighlight</rss>
Cisco Security News
<rss>http://newsroom.cisco.com/data/syndication/rss2/news_at_cisco_5Security.xml%7Cshort%7Cmax=3%7Chighlight</rss>
Cuda News
<rss>http://www.nvidia.com/content/cudazone/CUDABrowser/assets/data/rss_en-us.xml%7Cshort%7Cmax=3%7Chighlight</rss>
Windows Team Blog
<rss>http://windowsteamblog.com/windows_live/b/windowslive/rss.aspx%7Cshort%7Cmax=3%7Chighlight</rss>
Nmap Hackers
<rss>http://seclists.org/rss/nmap-hackers.rss%7Cshort%7Cmax=3%7Chighlight</rss>
Noter:
http://blinkdagger.com/matlab/matlab-tips-and-tricks-on-manipulating-1-d-arrays-vectors/
http://www.howtoforge.com/using-iscsi-on-ubuntu-9.04-initiator-and-target
https://help.ubuntu.com/community/PXEInstallMultiDistro#SYSLINUX <- til tirsdag syslinux
http://www.howtoforge.com/how-to-set-up-webdav-with-apache2-on-ubuntu-8.10
http://www.getipv6.info/index.php/Cisco_6to4_Relay_Service
http://bgp.he.net/ipv6-progress-report.cgi
http://docwiki.cisco.com/wiki/IOS_IP_SLAs_for_IPv6_White_Paper
http://www.txv6tf.org/wp-content/uploads/2010/08/McFarland-Tutorial-ent-v6-deploy.pdf
http://beginlinux.com/blog/2009/01/ssl-on-ubuntu-810-apache2/
https://help.ubuntu.com/community/RootSudo
Contents
Her og nu husk
Rasp links
Sandkasse
Definition Lists
http://www.mediawiki.org/wiki/Help:Formatting
;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2
- item 1
- definition 1
- item 2
- definition 2-1
- definition 2-2
TOC Right
{{TOCright}}
In Progress
{{In progress}}
Section include
Ubuntu 11.xx fix
Hvis systemet ikke kommer med en login prompt efter instllation/upgradering
- alt+højre pil
- slette splash fra /etc/default/grub
- update-grub
Show Cron Jobs
This is how to show cron jobs from all users
for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done
Copy Pub key to server
cat id_rsa.pub | ssh git.tekkom.dk "cat >> .ssh/authorized_keys"
Apache log analyzer
zcat access.log.*.gz | cut -d' ' -f1 | sort | uniq -c | sort -h -r -b | head -n 50 | while read cnt ip; do echo -ne "$cnt\t"; echo -ne "$ip "; echo -e "(`dig -x $ip | grep PTR | grep -v -E '^;' | tr ' \t' ' '|cut -d' ' -f5`)"; echo -e "`whois $ip| grep address | head -n1 | sed -e 's/^address:*/\t/'`"; done
Convert Images on Linux
To Thumbs
Alt dette piping sletter EXIF data
for i in *.JPG; do djpeg $i | pnmscale -width 800 | cjpeg -opti -progr -qual 90 > TN_$i; echo $i processed; done
Brug convert istedet den bevarer EXIF
for i in *.JPG; do convert -resize 800 -quality 90 $i TN_$i; echo $i processed; done
Time comparision(on the Raspberry PI):
# time djpeg DSCN1111.JPG | pnmscale -width 800 | cjpeg -opti -progr -qual 90 > TN_DSCN1111.JPG
real 0m37.604s
user 0m25.870s
sys 0m1.750s
# time convert -resize 800 -quality 90 DSCN1111.JPG TN2_DSCN1111.JPG
real 5m9.545s
user 2m19.830s
sys 0m8.250s
Time comparision(I386):
# time djpeg IMG_0722.JPG | pnmscale -width 800 | cjpeg -opti -progr -qual 90 > TN_IMG_0722.JPG
real 0m0.916s
user 0m1.108s
sys 0m0.092s
# time convert -resize 800 -quality 90 IMG_0722.JPG TN2_IMG_0722.JPG
real 0m2.536s
user 0m2.844s
sys 0m0.132s
Hvis den skal tælle op kan man bruge denne for løkke.
t=1; w=`ls -l | wc -l`; for i in *.JPG; do let t++ ; echo "Converted $i($t/$w)"; done
From BMP to JPG
for i in *.bmp; do convert $i $(basename $i bmp)jpg ; echo "Converted $i"; done
Top Linux Tools
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html