<?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>Stofke on wheels</title>
	<atom:link href="http://wheels.onebuttonapps.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://wheels.onebuttonapps.net</link>
	<description>Just another webdev site</description>
	<lastBuildDate>Wed, 04 Apr 2012 19:22:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Use Dropbox to store your Sublime Text 2 settings, themes and plugins</title>
		<link>http://wheels.onebuttonapps.net/2012/04/use-dropbox-to-store-your-sublime-text-2-settings/</link>
		<comments>http://wheels.onebuttonapps.net/2012/04/use-dropbox-to-store-your-sublime-text-2-settings/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 19:16:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Sublime Text 2]]></category>
		<category><![CDATA[Sublime Text2]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/?p=139</guid>
		<description><![CDATA[After my last blog post on Fetch &#38; Sublime, I thought let&#8217;s give another nice hint on how to get the most out of Sublime Text 2. Sometimes you work on Windows, sometimes on Mac or Linux or just on another computer but you still want to use the settings, themes and set of plugins [...]]]></description>
			<content:encoded><![CDATA[<p>After my last blog post on <strong>Fetch &amp; Sublime</strong>, I thought let&#8217;s give another nice <strong>hint</strong> on how to get the most out of <a href="http://www.sublimetext.com/2">Sublime Text 2</a>.</p>
<p>Sometimes you work on <strong>Windows</strong>, sometimes on <strong>Mac</strong> or <strong>Linux</strong> or just on <strong>another computer</strong> but you still want to use the <strong>settings, themes and set of plugins</strong> everywhere.  One of the easiest ways to do this is to use your <strong>DropBox</strong> account.</p>
<p><strong>DropBox</strong>  is basically just a <strong>regular folder</strong> on you computer <strong>that syncs to the cloud</strong>.  The first <strong>2 GB</strong> are <strong>free</strong> so if you use it to store documents you&#8217;re fine with the 2 GB.  You can however buy more space if required.  By inviting friends you can increase your <a href="http://db.tt/gAWBLcL">Dropbox</a> size (friend invite link).  Trust me it&#8217;s worth it, once you have Dropbox you wonder how you could live without it all these years.</p>
<p>The nice thing about Dropbox is it has <strong>versioning build right in</strong>, so even if you accidentally delete a file you can get it back.  Not only that you can set up <strong>shared folders</strong> to share documents between 2 or more people and even <strong>public folders</strong> to share with any internet user.</p>
<p>Ok but let&#8217;s go back to <a href="http://www.sublimetext.com/2">Sublime Text 2</a>.</p>
<p>One thing you could do is store your <strong>projects</strong> on your <strong>DropBox</strong>  account that way all your projects are synced across all your devices.  But you could also store your <strong>settings, themes and plugins</strong> on <strong>DropBox</strong>.</p>
<h3>How does it work?</h3>
<h4><strong>On OS X</strong></h4>
<ol>
<li>First <strong>close Sublime Text 2</strong></li>
<li>In your Dropbox folder (usually it&#8217;s at &#8220;<strong><code>~/Dropbox/"</code></strong>), add a folder called &#8220;<strong><code>Sublime Text 2"</code></strong></li>
<li>Go to your Sublime Text 2 settings (this is usually at &#8220;<strong><code>~/Library/Application\ Support/Sublime\ Text\ 2/"</code></strong>)</li>
<li>Copy the following 3 folders into &#8220;<strong><code>~/Dropbox/Sublime\ Text\ 2/ "</code></strong></li>
<ul>
<li><strong><code>"Installed Packages"</code></strong></li>
<li><strong><code>"Packages"</code></strong></li>
<li><strong><code>"Pristine Packages"</code></strong></li>
</ul>
<li>Rename the <strong>3 original folders</strong> in &#8220;<strong><code>~/Library/Application\ Support/Sublime\ Text\ 2/</code></strong><strong><code>"</code></strong> or delete them.</li>
<li>Next go back to <strong>Terminal</strong></li>
<li>From the command line type &#8220;<strong><code>cd ~/Library/Application\ Support/Sublime\ Text\ 2/"</code> </strong></li>
<li><strong><code>"ln -s ~/Dropbox/Sublime\ Text\ 2/Installed\ Packages ./Installed\ Packages"</code></strong></li>
<li><strong><code>"ln -s ~/Dropbox/Sublime\ Text\ 2/Packages ./Packages"</code></strong></li>
<li><strong><code>"ln -s ~/Dropbox/Sublime\ Text\ 2/Pristine\ Packages ./Pristine\ Packages"</code></strong></li>
</ol>
<p>Start Sublime Text 2 and you&#8217;ll be linked to Dropbox.</p>
<p>On your other devices do</p>
<ul>
<li><strong><code>"mv ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User /tmp"</code></strong></li>
<li><strong><code>"ln -s ~/Dropbox/User ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User"</code></strong></li>
</ul>
<h4>On <strong>Windows</strong></h4>
<p>you can probably figure out the first part but for the symlinks you can use the syntax below:</p>
<div>
<ul>
<li><strong><code>mklink /D "Installed Packages" "C:\path\to\Dropbox\appdata\sublime\Installed Packages" </code></strong></li>
<li><strong><code>mklink /D "Packages" "C:\path\to\Dropbox\apps\sublime\Packages" </code></strong></li>
<li><strong><code>mklink /D "Pristine Packages" "C:\path\to\Dropbox\apps\sublime\Pristine Packages"</code></strong></li>
</ul>
<h4>On Linux</h4>
<div>I presume the <strong>Linux</strong> setup is similar to the Mac setup but if your using Linux you probably know your way around the command line enough to figure out how to do this once you get the idea.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2012/04/use-dropbox-to-store-your-sublime-text-2-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nettuts Fetch for Sublime Text with Coldfusion on Wheels</title>
		<link>http://wheels.onebuttonapps.net/2012/03/nettuts-fetch-for-sublime-text-with-coldfusion-on-wheels/</link>
		<comments>http://wheels.onebuttonapps.net/2012/03/nettuts-fetch-for-sublime-text-with-coldfusion-on-wheels/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 15:49:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Wheels]]></category>
		<category><![CDATA[CFWheels]]></category>
		<category><![CDATA[Sublime Text 2]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/?p=132</guid>
		<description><![CDATA[Sublime Text 2 is an awesome editor with support for Coldfusion. I recently came across a nice plugin from Nettuts called Fetch. This package enables you to download the latest version of zipfiles or  files that you need for any kind of webdevelopment straight from your editor. You could  use it to get  the latest version [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Sublime Text 2</strong> is an awesome editor with support for <strong>Coldfusion</strong>.</p>
<p>I recently came across a nice plugin from Nettuts called <a title="Nettus Fetch" href="http://net.tutsplus.com/articles/news/introducing-nettuts-fetch/">Fetch</a>. <img class="alignleft" style="margin: 20px;" src="http://d2o0t5hpnwv4c1.cloudfront.net/1117_fetch/NettutsFetch-1.jpg" alt="" width="199" height="191" />This package enables you to download the latest version of zipfiles or  files that you need for any kind of webdevelopment straight from your editor.</p>
<p>You could  use it to get  the latest version of JQuery, Mootools, Modernizr, Twitter Bootstrap and of course also CFWheels.</p>
<p>It&#8217;s like telling your dog get me the latest version of Coldfusion on Wheels and install it to a folder.</p>
<p>While you can manually download <strong>Nettuts+ Fetch</strong> from <a title="GitHub" href="https://github.com/weslly/Nettuts-Fetch">GitHub</a>, the easiest way to set it up is through <a title="Package Control" href="http://wbond.net/sublime_packages/package_control">Package Control</a>. Once you’ve installed Package Control,<strong> press ctrl+shift+p (Windows, Linux) or cmd+shift+p (OS X)</strong>, and type “<strong>Package Install</strong>” Next, search for “<strong>Nettuts+ Fetch</strong>,” press enter, and you’re done.</p>
<p><strong>press ctrl+shift+p (Windows, Linux) or cmd+shift+p (OS X)</strong> and  type Fetch.  Click to open <strong>Fetch: Manage remote files </strong></p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2012/03/Screen-Shot-2012-03-30-at-17.29.06.png"><img class="aligncenter size-full wp-image-133" title="Screen Shot 2012-03-30 at 17.29.06" src="http://wheels.onebuttonapps.net/wp-content/uploads/2012/03/Screen-Shot-2012-03-30-at-17.29.06.png" alt="Fetch" width="639" height="138" /></a></p>
<p>In here add <strong>&#8220;CFWheels&#8221;: &#8220;http://cfwheels.org/download/latest-version&#8221;,</strong>   to the packages.</p>
<p style="text-align: center;"><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2012/03/Screen-Shot-2012-03-30-at-17.32.24.png"><img class="aligncenter  wp-image-135" title="Screen Shot 2012-03-30 at 17.32.24" src="http://wheels.onebuttonapps.net/wp-content/uploads/2012/03/Screen-Shot-2012-03-30-at-17.32.24.png" alt="" width="596" height="159" /></a></p>
<p>Your Done.</p>
<p>Now make a new folder open it up in <strong>Sublime Text 2</strong> and <strong>press ctrl+shift+p (Windows, Linux) or cmd+shift+p (OS X)</strong> and  type Fetch.  Click to open <strong>Fetch &gt; Package file &gt; </strong><strong>CFWheels</strong>.   Voila the latest version of Wheels is downloaded and extracted in your folder.</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2012/03/Screen-Shot-2012-03-30-at-17.38.05.png"><img class="size-full wp-image-136 alignnone" title="Screen Shot 2012-03-30 at 17.38.05" src="http://wheels.onebuttonapps.net/wp-content/uploads/2012/03/Screen-Shot-2012-03-30-at-17.38.05.png" alt="" width="175" height="493" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2012/03/nettuts-fetch-for-sublime-text-with-coldfusion-on-wheels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coldfusion on Wheels Server update</title>
		<link>http://wheels.onebuttonapps.net/2011/10/coldfusion-on-wheels-server-update/</link>
		<comments>http://wheels.onebuttonapps.net/2011/10/coldfusion-on-wheels-server-update/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 09:15:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/?p=113</guid>
		<description><![CDATA[After quite a bit of time I re-wrote a large part of the code that hooks Railo, Resin and Coldfusion on Wheels together in a fully self-contained application for OS X that doesn&#8217;t require complex installation. Basically it&#8217;s  drag and drop the app to the Applications folder that sets up a basic development server on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/10/cow.png"><img class="aligncenter size-full wp-image-131" title="cow" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/10/cow.png" alt="Coldfusion on Wheels Server" width="423" height="468" /></a></p>
<p>After quite a bit of time I re-wrote a large part of the code that hooks <a title="Railo" href="http://getrailo.org" target="_blank">Railo</a>, <a title="Resin" href="http://www.caucho.com/" target="_blank">Resin</a> and <a title="Coldfusion on Wheels" href="http://cfwheels.org" target="_blank">Coldfusion on Wheels</a> together in a fully self-contained application for OS X that <strong>doesn&#8217;t require complex installation</strong>.</p>
<p>Basically it&#8217;s  drag and drop the app to the Applications folder that sets up a basic development server on OS X for <a title="Coldfusion on Wheels" href="http://cfwheels.org" target="_blank">Coldfusion on Wheels</a>.  However you could also run PHP or JSP on it but it&#8217;s mainly focused on <a title="Coldfusion on Wheels" href="http://cfwheels.org" target="_blank">Coldfusion on Wheels </a> <strong>a framework for Coldfusion</strong> inspired by Rails that&#8217;s attracting more and more users.</p>
<p>As a developer you basically want to churn out code <strong>NOT</strong> spend time configuring servers especially if your new to a language or framework.  So basically Cows is for those who want to <strong>test</strong> <a title="Coldfusion on Wheels" href="http://cfwheels.org" target="_blank">Coldfusion on Wheels</a> without wanting to litter their OS with files or configuring web servers or downloading 1/2 a GB of software.</p>
<p>More and more people switch to Mac and Adobe Coldfusion Server has traditionally been a Windows oriented platform but it doesn&#8217;t have to be and  you shouldn&#8217;t miss out on it just because you own a <strong>Mac</strong>.</p>
<p>The linux version hasn&#8217;t been updated yet as I don&#8217;t use it as much but if there is interest in the linux version I will update it.</p>
<p>Once installed COWS doesn&#8217;t really need any updating unless you want to update <a title="Resin" href="http://www.caucho.com/" target="_blank">Resin</a> as you can update <a title="Railo" href="http://getrailo.org" target="_blank">Railo</a> directly from within it&#8217;s admin interface with one single click of a button.</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/10/launcher.png"><img class="aligncenter size-full wp-image-123" title="launcher" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/10/launcher.png" alt="" width="466" height="136" /></a><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/10/resin.png"><img class="aligncenter size-full wp-image-125" title="resin" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/10/resin.png" alt="" width="450" height="175" /></a></p>
<p style="text-align: center;"><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/10/cowsscreenshot.png"><img class="aligncenter size-full wp-image-118" title="cowsscreenshot" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/10/cowsscreenshot.png" alt="screenshot cows" width="406" height="280" /></a>So if you want to try out the new version just try it out and let me know how it works for you.</p>
<p>Check it out at:  <a title="Cows - Coldfusion on Wheels Server" href="http://stofke72.github.com/Cows/">http://stofke72.github.com/Cows</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2011/10/coldfusion-on-wheels-server-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make  your own Finder Application Launcher Buttons</title>
		<link>http://wheels.onebuttonapps.net/2011/09/make-your-own-finder-application-launcher-buttons/</link>
		<comments>http://wheels.onebuttonapps.net/2011/09/make-your-own-finder-application-launcher-buttons/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 15:30:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[OpenInTextMate]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/?p=101</guid>
		<description><![CDATA[You probably have seen these buttons before as there are a few around to launch a terminal from the current directory It&#8217;s easy to make your own Finder Application Launcher buttons.  I started by adapting the one for launching TextMate.  There is an excellent post from  Henrik Nyh on the subject.  You only need to adapt the [...]]]></description>
			<content:encoded><![CDATA[<p>You probably have seen these buttons before as there are a few around to launch a terminal from the current directory</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/04/Screen-Shot-2011-09-22-at-16.41.34.png"><img class="aligncenter size-full wp-image-104" title="Screen Shot 2011-09-22 at 16.41.34" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/04/Screen-Shot-2011-09-22-at-16.41.34.png" alt="" width="463" height="44" /></a></p>
<p>It&#8217;s easy to make your own Finder Application Launcher buttons.  I started by adapting the one for launching TextMate.  There is an excellent <a title="Open in TextMate" href="http://henrik.nyh.se/2007/10/open-in-textmate-from-leopard-finder" target="_blank">post</a> from  <a href="http://henrik.nyh.se/about">Henrik Nyh</a> on the subject.  You only need to adapt the script by replacing the word <strong>TextMate</strong> for let&#8217;s say <strong>Sublime2</strong>, <strong>TextWrangler</strong> or <strong>Espresso </strong>whichever editor you like best.</p>
<p>You can also change the image to your taste by following <a title="openterminalhere" href="http://henrik.nyh.se/2007/10/open-terminal-here-and-glob-select-in-leopard-finder" target="_blank">another explanation</a> from the same guy.  The best way is indeed to replace the icns file inside each script bundle with one of your own.  The easiest way to do that I found is to open the icns icon with a Icon Composer ( an icon editor that is part of the Apple Developer Tools) or as alternative <a title="Hobiconer" href="http://download.cnet.com/Hobiconer/3000-2195_4-75220973.html" target="_blank">Hobiconer</a> . Just open it, drop another PNG on it and save.</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/09/iconcomposer.png"><img class="aligncenter size-full wp-image-106" title="iconcomposer" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/09/iconcomposer.png" alt="" width="500" height="390" /></a></p>
<p>I have made a few png files:<br />
<img title="Espr" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/09/Espr1.png" alt="" width="32" height="32" /><img title="sb2" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/09/sb2.png" alt="" width="32" height="32" /><img title="tm" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/09/tm.png" alt="" width="32" height="32" /><img title="tw" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/09/tw.png" alt="" width="32" height="32" /></p>
<p>And <a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/09/droplet.zip">Pixelmator/Photoshop template</a> to make others.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2011/09/make-your-own-finder-application-launcher-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google chrome web store, a serious security risk.</title>
		<link>http://wheels.onebuttonapps.net/2011/04/google-chrome-web-store-a-serious-security-risk/</link>
		<comments>http://wheels.onebuttonapps.net/2011/04/google-chrome-web-store-a-serious-security-risk/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 22:23:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Google chrome's web store]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/?p=99</guid>
		<description><![CDATA[All it takes to publish a web app on Google chrome&#8217;s web store is a link to a site or some basic html and javascript and a few dollars. Trademark infringement in the web store and extensions gallery at the Google chrome web store is abundant and Google only removes it when the trademark owner [...]]]></description>
			<content:encoded><![CDATA[<p>All it takes to publish a web app on Google chrome&#8217;s web store is a link to a site or some basic html and javascript and a few dollars.  </p>
<p>Trademark infringement in the web store and extensions gallery at the Google chrome web store is abundant and Google only removes it when the trademark owner asks to remove it.   The user is not always aware that what he or she installs is not from the company it appears to be.</p>
<p>Let&#8217;s do a hypothecial phishing attack.  I set up a new gmail account with fake data.  Of course I do this from a hacked or public pc.  I use a stolen credit card number or a prepaid credit card to pay for the developers fee to keep my real identity hidden.  Next I use a web-hosting company somewhere abroad in some shady remote place to register a website or use a dynamic ip redirection service to direct to a hacked pc serving as web-server.  You get the picture.</p>
<p>Now I just need a html script with a simple window.location javascript or some ajax and  package it as a webapp.</p>
<p><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">That&#8217;s how easy it is to create a webapp: http://code.google.com/chrome/apps/docs/developers_guide.html</a></p>
<p>Now let&#8217;s steal an icon of let&#8217;s say LogMeIn and publish this app on the Google chrome&#8217;s web store.  Now it looks like I have created a legitimate LogmeIn app.  Let&#8217;s name it LogmeIn or a variation on the name.  At this point we don&#8217;t care about trademarks and Google doesn&#8217;t mind either unless LogmeIn complains.  So we are pretty safe here.</p>
<p>Unlike at Mozilla where an extension is put on hold until verified at the Google chrome webstore there is no control whatsoever at publishing time.  You can publish about anything as long as nobody files a complaint it will go unnoticed.  </p>
<p>Because it&#8217;s a webapp no URL is shown in the address bar so the user has no way of knowing that my app is not affiliated with LogmeIn,  he truly believes he is using a legitimate LogmeIn app, it has the logmeIn name and logo so why would he think otherwise.  </p>
<p>I register a domain with a logmeIn subdomain to make it a bit more genuine. I use a javascript or ajax script to redirect to my site which directly redirects to the real LogmeIn site or I direct it directly to LogmeIn.  No problem there.  The user ends up on on LogmeIn&#8217;s site and has a nice button to the logmeIn&#8217;s site, he is a happy camper.  I leave this a few days like this to build my userbase.</p>
<p>After a while I redirect to my phishing page by changing my redirect or by updating my app to my phising page that is similar in style as the LogmeIn site.  Now I record all passwords in my own database and login with those on the real LogMeIn site.  Suddenly I have access to other peoples computers.</p>
<p>Same thing is possible with banking sites, shopping sites you name it.  It doesn&#8217;t even take a lot of programming skills to do.  It&#8217;s just a disaster waiting to happen.  Google seems to be really relaxed and allows apps that infringe on trademarks and apps that do not even abide by their own policies.</p>
<p>Another popular app is the Dropbox app which is a link through to Dropbox, this is in violation of their own spam policy as you have to be the owner of the site you link through.   But one of the Dropbox apps has about 47000+ users so it generates a lot of traffic to the web store and as such I presume Google doesn&#8217;t care about enforcing it&#8217;s own policies in this case, what applies to one developer doesn&#8217;t necessarily apply to another, it seems it is on a as Google sees fit base. </p>
<p>Now Image this developer having bad intentions ( I don&#8217;t think he does but just imagine ) and he sets up a phishing page&#8230;  Boom access to 47000 accounts.  And by the time Google &#038; DropBox are informed a lot of damage can be done.</p>
<p>As I said Google seems to not remove apps that generate lots of traffic and allows them to violate about any rule in their policies.  They also do not check every published app.  I believe this attitude will sooner or later cause some serious damage when someone starts using the Google chrome&#8217;s web store for phishing attacks.  Google could face some serious lawsuits coming their way unless they enforce their own policies and do some basic security checks</p>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2011/04/google-chrome-web-store-a-serious-security-risk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Coldfusion commandline with Railo on OS X (or linux)</title>
		<link>http://wheels.onebuttonapps.net/2011/02/coldfusion-commandline-with-railo-on-os-x-or-linux/</link>
		<comments>http://wheels.onebuttonapps.net/2011/02/coldfusion-commandline-with-railo-on-os-x-or-linux/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 10:52:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/2011/02/coldfusion-commandline-with-railo-on-os-x-or-linux/</guid>
		<description><![CDATA[Wouldn&#8217;t it be great if you could have a commandline for executing colfusion code.  Well actually I discovered Oscar Arevolo already did. CFShell-A&#8211;command-line-interface-for-CFML-engines He even made his code directly available on RiaForge To set it up you simple need to unzip the downloaded file into your root folder: wwwroot (or htdocs) &#124;------cfshell &#124;----- other app Next [...]]]></description>
			<content:encoded><![CDATA[<p>Wouldn&#8217;t it be great if you could have a commandline for executing colfusion code.  Well actually I discovered Oscar Arevolo already did.</p>
<p><a href="http://www.oscararevalo.com/index.cfm/2009/10/7/CFShell-A--command-line-interface-for-CFML-engines" target="_blank">CFShell-A&#8211;command-line-interface-for-CFML-engines</a></p>
<p>He even made his code directly available on <a href="here" target="_blank">RiaForge</a></p>
<p>To set it up you simple need to unzip the downloaded file into your root folder:</p>
<pre style="padding-left: 30px;">wwwroot (or htdocs)
  |------cfshell
  |----- other app</pre>
<ol>
<li>Next open up the  file cfshell.py and change the following line:
<ul>
<li><strong>defaultHost = &#8216;http://localhost:8600/cfshell&#8217;</strong></li>
<li><strong></strong>(this should point to folder containing cfshell.cfm, port number can be different depending on how you set up Railo)</li>
</ul>
</li>
<li>Now <strong>turn off debugging</strong> output in Railo admin.</li>
<li>Next in <strong>Terminal</strong> do this<strong>:<span style="font-weight: bold;"><strong> </strong></span></strong>
<ul>
<li><strong><span style="font-weight: bold;"><strong>sudo chmod a+x /</strong></span></strong><em><span style="font-weight: normal;">PATH_TO</span></em><strong>/cfshell/cfshell.py</strong></li>
<li>(where PATH_TO points to you wwwroot or htdocs)</li>
</ul>
</li>
<li>now <strong>create a symlink to cfshell.py </strong>with name <strong>cfshell</strong> and move that into <strong>/usr/bin</strong> (or another location your path) :<strong> </strong>
<ul>
<li><strong>ln -s /</strong><em><span style="font-weight: normal;">PATH_TO</span></em><strong>/cfshell/cfshell.py /usr/bin/cfshell</strong></li>
<li>(where PATH_TO points to you wwwroot or htdocs)</li>
</ul>
</li>
<li>Make sure <strong>Railo</strong> is <strong>running</strong>.  Now you can do this in <strong>Terminal</strong>:
<ul>
<li><strong>cfshell</strong> and press &lt;ENTER&gt; and you&#8217;ll see this</li>
</ul>
</li>
</ol>
<pre style="padding-left: 30px;"><strong>CCFShellClient :: Version 0.3</strong>
<strong>URL: http://localhost/cfshell/</strong>
<strong>Type .help for available commands</strong>
<strong>&gt;&gt; </strong><strong>.cfscript for(i=1;i&lt;11;i++) {writeoutput("#i#,");}</strong>
<strong>1,2,3,4,5,6,7,8,9,10,</strong>
<strong>&gt;&gt;</strong></pre>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2011/02/coldfusion-commandline-with-railo-on-os-x-or-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CFWheels Framework Updater</title>
		<link>http://wheels.onebuttonapps.net/2011/02/cfwheels-framework-updater/</link>
		<comments>http://wheels.onebuttonapps.net/2011/02/cfwheels-framework-updater/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 22:45:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Wheels]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[CFWheels]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/?p=87</guid>
		<description><![CDATA[After the CFWheels Framework Generator , why not a CFWheels Framework Updater. Say you would like to update your webapplication to the latest version, you&#8217;d have to download the new CFWheels version from the site, next unzip it, copy the wheels directory from the extracted zipfile, delete the original wheels directory and replace it with [...]]]></description>
			<content:encoded><![CDATA[<p>After the CFWheels Framework Generator , why not a CFWheels Framework Updater.</p>
<p>Say you would like to update your webapplication to the latest version, you&#8217;d have to download the new CFWheels version from the site, next unzip it, copy the wheels directory from the extracted zipfile, delete the original wheels directory and replace it with the new one.</p>
<p>Not only that you have to remember to make a backup in case it might break your code.</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.01.19.png"><img class="aligncenter size-full wp-image-88" title="Screen shot 2011-02-05 at 23.01.19" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.01.19.png" alt="" width="553" height="416" /></a></p>
<p>Now you can simply select your webapplication folder, and you&#8217;ll be asked if you want to update your version of wheels.  Once you agree it will make a backup of your wheels folder, download the latest CFWheels version extract only the wheels folder and update it all in two clicks.</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.01.38.png"><img class="aligncenter size-full wp-image-89" title="Screen shot 2011-02-05 at 23.01.38" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.01.38.png" alt="" width="374" height="131" /></a></p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.07.02.png"><img class="aligncenter size-full wp-image-92" title="Screen shot 2011-02-05 at 23.07.02" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.07.02.png" alt="" width="487" height="158" /></a></p>
<p>If something&#8217;s wrong after the update just run the tool again and it will detect the backup and asks you if  you want to do a rollback to the previous version.</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.06.19.png"><img class="aligncenter size-full wp-image-90" title="Screen shot 2011-02-05 at 23.06.19" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.06.19.png" alt="" width="374" height="142" /></a></p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.06.37.png"><img class="aligncenter size-full wp-image-91" title="Screen shot 2011-02-05 at 23.06.37" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen-shot-2011-02-05-at-23.06.37.png" alt="" width="486" height="159" /></a></p>
<p>The files it deletes during the update or rollback process are moved to the Trash so if the tool goes nuts you can still recover your files from the Trash.</p>
<p>Note this tool might not function if an updated version has changes to files outside of the wheels folder. In other words as long as the update process involves only replacing the wheels folder, it will work.</p>
<p>Of course there&#8217;s also a Coda and a TextMate plugin</p>
<p>Download: <a href="https://github.com/downloads/Stofke72/COW-UG/CFWheels%20Framework%20Updater.dmg">CFWheels Framework Updater.dmg</a></p>
<p>Coda plugin : <a href="https://github.com/downloads/Stofke72/COW-UG/CFWheels%20Updater.codaplugin.zip">CFWheels Updater.codaplugin.zip </a></p>
<p>TextMate plugin: <a href="https://github.com/downloads/Stofke72/COW-UG/CFWheels%20Update.tmCommand.zip">CFWheels Updater.tmCommand.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2011/02/cfwheels-framework-updater/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Extract a folder from a zip file</title>
		<link>http://wheels.onebuttonapps.net/2011/02/extract-a-folder-from-a-zip-file/</link>
		<comments>http://wheels.onebuttonapps.net/2011/02/extract-a-folder-from-a-zip-file/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 23:08:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/2011/02/extract-a-folder-from-a-zip-file/</guid>
		<description><![CDATA[Looking at the unzip commands manual I couldn&#8217;t figure out how to just extract one folder with subfolders from a zip file without first unzipping the zipfile and deleting the unneeded folders. Let&#8217;s say I have myzipfile.zip containing these files: folder1 &#124; +--text1.txt folder3 &#124; +--text3.txt folder2 &#124; +--folder21 &#124; &#124; &#124; +--text21.txt &#124; +--folder22 [...]]]></description>
			<content:encoded><![CDATA[<p>Looking at the unzip commands manual I couldn&#8217;t figure out how to just extract one folder with subfolders from a zip file without first unzipping the zipfile and deleting the unneeded folders.</p>
<p>Let&#8217;s say I have myzipfile.zip containing these files:</p>
<pre style="padding-left: 30px;"><strong><span style="color: #000080;">folder1
    |
    +--text1.txt

folder3
    |
    +--text3.txt

folder2
    |
    +--folder21
    |       |
    |       +--text21.txt
    |
    +--folder22
    |       |
    |       +--text22.txt
    |
    +--text2.txt</span></strong></pre>
<p>I only want folder 2 with it&#8217;s subfolders and I don&#8217;t want folder 1 and folders 2.</p>
<p>The man pages of unzip says to supply  the unzip command a list of  files or folders.  Having to manually list all folders and subfolders and files is cumbersome when dealing with large zipfiles.</p>
<p>To automate and use this in a script this I listed the contents of the zip file</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">unzip -l myzipfile.zip </code></p>
<pre style="padding-left: 30px;"><strong><span style="color: #000080;">Archive:  myzipfile.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  02-05-2011 02:07   folder3/
        0  02-05-2011 01:42   folder3/text3.txt
        0  02-05-2011 02:07   folder1/
        0  02-05-2011 01:42   folder1/text1.txt
        0  02-05-2011 01:43   folder2/
        0  02-05-2011 02:07   folder2/folder21/
        0  02-05-2011 01:42   folder2/folder21/text21.txt
        0  02-05-2011 02:07   folder2/folder22/
        0  02-05-2011 01:42   folder2/folder22/text22.txt
        0  02-05-2011 01:42   folder2/text2.txt
---------                     -------
        0                     10 files</span></strong></pre>
<p>which returns the above folderstructure inside the zipfile</p>
<p>Next I used awk to get the 4 th column of the output</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">awk  '{print $4}'</code></p>
<pre style="padding-left: 30px;"><span style="color: #000080;"><strong><em>--blank line--</em>
Name
----
folder3/
folder3/text3.txt
folder1/
folder1/text1.txt
folder2/
folder2/folder21/
folder2/folder21/text21.txt
folder2/folder22/
folder2/folder22/text22.txt
folder2/text2.txt
<em>--blank line--
--blank line--
--blank line--</em></strong></span></pre>
<p>This leaves a few blank lines that we remove with a sed command</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">sed '/^$/d'</code></p>
<pre style="padding-left: 30px;"><strong><span style="color: #000080;">Name
----
folder3/
folder3/text3.txt
folder1/
folder1/text1.txt
folder2/
folder2/folder21/
folder2/folder21/text21.txt
folder2/folder22/
folder2/folder22/text22.txt
folder2/text2.txt</span></strong></pre>
<p>Next we remove the top 2 lines also with sed</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">sed '1,2d'</code></p>
<pre style="padding-left: 30px;"><strong><span style="color: #000080;">folder3/
folder3/text3.txt
folder1/
folder1/text1.txt
folder2/
folder2/folder21/
folder2/folder21/text21.txt
folder2/folder22/
folder2/folder22/text22.txt
folder2/text2.txt</span></strong></pre>
<p>Then we sort the output</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">sort</code></p>
<pre style="padding-left: 30px;"><strong><span style="color: #000080;">folder1/
folder1/text1.txt
folder2/
folder2/folder21/
folder2/folder21/text21.txt
folder2/folder22/
folder2/folder22/text22.txt
folder2/text2.txt
folder3/
folder3/text3.txt</span></strong></pre>
<p>Next we select the folder we are looking for using grep</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">grep  '^folder2'</code></p>
<pre style="padding-left: 30px;"><strong><span style="color: #000080;">folder1/
folder1/text1.txt
folder3/
folder3/text3.txt</span></strong></pre>
<p>Now we put all output on 1 line by replacing all newline characters with a space character</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">tr '\n' ' '</code></p>
<pre style="padding-left: 30px;"><strong><span style="color: #000080;">folder1/ folder1/text1.txt folder3/ folder3/text3.txt</span></strong></pre>
<p>Combined this results in:</p>
<p><code style="font-weight: 700; padding-left: 30px;"><span style="color: #ff6600;">unzip -l myzipfile.zip | awk '{print $4}' | sed '/^$/d' | sed '1,2d' | sort | grep  '^folder2' | tr '\n' ' '</span></code></p>
<p>Now use this in the unzip command:</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">unzip myzipfile.zip   <span style="color: #ff6600;">$(unzip -l myzipfile.zip | awk '{print $4}' | sed '/^$/d' | sed '1,2d' | sort | grep  '^folder2' | tr '\n' ' ')</span></code></p>
<pre style="padding-left: 30px;"><span style="color: #000080;"><strong>Archive:  myzipfile.zip
   creating: folder2/
   creating: folder2/folder21/
 extracting: folder2/folder21/text21.txt
   creating: folder2/folder22/
 extracting: folder2/folder22/text22.txt
 extracting: folder2/text2.txt </strong> </span></pre>
<p>In most cases you can ommit the sed commands (unless the folder name starts with Name), the sort and also the tr command appears to be not necessary.</p>
<p>This leaves us with a short command</p>
<p><code style="color: #000000; font-weight: bold; padding-left: 30px;">unzip myzipfile.zip  <span style="color: #ff6600;">$(unzip -l myzipfile.zip | awk '{print $4}'| grep  '^folder2')</span></code></p>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2011/02/extract-a-folder-from-a-zip-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CFWheels Framework Generator</title>
		<link>http://wheels.onebuttonapps.net/2011/02/cfwheels-framework-generator/</link>
		<comments>http://wheels.onebuttonapps.net/2011/02/cfwheels-framework-generator/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 20:26:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Wheels]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[CFWheels]]></category>
		<category><![CDATA[Coda]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/2011/02/cfwheels-framework-generator/</guid>
		<description><![CDATA[I made a small AppleScript based application to generate a new CFWheels site.  Basically it downloads the latest version for you and installs it in the directory of your choice. Type de name of your new Wheels site Choose where you want to have it That&#8217;s it. Download: CFWheels Framework Generator.dmg Coda plugin : CFWheels [...]]]></description>
			<content:encoded><![CDATA[<p>I made a small AppleScript based application to generate a new CFWheels site.  Basically it downloads the latest version for you and installs it in the directory of your choice.</p>
<p>Type de name of your new Wheels site</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen1.png"><img class="aligncenter size-full wp-image-75" title="Screen1" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen1.png" alt="" width="394" height="178" /></a></p>
<p>Choose where  you want to have it</p>
<p><a href="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen2.png"><img class="aligncenter size-full wp-image-76" title="Screen2" src="http://wheels.onebuttonapps.net/wp-content/uploads/2011/02/Screen2.png" alt="" width="553" height="419" /></a></p>
<p>That&#8217;s it.</p>
<p>Download: <a href="https://github.com/downloads/Stofke72/COW-UG/CFWheels%20Framework%20Generator.dmg">CFWheels Framework Generator.dmg</a></p>
<p>Coda plugin : <a href="https://github.com/downloads/Stofke72/COW-UG/CFWheels%20Framework.codaplugin.zip">CFWheels Framework.codaplugin.zip</a></p>
<p>TextMate plugin: <a href="https://github.com/downloads/Stofke72/COW-UG/CFWheels%20Framework.tmCommand.zip">CFWheels Framework.tmCommand.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2011/02/cfwheels-framework-generator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install Google webfonts locally on your Mac</title>
		<link>http://wheels.onebuttonapps.net/2011/01/install-google-webfonts-locally-on-your-mac/</link>
		<comments>http://wheels.onebuttonapps.net/2011/01/install-google-webfonts-locally-on-your-mac/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 16:39:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wheels.onebuttonapps.net/2011/01/install-google-webfonts-locally-on-your-mac/</guid>
		<description><![CDATA[You can grab all Google webfonts with a simple script. But to run the script you need to have Mercurial installed. If you have MacPorts installed you could just do the following: Sudo port install Mercurial Or you could install the Mercurial dmg file instead: http://mercurial.selenic.com/downloads After that just run the script, it will download [...]]]></description>
			<content:encoded><![CDATA[<p>You can grab all Google webfonts with a simple script. But to run the script you need to have Mercurial installed. If you have MacPorts installed you could just do the following:</p>
<pre>Sudo port install Mercurial</pre>
<p>Or you could install the Mercurial dmg file instead: <a href="http://mercurial.selenic.com/downloads">http://mercurial.selenic.com/downloads</a></p>
<p>After that just run the script, it will download all fonts and move them into a folder Fonts on your desktop. You can then examine the fonts and install the ones you like. You could also copy the contents directly into ~/Library/Fonts</p>
<pre>
# instala fontes do google no ubuntu
# fonte: http://ubuntex.blogspot.com/2011/02/como-instalar-as-fontes-para-web-do.html
# Original author: Michalis Georgiou &lt;mechmg93@gmail.comr&gt;
# Modified by Andrew http://www.webupd8.org &lt;andrew@webupd8.org&gt;

#sudo apt-get install mercurial

_hgroot=&quot;https://googlefontdirectory.googlecode.com/hg/&quot;
_hgrepo=&quot;googlefontdirectory&quot;

echo &quot;Connecting to Mercurial server....&quot;
if [ -d $_hgrepo ] ; then
	cd $_hgrepo
	hg pull -u || return 1
	echo &quot;The local files have been updated.&quot;
	cd ..
else
	hg clone $_hgroot $_hgrepo || return 1
fi
echo &quot;Mercurial checkout done or server timeout&quot;
sudo mkdir -p ~/Desktop/Fonts
find $PWD/$_hgrepo/ -name &quot;*.ttf&quot; -exec sudo mv {} ~/Desktop/Fonts/ \; || return 1
fc-cache -f &gt; /dev/null
rm -rf ~/googlefontdirectory
echo &quot;done.&quot;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wheels.onebuttonapps.net/2011/01/install-google-webfonts-locally-on-your-mac/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.627 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-20 05:17:44 -->
<!-- Compression = gzip -->
