<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog.BitTube.com &#187; Free Stuff</title>
	<atom:link href="http://blog.bittube.com/category/free-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bittube.com</link>
	<description>flash examples and development for the web, PSP Flash Player, Mobile flash lite player. All mixed up with some random thoughts, photos, images and poetic words</description>
	<lastBuildDate>Mon, 01 Feb 2010 13:58:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AppleScript Fix for Error 51: Unable to communicate with the VPN subsystem on Cisco 3000 VPN Client</title>
		<link>http://blog.bittube.com/2008/04/10/applescript-fix-for-error-51-unable-to-communicate-with-the-vpn-subsystem-on-cisco-3000-vpn-client/</link>
		<comments>http://blog.bittube.com/2008/04/10/applescript-fix-for-error-51-unable-to-communicate-with-the-vpn-subsystem-on-cisco-3000-vpn-client/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 21:25:08 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[Cisco 3000 VPN Client]]></category>
		<category><![CDATA[errror 51]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[Unable to communicate with the VPN subsystem]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/?p=271</guid>
		<description><![CDATA[Over at Ian Talks Tech my friend Macca recently posted a fix for the "Error 51 : Unable to communicate with the VPN subsystem" error from a cisco vpn client. I had also encountered the same problem some time ago and it brought my own memories rushing back. I had initially discovered a fix for [...]]]></description>
			<content:encoded><![CDATA[<p>Over at <a href="http://blog.maccarocks.com/2008/03/18/cisco-vpn-client-on-osx/trackback/">Ian Talks Tech</a> my friend Macca recently posted a fix for the "Error 51 : Unable to communicate with the VPN subsystem" error from a cisco vpn client. I had also encountered the same problem some time ago and it brought my own memories rushing back. I had initially discovered a fix for the error 51 problem over at a different site, <a href="http://www.anders.com/cms/192/CiscoVPN/Error.51:.Unable.to.communicate.with.the.VPN.subsystem?page=tb">Anders.com</a> . Since finding the one line terminal command answer to the issue that my cisco 3000 client had thrown up I thought no more of it. Ian's post jogged my memory about my own search and I immediately put my copy and paste skills to good use to come up with an apple script that you can run to fix this cisco vpn client error.</p>
<p>All you need to do is open the apple script editor. </p>
<p>"/Applications/AppleScript/Script Editor.app"</p>
<p>Then paste a similar line of code to the commands that Macca and Anders mentioned:</p>
<pre class="applescript"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">do shell <span style="color: #b1b100;">script</span> <span style="color: #ff0000;">&quot;ifconfig fw0 down&quot;</span> <span style="color: #b1b100;">with</span> administrator privileges</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">do shell <span style="color: #b1b100;">script</span> <span style="color: #ff0000;">&quot;ifconfig fw0 up&quot;</span> <span style="color: #b1b100;">with</span> administrator privileges <span style="color: #000066;">and</span> password</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">do shell <span style="color: #b1b100;">script</span> <span style="color: #ff0000;">&quot;/System/Library/StartupItems/CiscoVPN/CiscoVPN  restart&quot;</span> <span style="color: #b1b100;">with</span> administrator privileges <span style="color: #000066;">and</span> password</div></li></ol></pre>
<p>Feel free to run the apple script to test it, just note you will be asked for an administrator password for the script to run. </p>
<p>Once you are happy you should compile and save the script to keep it safe, or "save as" and choose application. Alternatively, you could just <a href='http://blog.bittube.com/wp-content/uploads/2008/04/restartvpn.zip'>download the AppleScript Fix for the "Error 51: Unable to communicate with the VPN subsystem"</a> problem, that I have pre compiled as an application.</p>
<p>Credit where its due.<br />
<a href="http://blog.maccarocks.com/2008/03/18/cisco-vpn-client-on-osx/trackback/">Ian Talks Tech</a> for jogging the grey matter.<br />
<a href="http://www.anders.com/cms/192/CiscoVPN/Error.51:.Unable.to.communicate.with.the.VPN.subsystem?page=tb">Anders.com</a> for solving my problems when I had them.<br />
<a href="http://developer.apple.com/technotes/tn2002/tn2065.html">Apple</a> for showing me how to do shell scripts in Apple Script.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2008/04/10/applescript-fix-for-error-51-unable-to-communicate-with-the-vpn-subsystem-on-cisco-3000-vpn-client/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Compact Data Formats in FlashLite 1.1</title>
		<link>http://blog.bittube.com/2008/02/05/using-compact-data-formats-in-flashlite-11/</link>
		<comments>http://blog.bittube.com/2008/02/05/using-compact-data-formats-in-flashlite-11/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 08:00:03 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[ActionScript 1]]></category>
		<category><![CDATA[BitTube Thoughts]]></category>
		<category><![CDATA[Flash Lite]]></category>
		<category><![CDATA[FlashLite 1]]></category>
		<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[Mobile Development]]></category>
		<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[Mobile Phones]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[FlashLite]]></category>
		<category><![CDATA[Live]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Status]]></category>
		<category><![CDATA[Tube]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/2008/02/05/using-compact-data-formats-in-flashlite-11/</guid>
		<description><![CDATA[Recently I have been involved in some FlashLite 1.1 development that requires a certain level of online data interaction. With memory being at a premium on Mobile devices I have been spending many a spare moment looking at efficient data transfer methods.
Stepping back into FlashLite 1.1 (flash 4/5) scripting has been a nostalgic experience. The [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have been involved in some FlashLite 1.1 development that requires a certain level of online data interaction. With memory being at a premium on Mobile devices I have been spending many a spare moment looking at efficient data transfer methods.</p>
<p>Stepping back into FlashLite 1.1 (flash 4/5) scripting has been a nostalgic experience. The halcyon days of ActionScript 0/1 were where I broke my teeth, so to speak, on flash. It has been an eye opener also to return to using Perl as well in order to format data efficiently for consumption in my simple FlashLite 1.1 applications.</p>
<p>In these days of XML, SOAP, SQL, and huge component frameworks, it has been nice to go back the the "demo days" of flash and try and eak every byte out of my data format. Remember of course, no XML or SWX support in FlashLite 1.1.</p>
<p>So what have i been playing with? How about a Live London Tube Status FlashLite 1.1 application?</p>
<p><span id="more-235"></span></p>
<p>The Data format?<br />
<code><br />
lnID0=0&lnID1=0&lnID2=0&lnID3=0&lnID4=6&<br />
lnID5=0&lnID6=0&lnID7=1&lnID8=0&lnID9=0&<br />
lnID10=0&lnID11=0&itemLoaded=true<br />
</code></p>
<p>The lack of native structured data in FlashLite 1.1 means you have to think differently about what you are conveying, where best to store it, and how to access it. The example format above allows me to form references between pseudo-arrays in the FlashLite file that store much bulkier text labels, those strings can then be used multiple times in the application.</p>
<p>First I have a pseudo-array with my representation of the London Tube Lines.<br />
<code><br />
lineNames0 = "Bkrloo";<br />
lineNames1 = "Cntrl";<br />
lineNames2 = "Crcle";<br />
lineNames3 = "Dstrct";<br />
lineNames4 = "Est Lndn";<br />
lineNames5 = "Hmrsmth & Cty";<br />
lineNames6 = "Jblee";<br />
lineNames7 = "Mtropltn";<br />
lineNames8 = "Nrthrn";<br />
lineNames9 = "Pcdilly";<br />
lineNames10 = "Vctria";<br />
lineNames11 = "Wtrloo & Cty";<br />
</code></p>
<p>Also I store my interpretation of the common tube status' in a similar pseudo-array.<br />
<code><br />
lineStatus0 = "Normal Service";<br />
lineStatus1 = "Short Delays";<br />
lineStatus2 = "Long Delays";<br />
lineStatus3 = "Suspended";<br />
lineStatus4 = "Part Suspended";<br />
lineStatus5 = "Part Closed";<br />
lineStatus6 = "Planned Closure";<br />
</code></p>
<p>Then once the data has loaded, note the last name value pair (itemLoaded=true) it allows my load script to spot when all the data is in the application. I perform a little loop operation to link my labels to line id's and then use the value of the loaded variable to set the frame of a "status" movie clip.</p>
<p><code><br />
itemTotal = 0;<br />
i = 0;<br />
/*<br />
loop through the loaded data, we know that there are not more than 11 Tube lines in London, at the moment.<br />
*/<br />
while(i < 12)<br />
{<br />
	serviceLine = "/serviceBoard/serviceLine";<br />
	lnStatus = eval("/channelData_mc/:lnID" add i);<br />
	lnLabel = serviceLine add i add "/:_serviceItemLabel";<br />
	stLabel = serviceLine add i add "/:_serviceStatusLabel";<br />
	lnItem = serviceLine add i add "/serviceItemLine";<br />
	stItem = serviceLine add i add "/serviceItemStatus";<br />
	set((lnItem add "/:lnNum"), i+1);<br />
	set((stItem add "/:lnNum"), (lnStatus+1));<br />
	eval(serviceLine add i add "/:_serviceItemLabel") = eval("/channelData_mc/:lineNames" add i);<br />
	eval(serviceLine add i add "/:_serviceStatusLabel") = eval("/channelData_mc/:lineStatus" add lnStatus);<br />
	tellTarget(lnItem)<br />
	{<br />
        gotoAndStop(lnNum);<br />
	}<br />
	tellTarget(stItem)<br />
	{<br />
        gotoAndStop(lnNum);<br />
	}<br />
	++i;<br />
}<br />
</code></p>
<p>The Result?</p>
<p><a href="http://blog.bittube.com/london-tube-status-flashlite-application/" title="Download the Live London Tube Status FlashLite Mobile Application">Download the Live London Tube Status FlashLite 1.1 Application for Mobile Devices</a>.</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2008/02/05/using-compact-data-formats-in-flashlite-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Ruby on Rails development book offered by Sitepoint</title>
		<link>http://blog.bittube.com/2007/10/03/free-ruby-on-rails-development-book-offered-by-sitepoint/</link>
		<comments>http://blog.bittube.com/2007/10/03/free-ruby-on-rails-development-book-offered-by-sitepoint/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 16:00:15 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Bokos]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/2007/10/03/free-ruby-on-rails-development-book-offered-by-sitepoint/</guid>
		<description><![CDATA[I have just seen that sitepoint are offering the download of a free Ruby on Rails development book. You do have to provide an email address, but other than that its all free, gratis and as one post also notes the offer has been so popular, it took the site down!
Download your free Ruby on [...]]]></description>
			<content:encoded><![CDATA[<p>I have just seen that <a href="http://www.sitepoint.com">sitepoint</a> are offering the download of a free Ruby on Rails development book. You do have to provide an email address, but other than that its all free, gratis and as one post also notes the offer has been so popular, <a href="http://www.sitepoint.com/blogs/2007/10/03/free-pdf-giveaway-takes-down-sitepoint">it took the site down</a>!</p>
<p><a href="http://www.sitepoint.com/books/rails1/freebook.php">Download your free Ruby on Rails Book Here.</a></p>
<p>Via: <a href="http://www.devlounge.net">DevLounge</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2007/10/03/free-ruby-on-rails-development-book-offered-by-sitepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
