The openconnect package summarizes itself as the "Open client for Cisco AnyConnect VPN". Here is a youtube video showing an openconnect session being started from the command line: http://www.youtube.com/embed/zBEUylO12vI I tried creating a connection via the...
James McDonald
Generate Custom XML with Perl CGI.pm
I want to output custom XML without any HTML or DTD tags using CGI.pm Here is my hack to get what I'm after: #!/usr/bin/perl use strict; use CGI qw(:standard -any); # use the -any option to turn on custom tags # e.g. I can use $r->item("Item Content") to create # Item...
Running around Headless with VirtualBox (Oracle Edition)
This is a script I use to start up a headless instance of virtualbox Run as root but it fires the vm up as the user you use virtualbox as. #!/bin/sh # Output of "vboxmanage list vms" # #"Windows XP Pro" {5998c1ff-f354-4d7d-b36d-987090351cb6} #"JMITS LSMB"...
Cisco SSL VPN on Windows XP SP3 – Remove Microsoft JVM and Joyous Shouting Results
I have a Windows XP Pro SP3 Virtualbox VM that I have been using to test connectivity to a Cisco ASA 5510 SSL VPN. Problem: Using Internet Explorer 8 and trying to launch an RDP (Remote Desktop Protocol) session. It created a memory error and then Internet Explorer...
Accessing Cisco Clientless SSL VPN from Linux
At home I run Linux pretty much exclusively so anything I do at work tends to run the cross platform compatible path. When configuring a 'clientless' VPN on the ASA you install Cisco provided java plugins for Remote Desktop, ICA (Citrix), VNC and SSH/Telnet access...
Aptana 3 Rocks
Been trying to find a free (as in beer) development environment that is easy to use and configure with sensible defaults. Just downloaded Aptana 3 and after 2 days use. We have a winner. Things I like: Downloaded both Windows and Linux clients - Install was easy on...
jQuery [nodeName=ns1:result] syntax no longer works
Just tried to use [nodeName=namespace:node_name] syntax in Firefox and Chrome to get a result message from a soap responseXML and failed while using jquery-1.6.2.min.js and jquery-1.7.1.min.js: This is the contents from my jQuery.ajax "success:" blocks code success :...
Gnome Menu Editor “Alacarte” not working on Fedora 16
Yep it's a bug: https://bugzilla.redhat.com/show_bug.cgi?id=752733 But there is a work-a-round: http://blog.mclaughlinsoftware.com/2011/11/24/gnome-menu-editing-fix/
HTML / HTML 5 Frameworks
Kendo UI - http://www.kendoui.com/ Sencha - http://www.sencha.com/ Cappuccino - http://cappuccino.org/learn/ JQuery UI - http://jqueryui.com
Viewing multi-page tiff files under Linux
I just used my HP Officejet Pro 8500A to scan a 2 page document to tiff format. It drops it into a samba share on my Fedora 16 box. Trying to open the tiff format scan on Linux and i could only see the first page. With the default viewer - which in my case is the...
Perl Switch/Case Satement
for (@ARGV) { if (/^6\d{4}$/) { $item_code = $_; $action = 'load'; } elsif (/^stop$/) { $action = 'stop' ; } elsif (/^start$/) { $action = 'start'; } else { print "Default\n"; } } print "Item : " . $item_code . "\n"; print "Action : " . $action ....
RES:23# I don’t know what it means either
A company named HSAjet has a CU (Control Unit) that drives some expensive print heads for carton labelling. In the documentation that is supplied with the Control Unit it specifies that you can communicate with it via RS232 and Ethernet. The Ethernet part is what I'm...
Remember when Linux Sound was First In First Served?
I'm running a few sound outputting apps under Fedora 16... And they are all playing nicely in the playground. Amazing how Fedora/Gnome has come. Finally Linux on the Desktop is Here!
ABA File Information
Every now and again a business has to change Banks and you are left to figure out what the ABA file format should be and what the different fields mean. Especially annoying is when you have set it up and have been running for years and the meaning has been lost over...
Rackspace Cloud – Uptime
uptime 05:29:01 up 44 days, 4:54, 1 user, load average: 0.07, 0.03, 0.00 Since I went to a small Rackspace cloud server I was concerned whether it would be stable. I have only had the account for a couple of months but the uptime is consistent with my last reboot so...
Wherefore art though php_dbase.dll?
Trying to save some time by installing a pre-configured WAMP environment (Windows Apache MySQL and PHP). I downloaded the latest Bitnami WAMPStack and found that it didn't have php_dbase.dll in the $PHP_DIR/ext/ dir. A planned retreat worked. This version has...
CakePHP – Accessing an un-related model from a controller action
Check point 9 here => http://nuts-and-bolts-of-cakephp.com/2008/06/09/15-essential-cakephp-tips/ This didn't work for me: $this->load('IgnoreList'); I got this error: Fatal error: Call to undefined method EdiRecordsController::load() This worked $MyModel =...
CakePHP – Virtual Fields the Fields you have when you’re not having a Field
CakePHP Virtual Fields e.g. How to perform database select functions and return them sensibly to your model http://book.cakephp.org/view/1608/Virtual-fields