Toggen Blog
Tech tips
Articles
Latest
Getting the HTML Tidy External Command working on Bluefish for Windows
Bluefish is a really cool "Web Development Studio" I find it's side pane CSS and HTML reference invaluable when trying to code HTML. It has recently been ported to Windows As it installs, everything pretty much works out of the box, but it's Linux heritage shows when...
What languages does WP-Syntax Highlighter Support? – Another memory jolt posting
I use WP-Syntax to highlight my code samples on this blog and I keep having to Google and go to the wp-syntax website to get the correct lang attribute value to put in my <pre lang="blah"></pre> tags So here they are abap, actionscript, actionscript3, ada,...
Using the Kix Script Tokenize option to Obsfucate Passwords
If you want to check if your PPTP VPN Server is alive and responding via a script you can run the standard windows rasdial command from a windows batch file: rasdial entryname username password However to do this you the have to include a username and password in the...
Escaping Perl oneliner single quotes when run from a bash shell
Google said perl -le 'print "It\047s True";' But after playing around for a while I found this worked: perl -le 'print "It''\'\''s True";' Thats double quote It single quote singlequote backslash singlequote backslash singlequote singlequote s True double quote :)...
Perl system() call return results
Just been trying to create a Perl script to run ping and return results #!/usr/bin/perl use strict; # this is a heap of notes to try and come to grips with Perl # a bit better. # # Looks at how the system() call works # # How to build the command arguments to get #...
I want my At jobs to have a nice name – Use Schtasks
I used at to create a scheduled task that ran at 9:02 every week day: at 09:02 /every:m,t,w,th,f C:\path\to\my\batchfile.bat However when looking at the task in the scheduled tasks control panel all you see is At<id number of at job> e.g. At1. I wanted a nice...
