Toggen Blog
Tech tips
Articles
Latest
Exporting Dia Diagrams to PNG from the Command Line
A post from the Dia mailing list: I was asked to deliver some diagrams Dia diagrams I did, in PNG format. I just would imagine the nightmare it would have been to do this under "other" diagramming tools. for D in *.dia; do dia -t png -s 1024x $D; done I just checked...
Reducing the size of a massive PDF so you can email it
Just joined a heap of PDF files with pdftk output*.pdf cat output nov2010.pdf and got a 19.5MB PDF file. From here found a working solution to reduce the size of the PDF. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH...
I heart Justin Bieber – Embedding Youtube Videos in Your Website
Now all I need to do is sit back and watch my blog traffic increase exponentially Changing the size of your embedded Youtube Video And incidentally if you want to change the size of your embedded metube video you just edit the width and height parms from the default...
A Good Multi-Language Admin Scripting Resource
Currently Looking at Kix Scripting and Found this site which has a heap of good downloadable examples. http://www.robvanderwoude.com/
Returning DDMMYY in Bash or CMD.exe
Anyone else have a better way on Windows. Let me know. # bash scripting MYDATE=`date +%d%m%y` echo $MYDATE # or all in one echo $(date +%d%m%y) rem Windows cmd.exe rem This gives you the correct format rem offsets rem 01234567890123 rem Mon 01/11/2010 set...
Run Ubuntu > 9.x Headless
Found this after too much Googling so listing here for future reference. Stop X Starting at Boot on an Upstart controlled system update-rc.d -f remove gdm doesn't work: That is because Ubuntu doesn't use System V init files for startup any more, it uses a program...
