<?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>drop.by &#187; privacy</title>
	<atom:link href="http://drop.by/tag/privacy/feed" rel="self" type="application/rss+xml" />
	<link>http://drop.by</link>
	<description>Just another weblog</description>
	<lastBuildDate>Tue, 10 Aug 2010 19:22:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Script that prepares photos for Facebook</title>
		<link>http://drop.by/photo-script</link>
		<comments>http://drop.by/photo-script#comments</comments>
		<pubDate>Tue, 04 May 2010 19:12:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://drop.by/?p=248</guid>
		<description><![CDATA[A script that lets you merge photo albums from different cameras while preserving chronological order, and optionally prepares them for e.g. Facebook by removing metadata, resizing, and renaming them.]]></description>
			<content:encoded><![CDATA[<p>This is a follow-up of an <a href="/preparing-photos-for-facebook">earlier post</a>. The topic remains the same; merging photo albums from different cameras while preserving chronological order, and removing potentially private metadata.</p>
<p>Like many others, I have noticed that Facebook increased its photo size <a href="http://blog.facebook.com/blog.php?post=337389082130">from 604 to 720 pixels</a>. At the same time, I noticed that the commands in my last post weren&#8217;t perfect. I have tried to write an improved script:</p>
<ul>
<li><a href="/files/facebook.sh.txt">facebook.sh</a></li>
</ul>
<p>Simply run it in your photos folder and it will make a &#8216;facebook&#8217; directory to which it copies your processed photos. By default, it only handles the photos in the current directory. To make it recursive (it will skip the &#8216;facebook&#8217; dir), just remove or edit &#8220;-maxdepth 1&#8243;.</p>
<p>As before, I can recommend <a href="http://www.imagemagick.org/">ImageMagick</a> and <a href="http://www.cygwin.com/">Cygwin</a> if you are a Windows user.</p>
<p>Shouldn&#8217;t have to mention it, but: Use at your own risk.</p>
]]></content:encoded>
			<wfw:commentRss>http://drop.by/photo-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubiquitous Web OS Command Line</title>
		<link>http://drop.by/ubiquitous-web-os-command-line</link>
		<comments>http://drop.by/ubiquitous-web-os-command-line#comments</comments>
		<pubDate>Sat, 06 Feb 2010 22:21:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[accelerator]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[cross-browser]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[prompt]]></category>

		<guid isPermaLink="false">http://drop.by/?p=226</guid>
		<description><![CDATA[One single JavaScript file that let's you access all your favorite internet functions from any browser on any machine, without installing anything.]]></description>
			<content:encoded><![CDATA[<p>The last couple of years, I have been wondering who my &#8220;online profile&#8221; will belong to. First, applications started moving from the PC to the web, such as <a href="http://www.gmail.com/">email</a> and <a href="http://delicious.com/">bookmarking</a>. Then browsers <a title="Opera Link" href="http://www.opera.com/link/">started</a> <a title="Mozilla Weave, Firefox add-on" href="https://mozillalabs.com/weave/">syncing</a> bookmarks and customizations across different PCs and mobile devices.</p>
<p>All of these developments are really exciting, but I am not totally satisfied. For one thing, you have to choose and stick to one particular browser. Also, they do not sync everything that I would like (e.g. <a href="http://en.wikipedia.org/wiki/Greasemonkey">Greasemonkey</a> scripts). A blog post about <a title="Ubiquity Alternatives Offer Power Users Command-Line Tools for the Web" href="http://www.webmonkey.com/blog/Ubiquity_Alternatives_Offer_Power_Users_Command-Line_Tools_for_the_Web">alternatives to Mozilla&#8217;s Ubiquity</a> introduced me to some great projects, and inspired me to start using <a title="Quix, Bookmarklets on steroids" href="http://quixapp.com/">Quix</a>. Quix lets you access your bookmarks, custom searches, and other tools, from one place. It works across all browsers and doesn&#8217;t need to be installed!</p>
<p>Not long after, however, I decided to not depend on Quix at all, and write a free, open version. While Quix lets you write your own command file, I also let you modify and store the code. This way, you don&#8217;t have to worry about Quix crashing, going bankrupt, or eavesdropping on your traffic. You just have to host one JavaScript file (or use mine) and remember its address.</p>
<p>Clicking the following image invokes the script: <a title="Web OS Cmd" href="javascript:WebOsCmd();function WebOsCmd(){var b=false;var h=document.getElementsByTagName('head');if(h.length==0){alert('Error');return;}var s=document.getElementById('weboscmd');if(s)s.parentNode.removeChild(s);s=document.createElement('script');s.src='http://drop.by/WebOsCmd-0.03.min.js';s.id='weboscmd';s.type='text/javascript';s.onload=function(){b=true;};s.onreadystatechange=function(){if(s.readyState=='complete'||s.readyState=='loaded')b=true;};h[0].appendChild(s);var t=window.getSelection?window.getSelection():(document.getSelection?document.getSelection():(document.selection?document.selection.createRange().text:''));var c=window.prompt('Type \'h\' for a list of commands:','');if(c){var o=function(){if(b){s=tingstad(c,t,document.title?encodeURIComponent(document.title):'',''+document.location);if(s!=''){s=window.open(s);s.focus();}}else setTimeout(o,99);};o();}}"><img src="/img/internet.png" border="0" alt="Web OS Cmd" /></a></p>
<p>Drag it to your browser&#8217;s toolbar for convenience. Alter the web address in the link if you want to use your own copy or modified version. The file: <a href="http://drop.by/WebOsCmd-0.03.js">WebOsCmd.js</a></p>
]]></content:encoded>
			<wfw:commentRss>http://drop.by/ubiquitous-web-os-command-line/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Save file by URL</title>
		<link>http://drop.by/save-file-by-url</link>
		<comments>http://drop.by/save-file-by-url#comments</comments>
		<pubDate>Sun, 17 Jan 2010 13:49:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://drop.by/?p=221</guid>
		<description><![CDATA[I created a page where you can paste a URL to generate a link which you then can right click and "Save As...".]]></description>
			<content:encoded><![CDATA[<p>Oftentimes, I have a URL to a file I want to download, but no simple way of downloading it. The problem is that some files (e.g. videos) open in the browser instead of giving you the &#8220;Save As&#8230;&#8221; dialog box.</p>
<p><a href="http://www.linksave.net/">LinkSave.net</a> provides a text box where you can paste the URL and generate a link you can right click and &#8220;Save As&#8230;&#8221;. But do you want LinkSave to know all the links you save?</p>
<p>I created a similar <a href="/linksave">link generator</a> where your URLs are not logged. The link is created on the client side using JavaScript, and you can view the source code to be sure. Easier than writing a new HTML file with the URL every time you want to save a file. Of course, wget is an alternative.</p>
]]></content:encoded>
			<wfw:commentRss>http://drop.by/save-file-by-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preparing photos for Facebook upload</title>
		<link>http://drop.by/preparing-photos-for-facebook</link>
		<comments>http://drop.by/preparing-photos-for-facebook#comments</comments>
		<pubDate>Sat, 17 Oct 2009 15:23:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[preprocessing]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://drop.by/blog/?p=73</guid>
		<description><![CDATA[A few tips for using Facebook and/or other services. Shows a way to correctly order photos from different sources (2 cameras -> 1 album) and how to remove potentially private data.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><strong>Update:</strong> Improved version in a <a href="/photo-script">new post</a> of mine.</p>
<p style="text-align: left;">A few tips for using Facebook and/or other services. You will need <a title="Free software, most operating systems supported" href="http://www.imagemagick.org/">ImageMagick</a> and linux or <a title="Linux-like environment for Windows" href="http://www.cygwin.com/">Cygwin</a>.</p>
<p style="text-align: left;"><strong>Order images correctly</strong></p>
<p style="text-align: left;"><strong> </strong>Copying images to your computer, or rotating them, may ruin the files&#8217; time (of last modification). If your album contains images from several cameras, the file names can&#8217;t be used to sort the images either. The following command renames the files to the second they were taken (see <a title="Exchangeable image file format (metadata in jpg)" href="http://en.wikipedia.org/wiki/Exif">Exif</a>).</p>
<p style="text-align: left;"><code><span title="&quot;c&quot; ensures names are unique">c=0;for i in *.jpg;do t=`identify -verbose $i |egrep 'Exif:DateTime:'|sed 's/[^0-9]//g'`; mv $i "$t-$c.jpg";c=$[ $c + 1 ];echo $i;done</span></code></p>
<p style="text-align: left;"><strong>Remove excess information</strong></p>
<p style="text-align: left;">Be sure you don&#8217;t share <a title="Why you should remove metadata" href="http://netzreport.googlepages.com/hidden_data_in_jpeg_files.html">more than you mean to</a>! Also, saves you a couple of bytes to upload. (Copy files to a new folder first.)</p>
<p style="text-align: left;"><code>for i in *.jpg;do mogrify <span title="Removes Exif data">-strip</span> <span title="Aspect ratio is preserved, max width/height is 604">-resize 604x604</span> $i;echo $i;done</code></p>
<p style="text-align: left;">Of course, for some services, keeping the metadata could be useful.</p>
<p style="text-align: left;"><strong>Anonymize file names</strong></p>
<p style="text-align: left;">Finally, you may want to rename the album file names:</p>
<p style="text-align: left;"><code>c=0;for i in *.jpg;do f=`<span title="0000,0001,0002,...">printf "%04u" "$c"</span>`;mv $i $f.jpg;c=$[ $c + 1 ];done</code></p>
]]></content:encoded>
			<wfw:commentRss>http://drop.by/preparing-photos-for-facebook/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
