<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6364128096642486941</id><updated>2026-10-25T00:56:26.089-07:00</updated><title type='text'>Binary Waste</title><subtitle type='html'>Notes and things that I can&#39;t remember when I need them. Mostly technical stuff. Linux-ish. VERY likely things that nobody else will find useful at all. Hence the title...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-1139072749310274046</id><published>2014-12-10T22:02:00.000-08:00</published><updated>2015-08-30T15:56:10.280-07:00</updated><title type='text'>Converting PDF to a series of images... and back...</title><content type='html'>Books:&lt;br /&gt;
&lt;br /&gt;
1. gather all images into one directory&lt;br /&gt;
2. edit / crop using GIMP&lt;br /&gt;
3. in GIMP, export as *.mng file&lt;br /&gt;
&lt;br /&gt;
4. convert to pdf:&lt;br /&gt;
convert -interlace none -density 300 -quality 100 infile.mng outfile.pdf&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
---&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
...or PNGs...&lt;br /&gt;
&lt;br /&gt;
convert -quality 100 input.pdf output-%04d.png&lt;br /&gt;
&lt;br /&gt;
for really high quality (ie for TV slides):&lt;br /&gt;
convert -interlace none -density 300 -quality 80 -resize 1200 infile.pdf outfile_%03d.jpg&lt;br /&gt;
&lt;br /&gt;
to convert images to pdf:&lt;br /&gt;
&lt;br /&gt;
convert *.png output.pdf&lt;br /&gt;
&lt;br /&gt;
-- pdf may be too large; use smallpdf.com to compress:&lt;br /&gt;
&lt;br /&gt;
http://smallpdf.com/compress-pdf&lt;br /&gt;
&lt;br /&gt;
Three other linux-based options to compress PDFs:&lt;br /&gt;
&lt;br /&gt;
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=outfile.pdf infile.pdf&lt;br /&gt;
&lt;br /&gt;
- slightly higher quality, slightly larger size&lt;br /&gt;
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=outfile.pdf infile.pdf&lt;br /&gt;
&lt;br /&gt;
- much more precise, much slower, not much smaller...&lt;br /&gt;
gs&amp;nbsp;-q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/screen -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageDownsampleType=/Bicubic -dColorImageResolution=72 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=72 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=72 -sOutputFile=outfile.pdf infile.pdf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/1139072749310274046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2014/12/converting-pdf-to-series-of-jpeg-images.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/1139072749310274046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/1139072749310274046'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2014/12/converting-pdf-to-series-of-jpeg-images.html' title='Converting PDF to a series of images... and back...'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-8960413413906046977</id><published>2014-11-19T10:52:00.001-08:00</published><updated>2014-11-19T11:04:43.762-08:00</updated><title type='text'>Rotating Backgrounds in Fedora/Linux</title><content type='html'>If your Linux flavor uses Gnome, there are wallpapers available that change throughout the day.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfRZ1Ru4IgTtaTS0KzLMevCSMPetUTTUt2fAMB7AmAg04GsGQN4tlmAxB0yzVDTdW8YL-oe-FdaTJ9NTz7lmGkSYmfoc3P9d1bbGA0h-9WgKAVFs51HTjaZs_8sCQUAn9xo8CeFVSrlNs/s1600/Screenshot+from+2014-11-19+12:18:35.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfRZ1Ru4IgTtaTS0KzLMevCSMPetUTTUt2fAMB7AmAg04GsGQN4tlmAxB0yzVDTdW8YL-oe-FdaTJ9NTz7lmGkSYmfoc3P9d1bbGA0h-9WgKAVFs51HTjaZs_8sCQUAn9xo8CeFVSrlNs/s1600/Screenshot+from+2014-11-19+12:18:35.png&quot; height=&quot;235&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Great.&lt;br /&gt;
&lt;br /&gt;
But, what if you want your own?&lt;br /&gt;
&lt;br /&gt;
There are applications that allow you do to this, but here&#39;s a script to do it simply.&lt;br /&gt;
&lt;br /&gt;
First, put the pictures you want to use in a ~/Pictures/Backgrounds directory:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpmjZ_TSB7KyrAymttsPMAY6OOcanbinqGbyAGIQkIYvp2O6HhFiS9_nrKeiDPL1kCp1R4kEaV8pZkzPiNX3RUnGbdg0zjapUEobMP4Gzv2_4R2XPMvzOIzyiTYRGT96bQUbxd7zfXDZI/s1600/Screenshot+from+2014-11-19+12:24:15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpmjZ_TSB7KyrAymttsPMAY6OOcanbinqGbyAGIQkIYvp2O6HhFiS9_nrKeiDPL1kCp1R4kEaV8pZkzPiNX3RUnGbdg0zjapUEobMP4Gzv2_4R2XPMvzOIzyiTYRGT96bQUbxd7zfXDZI/s1600/Screenshot+from+2014-11-19+12:24:15.png&quot; height=&quot;196&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
Create this script somewhere handy:&lt;br /&gt;
&lt;textarea style=&quot;display: block; height: 200px; margin: auto; resize: none; width: 80%;&quot;&gt;#!/bin/bash

cdir=~/Pictures/Backgrounds/
destpath=${cdir} 
outfile=${destpath}/rotation.xml 
duration=3600.0  #in seconds; minutes * 60
transition=120.0  #in seconds; minutes * 60

printf &quot;&lt;background&gt;\\n  &lt;starttime&gt;\\n    &lt;year&gt;2009&lt;/year&gt;\\n    &lt;month&gt;08&lt;/month&gt;\\n    &lt;day&gt;04&lt;/day&gt;\\n    &lt;hour&gt;00&lt;/hour&gt;\\n    &lt;minute&gt;00&lt;/minute&gt;\\n    &lt;second&gt;00&lt;/second&gt;\\n  &lt;/starttime&gt;\\n&lt;!-- This animation will start at midnight. --&gt;\\n&quot; &gt; $outfile

lastimage=&quot;0&quot;

#for i in $( ls -1R *.png | sort --random-sort ); do
for i in $( find $cdir -iname &#39;*.*g&#39; | sort --random-sort ); do
#cp ${cdir}${i##*/} ${destpath}
image=${destpath}${i##*/}
 echo Processing $image

 if [ &quot;${lastimage}&quot; != &quot;0&quot; ] 
 then
  printf &quot; &lt;transition type=&#39;overlay&#39;&gt;\\n    &lt;duration&gt;${transition}&lt;/duration&gt;\\n    &lt;from&gt;${lastimage}&lt;/from&gt;\\n    &lt;to&gt;${image}&lt;/to&gt;\\n  &lt;/transition&gt;\\n&quot; &gt;&gt; $outfile
 else
  firstimage=$image
 fi

 printf &quot;&lt;static&gt;\\n    &lt;duration&gt;${duration}&lt;/duration&gt;\\n    &lt;file&gt;${image}&lt;/file&gt;\\n  &lt;/static&gt;\\n&quot; &gt;&gt; $outfile

 lastimage=$image
 echo - Finished $image

done

printf &quot; &lt;transition type=&#39;overlay&#39;&gt;\\n    &lt;duration&gt;${transition}&lt;/duration&gt;\\n    &lt;from&gt;${lastimage}&lt;/from&gt;\\n    &lt;to&gt;${firstimage}&lt;/to&gt;\\n  &lt;/transition&gt;\\n&quot; &gt;&gt; $outfile
echo &quot;&lt;/background&gt;&quot; &gt;&gt; $outfile

gsettings set org.gnome.desktop.background picture-uri file:///${outfile}&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
Then run it:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
chmod +x ./build_background_xml3.sh&lt;br /&gt;./build_background_xml3.sh&lt;/blockquote&gt;
&lt;br /&gt;
Done!&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2TUlQZfTfvB0bQUS8hIufdfgdhjF795p_cv0CAQ9JrMkEt-H1juyv-XD6EGXnP7hjRlEyl8zV3zdMnBqcaQoBwhA68Ai2uVZdjxJgU7iJqgdJzjyM6qAevM__WW_U4cxxtZKLsABJLRI/s1600/Screenshot+from+2014-11-19+12:25:00.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2TUlQZfTfvB0bQUS8hIufdfgdhjF795p_cv0CAQ9JrMkEt-H1juyv-XD6EGXnP7hjRlEyl8zV3zdMnBqcaQoBwhA68Ai2uVZdjxJgU7iJqgdJzjyM6qAevM__WW_U4cxxtZKLsABJLRI/s1600/Screenshot+from+2014-11-19+12:25:00.png&quot; height=&quot;230&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/8960413413906046977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2014/11/rotating-wallpaper-in-fedoralinux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/8960413413906046977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/8960413413906046977'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2014/11/rotating-wallpaper-in-fedoralinux.html' title='Rotating Backgrounds in Fedora/Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfRZ1Ru4IgTtaTS0KzLMevCSMPetUTTUt2fAMB7AmAg04GsGQN4tlmAxB0yzVDTdW8YL-oe-FdaTJ9NTz7lmGkSYmfoc3P9d1bbGA0h-9WgKAVFs51HTjaZs_8sCQUAn9xo8CeFVSrlNs/s72-c/Screenshot+from+2014-11-19+12:18:35.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-7340508313620400450</id><published>2014-08-27T09:44:00.001-07:00</published><updated>2014-11-19T11:02:12.540-08:00</updated><title type='text'>Automating Passwordless Access</title><content type='html'>Assuming you have generated rsa keys (ssh-keygen) and assuming that &lt;a href=&quot;https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0CCAQFjAA&amp;amp;url=http%3A%2F%2Flinux.die.net%2Fman%2F1%2Fssh-copy-id&amp;amp;ei=6uhsVPLGLYyBygTFyIKQBg&amp;amp;usg=AFQjCNG2M01fgqtI3m0VhAnxwgGm_4hgOg&amp;amp;sig2=A4jSc6jC5C3gxZ7OkArbYA&amp;amp;bvm=bv.80120444,d.aWw&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;ssh-copy-id&lt;/b&gt;&lt;/a&gt; is NOT working for you...&lt;br /&gt;
&lt;br /&gt;
Here&#39;s the command:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
cat ~/.ssh/id_rsa.pub | ssh -p 22 &amp;lt;login&amp;gt;@&amp;lt;dest&amp;gt; &quot;cat &amp;gt;&amp;gt; .ssh/authorized_keys&quot;;&lt;/blockquote&gt;
Where &amp;lt;login&amp;gt; is your username and &amp;lt;dest&amp;gt; is the server to which you&#39;re sending the public key.&lt;br /&gt;
&lt;br /&gt;
OR, if you do this often, create passwordless.sh:&lt;br /&gt;
&lt;textarea&gt;#!/bin/bash&lt;br /&gt;
for i in $2;&lt;br /&gt;
do&lt;br /&gt;
echo &quot;sending file to $i&quot;;&lt;br /&gt;
cat ~/.ssh/id_rsa.pub | ssh -p 22 $1@$i &quot;cat &gt;&gt; .ssh/authorized_keys&quot;;&lt;br /&gt;
done;&lt;/textarea&gt;
&lt;br /&gt;
&lt;div&gt;
To run it:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
chmod&amp;nbsp;+x passwordless.sh&lt;br /&gt;
./passwordless.sh &amp;lt;login&amp;gt; &amp;lt;dest&amp;gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/7340508313620400450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2014/08/automating-passwordless-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/7340508313620400450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/7340508313620400450'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2014/08/automating-passwordless-access.html' title='Automating Passwordless Access'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-729189440052607556</id><published>2014-08-23T12:52:00.000-07:00</published><updated>2014-08-23T12:56:42.759-07:00</updated><title type='text'>Android: &#39;Insufficient Storage Available&#39;</title><content type='html'>&lt;div&gt;
I HATE this message. But&lt;b&gt; &lt;a href=&quot;http://goo.gl/aegvWm&quot; target=&quot;_blank&quot;&gt;this&lt;/a&gt;&lt;/b&gt;&amp;nbsp;article has helped me to resolve it.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I&#39;m tired of removing apps so I can install another one, when I &lt;b&gt;know&lt;/b&gt;&amp;nbsp;there&#39;s ample space for them.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Finally, I&#39;ve had enough; thanks, Google, IT World, and Kevin Purdy:&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
There is a kind of clean-sweep method of wiping out the cache on all your apps at once. You&#39;ll have to clear enough space for it, of course, but if you can fit the 1.31 MB &lt;a href=&quot;https://play.google.com/store/apps/details?id=mobi.infolife.cache&quot; target=&quot;_blank&quot;&gt;App Cache Cleaner&lt;/a&gt; on your Android, you&#39;ll free up much more space in return. It&#39;s an ad-supported product, with occasional pop-ups. But ignore whatever goofy game it wants you to install, look at the &quot;Total&quot; count in the upper-right corner, and then click the big green &quot;Clean&quot; button at the bottom. That&#39;s a bit more space, so try installing that app that wouldn&#39;t fly once more.&lt;/blockquote&gt;
&lt;br /&gt;
I&#39;m in love with my Android again.</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/729189440052607556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2014/08/android-insufficient-storage-available.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/729189440052607556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/729189440052607556'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2014/08/android-insufficient-storage-available.html' title='Android: &#39;Insufficient Storage Available&#39;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-5004892274094134213</id><published>2014-04-29T13:19:00.000-07:00</published><updated>2014-04-29T13:19:50.412-07:00</updated><title type='text'>Google Hangouts Video Call - Allow both talk plugins...</title><content type='html'>Ok, I just spent 30 minutes tinkering with Google Hangouts (Fedora, Chrome) to try to get video calling working. &amp;nbsp;Every time I tried to initiate a video call, a new window would pop up with a message that read:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Select &quot;Allow&quot; for both Google Talk plugins in order to access the video call.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Of course, there isn&#39;t anything to click to enable the plugins. &amp;nbsp;Weird.&lt;br /&gt;
&lt;br /&gt;
Eventually, I found out that by telling Chrome to automatically run all plugins, it would work.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;chrome://settings/content&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Scroll down to &quot;Plug-ins&quot; and select &quot;Run automatically (recommended)&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Once that&#39;s done, start a video call; works fine.&lt;br /&gt;
&lt;br /&gt;
Since I&#39;m paranoid, I went back and changed the Plug-ins setting back to &quot;Click to play&quot; and, guess what? &amp;nbsp;Video calling still works!</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/5004892274094134213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2014/04/google-hangouts-video-call-allow-both.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/5004892274094134213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/5004892274094134213'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2014/04/google-hangouts-video-call-allow-both.html' title='Google Hangouts Video Call - Allow both talk plugins...'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-7056938381981428926</id><published>2014-04-29T13:17:00.001-07:00</published><updated>2014-08-23T12:58:21.536-07:00</updated><title type='text'>(Lustre) Best practice for changing file permissions</title><content type='html'>On a Lustre filesystem, don&#39;t use chmod/chgrp/chown by themselves.&lt;br /&gt;&lt;br /&gt;The best method incorporates the lfs find command:&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
lfs find &amp;lt;subdirectory&amp;gt; | xargs chgrp  &amp;lt;new group&amp;gt;&lt;/blockquote&gt;
chmod or chown commands with -R option (or using the normal find) are not very fast if the subdirectory contains lots of files.&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/7056938381981428926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2014/04/lustre-best-practice-for-changing-file.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/7056938381981428926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/7056938381981428926'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2014/04/lustre-best-practice-for-changing-file.html' title='(Lustre) Best practice for changing file permissions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-4303301838225533612</id><published>2013-10-25T10:27:00.000-07:00</published><updated>2014-01-02T11:00:53.035-08:00</updated><title type='text'>Capturing RTMP video (aka Flowplayer) (in Fedora)</title><content type='html'>It may not be very elegant, but it works.&lt;br /&gt;
&lt;br /&gt;
First, install rtmpdump:&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo yum install -y rtmpdump&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Then, create this script somewhere handy:&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;echo starting&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rtmpsrv | tee rtmp.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;echo ended&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Run the script, then, while it is running, try to watch the video in your browser. &amp;nbsp;If it is an RTMP stream, the terminal should show some capture information. &amp;nbsp;Ctrl+C in the terminal.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Now, you may have to edit the rtmp.txt output file to remove extra text, but leave the &quot;rtmpdump&quot; commandlines.&lt;br /&gt;
&lt;br /&gt;
Finally, execute:&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sh ./rtmp.txt&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
...to download the video.&lt;br /&gt;
&lt;br /&gt;
(Create an alias: &amp;nbsp;alias capture=&#39;~/path/to/rtmpdump/script.sh&#39;)</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/4303301838225533612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2013/10/capturing-rtmp-video-aka-flowplayer-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/4303301838225533612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/4303301838225533612'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2013/10/capturing-rtmp-video-aka-flowplayer-in.html' title='Capturing RTMP video (aka Flowplayer) (in Fedora)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-2150204533404267681</id><published>2013-06-10T10:44:00.000-07:00</published><updated>2014-03-20T07:18:34.396-07:00</updated><title type='text'>Google Docs - Inserting Date in the Footer</title><content type='html'>Now that Google Drive Documents support scripts, it is possible to, say, create a footer that contains the date that the document was last accessed.&lt;br /&gt;
&lt;br /&gt;
In your Google Doc, click Tools | Script Editor.&lt;br /&gt;
&lt;br /&gt;
Copy/paste the code below, and save the script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;/**&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp;* The onOpen function runs automatically when the Google Docs document is&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp;* opened. It will add a &quot;Tools&quot; menu with an &quot;Update Footer&quot; option. It also&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp;* (automatically) updates the date in the footer as soon as the documents is&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp;* opened. (WARNING: Any footer content will be removed/deleted.)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;function onOpen() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; // Add a menu with some items, some separators, and a sub-menu.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; DocumentApp.getUi().createMenu(&#39;Scripts&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .addItem(&#39;Update Footer&#39;, &#39;onEdit&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .addToUi();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; onEdit();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;};&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;function onEdit() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; var doc = DocumentApp.getActiveDocument();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; var footer = (doc.getFooter()) ? doc.getFooter() : doc.addFooter(); // Thanks, Martin!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; footer.setText(&quot;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; var divider = footer.appendHorizontalRule();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; var footerText = footer.appendParagraph(&#39;Confidential and Proprietary - Accessed &#39; + new Date());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; footerText.setFontSize(9);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; footerText.setForegroundColor(&#39;#4a86e8&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; footerText.setAlignment(DocumentApp.HorizontalAlignment.RIGHT);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;nbsp; return doc;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;};&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Return to your document, and reload it; the footer will automatically be created. &amp;nbsp;(NOW it will! Thanks, Martin!) &amp;nbsp;If you want to update the footer, you can click the Script | Update Footer menu item.&lt;br /&gt;
&lt;br /&gt;
That I know of, there isn&#39;t yet an &quot;onSave&quot; or &quot;onEdit&quot; trigger in Google Documents - but, if that comes about, this will be an even more awesome tool! (*hint,hint, Google!) &amp;nbsp;You CAN, however, use a &quot;&lt;a href=&quot;https://developers.google.com/apps-script/understanding_events&quot; target=&quot;_blank&quot;&gt;clock tick event&lt;/a&gt;&quot; but I haven&#39;t gone there yet.</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/2150204533404267681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2013/06/google-docs-inserting-date-in-footer.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/2150204533404267681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/2150204533404267681'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2013/06/google-docs-inserting-date-in-footer.html' title='Google Docs - Inserting Date in the Footer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-5114498963850032314</id><published>2013-04-11T14:13:00.001-07:00</published><updated>2013-04-11T14:13:54.199-07:00</updated><title type='text'>Nuvola Player on Fedora</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;Nuvola Player is a nifty interface for Google Music.  &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;Due to dependencies and such, I found this page helpful: &lt;a href=&quot;https://launchpad.net/nuvola-player/+download&quot;&gt;https://launchpad.net/nuvola-player/+download&lt;/a&gt;&lt;/div&gt;&lt;div style&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;    I downloaded NuvolaPlayer version 1.1.2, though it is not the latest...&lt;/div&gt;&lt;div style&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;&lt;div&gt;wget &lt;a href=&quot;https://launchpad.net/nuvola-player/1.1.x/1.1.2/+download/nuvolaplayer-1.1.2.tar.gz&quot;&gt;https://launchpad.net/nuvola-player/1.1.x/1.1.2/+download/nuvolaplayer-1.1.2.tar.gz&lt;/a&gt;&lt;/div&gt;    &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;Extract:&lt;/div&gt;&lt;div&gt;tar -xvf nuvolaplayer-1.1.2.tar.gz &lt;/div&gt;&lt;div&gt;cd nuvolaplayer-1.1.2/&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;Run the configuration:&lt;/div&gt;&lt;div&gt;./waf configure&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;    In my case, there were some dependencies that I don&amp;#39;t need/can&amp;#39;t use, so:&lt;/div&gt;&lt;div&gt;/waf configure --no-lastfm --no-unity-quick-list --no-svg-optimization&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;Build and Install:&lt;/div&gt;&lt;div&gt;    ./waf build&lt;/div&gt;&lt;div&gt;sudo ./waf install&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;I also had to install the Gnome extension:&lt;/div&gt;&lt;div style&gt;sudo yum install gnome-shell-extension-mediaplayers&lt;br&gt;&lt;/div&gt;&lt;div style&gt;(OR &lt;a href=&quot;https://extensions.gnome.org/extension/55/&quot;&gt;https://extensions.gnome.org/extension/55/&lt;/a&gt;)&lt;/div&gt;    &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;Run NuvolaPlayer (either via terminal or Applications in Gnome).&lt;/div&gt;&lt;div style&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;Aaaaand, awesomeness.&lt;/div&gt;&lt;div style&gt;&lt;br&gt;&lt;/div&gt;&lt;div style&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/5114498963850032314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2013/04/nuvola-player-on-fedora.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/5114498963850032314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/5114498963850032314'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2013/04/nuvola-player-on-fedora.html' title='Nuvola Player on Fedora'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-6265928183411458487</id><published>2013-02-20T12:53:00.001-08:00</published><updated>2014-08-27T08:37:39.133-07:00</updated><title type='text'>Editing / Creating Bookmarklets</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Bookmarklet&quot; target=&quot;_blank&quot;&gt;Bookmarklets&lt;/a&gt; are really cool.&lt;br /&gt;
&lt;br /&gt;
I&#39;ve updated the Bookmarklet Editor; drag this link to your bookmark toolbar:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;javascript:W8=open(%27%27,%27A%27,%27width=400,height=350,resizable%27);W8.focus();with(W8.document){write(%27&amp;lt;html&amp;gt;&amp;lt;body%20bgcolor=\%27#CCCCCC\%27&amp;gt;&amp;lt;script&amp;gt;function%20setTemplate%20()%20{var%20myX=this.document.getElementsByTagName(%22textarea%22);/*%20var%20myText=document.body.outerHTML;myText=myText%20+%20%22boo%22;*/var%20myText=%22javascript:(function(){var%20today=new%20Date();var%20dd=today.getDate();window.location.assign(\%27https://www.blueletterbible.org/Bible.cfm?b=Pro&amp;amp;c=\%27+dd+\%27&amp;amp;t=NIV\%27);}())%22;myX[0].value=myText}function%20setX(){var%20myX=this.document.getElementsByTagName(%22textarea%22);myX[0].value=p4rse(myX[0].value)}function%20resetX(){var%20myX=this.document.getElementsByTagName(%22textarea%22);myX[0].value=colap5e(myX[0].value)}function%20colap5e(v){v=v.split(%22\\t%22).join(%22%22);v=v.split(%22\\n%22).join(%22%22);v=v.split(%22%20%22).join(escape(%22%20%22));v=v.split(%22\%27%22).join(escape(%22\%27%22));v=v.split(\%27%22\%27).join(escape(\%27%22\%27));v=v.split(%22\\r%22).join(%22%22);return(v)}function%20tabMe(s){var%20reg%20=%20/[\%7D\%7B]/;var%20sa%20=%20s.split(%22\\n%22);var%20isfor%20=%20/^for/;for(var%20i%20in%20sa){if(!reg.test(sa[i])&amp;amp;&amp;amp;i!=0&amp;amp;&amp;amp;!isfor.test(sa[i])){sa[i]=%22\\t%22+sa[i]%20%20}}sa[0]%20=%20sa[0].replace(/(javascript:)([\\S%20]+)/,%22$1\\n$2%22);s=sa.join(%22\\n%22);var%20r%20=%20s.replace(/for[\(]([\\S%20]+%3B)[\\s]+([\\S%20]+%3B)[\\s]+([\\S\)]+%7B)[\\s]+/g,%22for($1$2$3\\n%22);return(r)}function%20p4rse(v){v=v.split(%22%3B*%2F%22).join(%22**%2F%22);v=v.split(%22%3B%22).join(%22%3B\\n%22);v=v.split(%22**%2F%22).join(%22%3B*%2F%22);v=v.split(%22%7D%22).join(%22\\n%7D\\n%22);v=v.split(%22%7B%22).join(%22%7B\\n%22);/*%20%20Parse%20Comments%20*/v=v.split(%22*%2F%22).join(%22*%2F\\n%22);/*%20%20Parse%20Tags%20*/v=v.split(%22%3C%22).join(%22\\n%3C%22);v=tabMe(v);v=v.split(escape(%22%20%22)).join(%22%20%22);v=v.split(escape(%22\%27%22)).join(%22\%27%22);v=v.split(escape(\%27%22\%27)).join(\%27%22\%27);/*%20v=v.split(%22\\n\\n\\n%22).join(%22\\n%22);*/return(v)}&amp;lt;/script&amp;gt;&amp;lt;center&amp;gt;&amp;lt;form&amp;gt;&amp;lt;textarea%20style=\%27width:100%;height:90%\%27%20name=X%20rows=30%20cols=34%20wrap&amp;gt;javascript:&amp;lt;/textarea&amp;gt;&amp;lt;p&amp;gt;&amp;lt;input%20type=button%20value=Parse%20onclick=setX()&amp;gt;%20&amp;lt;input%20type=button%20value=Compress%20onclick=resetX()&amp;gt;%20&amp;lt;input%20type=button%20value=Run%20onclick=opener.location=X.value&amp;gt;%20&amp;lt;input%20type=button%20id=populate%20value=Populate%20onclick=this.disabled=true;setTemplate()&amp;gt;%20&amp;lt;a%20style=%22font-size:.75em%22%20target=_new%20href=%22http://goo.gl/3t2EjH%22&amp;gt;08.27.2014&amp;lt;/a&amp;gt;&amp;lt;/form&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;%27);setTimeout(%22W8.focus()%22,0);void(close())}&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;BEdit&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
So, what does it do?&lt;br /&gt;
&lt;br /&gt;
Well, editing bookmarklets can be difficult, so the editor helps you to make edits and test them.&lt;br /&gt;
&lt;br /&gt;
When you click the Bedit bookmark a new window should popup that looks something like this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPrdiHr2uGSQVkiAX_d-LecfvRWlhQ0kG8sA-rjwpGECBw6jtagYG5YWOgHvmOBMBTmUT6QKBq6niFRE7lKRNhjQMPTMUk9qvtFN2jW8DoGrZwc4PaLPWSlsFmDd-IZXGszfT0u-mVn5g/s1600/Screenshot+at+2013-02-20+15:06:17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPrdiHr2uGSQVkiAX_d-LecfvRWlhQ0kG8sA-rjwpGECBw6jtagYG5YWOgHvmOBMBTmUT6QKBq6niFRE7lKRNhjQMPTMUk9qvtFN2jW8DoGrZwc4PaLPWSlsFmDd-IZXGszfT0u-mVn5g/s320/Screenshot+at+2013-02-20+15:06:17.png&quot; height=&quot;305&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
Click &quot;Populate&quot; to generate sample bookmarklet code. &amp;nbsp;Then, in your browser, create a new bookmark, and paste the code from Bedit into the URL. &amp;nbsp;The sample bookmarklet simply sends you to a&amp;nbsp;page, depending upon which day of the month it is.&lt;br /&gt;
&lt;br /&gt;
Some bookmarklets are WAY more complicated. &amp;nbsp;For example, check out www.supergenpass.com. &amp;nbsp;If you copy the &quot;URL&quot; bookmarklet code and paste it into Bedit, you can parse the code into (slightly) more&amp;nbsp;readable javascript, make some changes, then run it from within Bedit!&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Right click the bookmarklet (this one is from www.supergenpass.com):&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimxwLm4qep1l_RfGZ-y9xS9oa0QFMC_5kKxVAmS0sbVnE_tGiFYH4hNGahUJOlO5GSgrOqCYKU5_xK_eQUHf5aSd6qKLENUi9VFReUpibqtrBsWixyKZsR7u2I1SzzXhNElVkG_jYJjrk/s1600/bookmarklet+button.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimxwLm4qep1l_RfGZ-y9xS9oa0QFMC_5kKxVAmS0sbVnE_tGiFYH4hNGahUJOlO5GSgrOqCYKU5_xK_eQUHf5aSd6qKLENUi9VFReUpibqtrBsWixyKZsR7u2I1SzzXhNElVkG_jYJjrk/s1600/bookmarklet+button.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Copy the entire entry in the URL field:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRqqDziLBwsa1n_wOo0tQH-COtFJa44nvj55WhsAFrLOjpfk-3f1L2c__qLYJJHaFeHHBU3ha7mVes80kR9hF-lnSjDa00NQN3lQjqVV7MT2IcUpETnjVBtDU97T_9q0uNIe4RboA2L6s/s1600/copy+url.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRqqDziLBwsa1n_wOo0tQH-COtFJa44nvj55WhsAFrLOjpfk-3f1L2c__qLYJJHaFeHHBU3ha7mVes80kR9hF-lnSjDa00NQN3lQjqVV7MT2IcUpETnjVBtDU97T_9q0uNIe4RboA2L6s/s320/copy+url.png&quot; height=&quot;82&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
And paste it into the Bookmarklet Editor window:&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP91L5meLtxVEEN3TdXASQ0GFDji8lgcujLabm6W_NsKIp5DCPDyi3rkvZM4Lxh9XyRiNoEUXfssGAR6uVSb0r7zMXuSAZmkFoeFSp8OStj_RRZ1m4_dtvTgJ8YH3nhNiK6hYwcV59Wsk/s1600/paste+it+in.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP91L5meLtxVEEN3TdXASQ0GFDji8lgcujLabm6W_NsKIp5DCPDyi3rkvZM4Lxh9XyRiNoEUXfssGAR6uVSb0r7zMXuSAZmkFoeFSp8OStj_RRZ1m4_dtvTgJ8YH3nhNiK6hYwcV59Wsk/s320/paste+it+in.png&quot; height=&quot;305&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Click &quot;Run&quot; to test it:&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT8OCOVG7lf1Yb_-cDb8xkFhko0IR-8q982525lWQejyBmuUnBEyKmaqQDIK1GXuJA8t_SdNEudztzVjjhqs6vXPQc19_cAd8WGlIVEXfR8A_fHnl0UaOvoU43rWQfvJWrBLBwKw9xV3A/s1600/run+to+test.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT8OCOVG7lf1Yb_-cDb8xkFhko0IR-8q982525lWQejyBmuUnBEyKmaqQDIK1GXuJA8t_SdNEudztzVjjhqs6vXPQc19_cAd8WGlIVEXfR8A_fHnl0UaOvoU43rWQfvJWrBLBwKw9xV3A/s1600/run+to+test.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Editing it in its compressed form is difficult, so parse it first:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkMdpaYW0rWsF0xZcyisJdIfhaMqive3lu23JobWf3_vqkVuR7tJB_fIPfaXQobdfAoKy5Ky4Me13ivVz_ZNzPbr1d80jLfQrj0QPf4DeFP24G6BRhsJZRF50Agm1AHNfIdoLZF_mm-9s/s1600/parsed.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkMdpaYW0rWsF0xZcyisJdIfhaMqive3lu23JobWf3_vqkVuR7tJB_fIPfaXQobdfAoKy5Ky4Me13ivVz_ZNzPbr1d80jLfQrj0QPf4DeFP24G6BRhsJZRF50Agm1AHNfIdoLZF_mm-9s/s320/parsed.png&quot; height=&quot;305&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
At the risk of confusion and paradox, the URL code for the bookmarklet editor is below; feel free to copy it and paste it into the Bedit&amp;nbsp;window...&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;javascript:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;W8=open(&#39;&#39;,&#39;B&#39;,&#39;width=400,height=350,resizable&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;W8.focus();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;with(W8.document){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write(&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;body bgcolor=\&#39;#CCCCCC\&#39;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&amp;lt;script&amp;gt;function setTemplate () {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var myX=this.document.getElementsByTagName(&quot;textarea&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/* var myText=document.body.outerHTML;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;myText=myText + &quot;boo&quot;;*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;var myText=&quot;javascript:(function(){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var today=new Date();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var dd=today.getDate();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;window.location.assign(\&#39;https://www.blueletterbible.org/Bible.cfm?b=Pro&amp;amp;c=\&#39;+dd+\&#39;&amp;amp;t=NIV\&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;())&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;myX[0].value=myText&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;function setX(){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var myX=this.document.getElementsByTagName(&quot;textarea&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;myX[0].value=p4rse(myX[0].value)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;function resetX(){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var myX=this.document.getElementsByTagName(&quot;textarea&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;myX[0].value=colap5e(myX[0].value)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;function colap5e(v){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;\\t&quot;).join(&quot;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;\\n&quot;).join(&quot;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot; &quot;).join(escape(&quot; &quot;));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;\&#39;&quot;).join(escape(&quot;\&#39;&quot;));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(\&#39;&quot;\&#39;).join(escape(\&#39;&quot;\&#39;));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;\\r&quot;).join(&quot;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return(v)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;function tabMe(s){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var reg = /[\%7D\%7B]/;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var sa = s.split(&quot;\\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var isfor = /^for/;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;for(var i in sa){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;if(!reg.test(sa[i])&amp;amp;&amp;amp;i!=0&amp;amp;&amp;amp;!isfor.test(sa[i])){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;sa[i]=&quot;\\t&quot;+sa[i] &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;sa[0] = sa[0].replace(/(javascript:)([\\S ]+)/,&quot;$1\\n$2&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;s=sa.join(&quot;\\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var r = s.replace(/for[\(]([\\S ]+%3B)[\\s]+([\\S ]+%3B)[\\s]+([\\S\)]+%7B)[\\s]+/g,&quot;for($1$2$3\\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return(r)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;function p4rse(v){&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;%3B*%2F&quot;).join(&quot;**%2F&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;%3B&quot;).join(&quot;%3B\\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;**%2F&quot;).join(&quot;%3B*%2F&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;%7D&quot;).join(&quot;\\n%7D\\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;%7B&quot;).join(&quot;%7B\\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/* &amp;nbsp;Parse Comments */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;*%2F&quot;).join(&quot;*%2F\\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/* &amp;nbsp;Parse Tags */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(&quot;%3C&quot;).join(&quot;\\n%3C&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=tabMe(v);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(escape(&quot; &quot;)).join(&quot; &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(escape(&quot;\&#39;&quot;)).join(&quot;\&#39;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;v=v.split(escape(\&#39;&quot;\&#39;)).join(\&#39;&quot;\&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/* v=v.split(&quot;\\n\\n\\n&quot;).join(&quot;\\n&quot;);*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return(v)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;center&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;form&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;textarea style=\&#39;width:100%;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;height:90%\&#39; name=X rows=30 cols=34 wrap&amp;gt;javascript:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/textarea&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;input type=button value=Parse onclick=setX()&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;input type=button value=Compress onclick=resetX()&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;input type=button value=Run onclick=opener.location=X.value&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;input type=button id=populate value=Populate onclick=this.disabled=true;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;setTemplate()&amp;gt; &amp;lt;a style=&quot;font-size:.75em&quot; target=_new href=&quot;http://goo.gl/3t2EjH&quot;&amp;gt;08.27.2014&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/center&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/html&amp;gt;&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;setTimeout(&quot;W8.focus()&quot;,0);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;void(close())&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;
&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/6265928183411458487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2013/02/editing-creating-bookmarklets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/6265928183411458487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/6265928183411458487'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2013/02/editing-creating-bookmarklets.html' title='Editing / Creating Bookmarklets'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPrdiHr2uGSQVkiAX_d-LecfvRWlhQ0kG8sA-rjwpGECBw6jtagYG5YWOgHvmOBMBTmUT6QKBq6niFRE7lKRNhjQMPTMUk9qvtFN2jW8DoGrZwc4PaLPWSlsFmDd-IZXGszfT0u-mVn5g/s72-c/Screenshot+at+2013-02-20+15:06:17.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-2781324518274134793</id><published>2013-01-13T11:24:00.005-08:00</published><updated>2013-01-13T11:24:52.856-08:00</updated><title type='text'>More Dropbox Fun</title><content type='html'>I recently found myself in need of a file from Dropbox on my home/family computer. &amp;nbsp;But there&#39;s a different Dropbox account setup there...&lt;br /&gt;
&lt;br /&gt;
So, I found out that it is possible (on Linux, anyway) to have more than one Dropbox account running at once; read on for details:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe bordercolor=&quot;#000000&quot; frameborder=&quot;0&quot; height=&quot;200&quot; hspace=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://ad.doubleclick.net/adi/N7433.148119.BLOGGEREN/B6631428.123642;sz=200x200;ord=[timestamp]?;lid=41000613802464048;pid=23340234;usg=AFHzDLu3MX9MNEKMpPcv8Kz-ItYsMmnOFg;adurl=http%253A%252F%252Fwww.officemax.com%252Ftechnology%252Fdrives-memory-storage%252Fhard-drives-usb-drives%252Finternal-hard-drives%252Fproduct-prod3970014%253Fcm_mmc%253DPerformics-_-Technology-_-Drives%252C%252520Memory%252520and%252520Storage-_-Hard%252520Drives%252520and%252520USB%252520Drives%2526ci_src%253D14110944%2526ci_sku%253D23340234;pubid=613388;imgsrc=http%3A%2F%2Fwww.officemax.com%2Fcatalog%2Fimages%2F397x353%2F23340234i_01.jpg;width=200;height=177&quot; vspace=&quot;0&quot; width=&quot;200&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b id=&quot;internal-source-marker_0.7535387945827097&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #1155cc; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;a href=&quot;http://goo.gl/LC15u&quot; target=&quot;_blank&quot;&gt;Adapted from here:&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Install the primary Dropbox account as you normally would, then, to do the second one:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b id=&quot;internal-source-marker_0.7535387945827097&quot; style=&quot;font-weight: normal; text-indent: 36pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;mkdir ~/.dropbox-alt&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b id=&quot;internal-source-marker_0.7535387945827097&quot; style=&quot;font-weight: normal; text-indent: 36pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;HOME=~/dropbox-alt dropbox start -i&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/blockquote&gt;
&lt;b id=&quot;internal-source-marker_0.7535387945827097&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;You may have to do this several times to get it to work.  I found that it helps to close the first Dropbox instance.  Eventually, the GUI will ask for the account information and setup the second account.  Note that the Dropbox folder will reside by default within your .dropbox-alt directory; leaving it there is probably a good idea.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b id=&quot;internal-source-marker_0.7535387945827097&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Once you have setup the second account, you can create a symbolic link to the new Dropbox folder in your /home directory:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ln -s ~/.dropbox-alt/Dropbox/ ~/Dropbox-ALT&lt;/span&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The primary installation of Dropbox will run on boot, but to get the second one running, you’ll need to create a script. I like to create mine inside ~/.dropbox-alt:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;HOME=~/.dropbox-alt ~/.dropbox-alt/.dropbox-dist/dropboxd &amp;amp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Then, since I&#39;m running gnome, I just put that script in gnome-session-properties to start on boot.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/2781324518274134793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2013/01/more-dropbox-fun.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/2781324518274134793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/2781324518274134793'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2013/01/more-dropbox-fun.html' title='More Dropbox Fun'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-6244343082284673073</id><published>2012-03-06T13:10:00.001-08:00</published><updated>2012-03-06T13:10:33.524-08:00</updated><title type='text'>Google Docs Keyboard Shortcut for the Equation Editor</title><content type='html'>I love Google Docs, and the equation editor, though far from perfect,&lt;br&gt;is pretty handy. Except for the fact that Google didn&amp;#39;t create a&lt;br&gt;keyboard shortcut to activate it.&lt;p&gt;That means, if you want to insert an equation, you have to use the mouse.&lt;p&gt;Fortunately, Google Users are resourceful. One such user has created a&lt;br&gt;script that creates a shortcut-like function in Chrome:&lt;br&gt;&lt;a href=&quot;http://goo.gl/7vTg5&quot;&gt;http://goo.gl/7vTg5&lt;/a&gt;&lt;p&gt;Wherever you want an equation, type two dollar signs, and the equation&lt;br&gt;editor pops up. When you&amp;#39;re done with the equation, press Tab.</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/6244343082284673073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2012/03/google-docs-keyboard-shortcut-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/6244343082284673073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/6244343082284673073'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2012/03/google-docs-keyboard-shortcut-for.html' title='Google Docs Keyboard Shortcut for the Equation Editor'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-966915841057953862</id><published>2012-02-22T13:04:00.000-08:00</published><updated>2013-06-25T13:42:17.027-07:00</updated><title type='text'>Setup your own Dropbox with Unison</title><content type='html'>Using Unison in Linux&lt;br /&gt;
&lt;br /&gt;
This does seem to work pretty well. I haven&#39;t set it up as a service anywhere, so
I have to run it from the command prompt. But, once it gets going, it is quick.&lt;br /&gt;
&lt;br /&gt;
Install Unison on two computers (server and client); uses ssh, so that needs to
be installed, too.  The version of Unison on both computers must be the same.&lt;br /&gt;
&lt;br /&gt;
http://www.seas.upenn.edu/~bcpierce/unison//download/releases/&lt;br /&gt;
&lt;br /&gt;
Intall OCaml (&lt;a href=&quot;http://caml.inria.fr/&quot;&gt;http://caml.inria.fr/&lt;/a&gt;)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;sudo yum install ctags-etags ocaml&lt;/span&gt;&lt;/blockquote&gt;
cd to the unison source directory, then:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;make UISTYLE=text&lt;br /&gt;./unison -version&lt;br /&gt;mv unison ~&lt;br /&gt;cd ~&lt;br /&gt;mv unison .unison/&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
Now that the code has been run, the .unison/default.prf has been created; edit (on the client):&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;# load the common preferences&lt;br /&gt;include common&lt;br /&gt;addprefsto = common&lt;br /&gt;label = default profile&lt;br /&gt;
#root = source&lt;br /&gt;#root = /home/username/Desktop/Unison
&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#root = source2&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#root = source2
&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#root = ssh://login@host.com/Desktop/Unison&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#root = ssh://login@host.com/Desktop/Unison
&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#path = path to sync&lt;br /&gt;#ignore = path to NOT sync&lt;/span&gt;&lt;/blockquote&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;
Also on the client, in your home directory, create the .unison/common file:&lt;/div&gt;
&lt;/pre&gt;
&lt;pre&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;# Unison preferences file&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;auto=true&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;batch=true&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;sshargs = -C&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;copythreshold = 1000&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;killserver = true&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;copyquoterem = true&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;confirmbigdel = false&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;maxthreads = 5&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;perms=0&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;times=true&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;silent = true&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#group=true&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#owner=true&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;prefer=newer&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#crontab -e&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;#*/30 * * * * /usr/bin/unison &amp;lt;profile&amp;gt; &amp;amp;&amp;gt; /dev/null&lt;/span&gt;&lt;/blockquote&gt;
&lt;/pre&gt;
Use the default.prf file as a template to create a file for your needs (ie &quot;backup.prf&quot;):&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;# Unison preferences&lt;br /&gt;include common&lt;br /&gt;label = my backup&lt;br /&gt;root = /home/username-on-client&lt;br /&gt;root = ssh://username@domain//media/path/to/destination&lt;br /&gt;path = Name-Of-Directory&lt;/span&gt;&lt;/blockquote&gt;
&lt;div&gt;
This is the commandline I use on the client:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;unison backup -auto -ui text&lt;/span&gt;&lt;/blockquote&gt;
If it isn&#39;t working, create a logfile:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;unison backup -auto -ui text -logfile unison.log&lt;/span&gt;&lt;/blockquote&gt;
Once you&#39;re happy with it, create a cron job (crontab -e):&lt;br /&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;*/30 * * * * /path/to/unison backup &amp;amp;&amp;gt;/dev/null&lt;/span&gt;&lt;/blockquote&gt;
(Don&#39;t forget to restart the crond daemon: service crond restart)&lt;br /&gt;
&lt;br /&gt;
You can also use incrond / inotify to call the script on filesystem changes (as opposed to time-based cronjobs.)&lt;br /&gt;
&lt;br /&gt;
[Windows version available here: http://alan.petitepomme.net/unison/index.html]&lt;br /&gt;
&lt;br /&gt;
FYI, to transfer within the same system:&lt;br /&gt;
unision -batch &amp;lt;source&amp;gt; &amp;lt;dest&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html&quot; target=&quot;_blank&quot;&gt;Advanced Unison Settings&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/966915841057953862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2012/02/setup-your-own-dropbox-with-unison.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/966915841057953862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/966915841057953862'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2012/02/setup-your-own-dropbox-with-unison.html' title='Setup your own Dropbox with Unison'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-1146385519690988040</id><published>2012-02-22T06:52:00.000-08:00</published><updated>2012-02-22T06:52:51.111-08:00</updated><title type='text'>Turn Bluetooth and Wi-Fi on/off automatically in Cyanogenmod 7</title><content type='html'>Hard little gem to find. If there&#39;s another way to do it, I couldn&#39;t find it.&lt;br /&gt; Create a Power Control widget, and change the Power Events settings at the bottom of the settings screen. &amp;nbsp;You can set Bluetooth and Wi-Fi to enable/disable automatically when the charger is connected/disconnected. &amp;nbsp;(Several other settings are available here, as well, but these are the only ones I was looking for at the moment...)&lt;br /&gt;
&lt;br /&gt;
You do have to save the widget, but you don&#39;t have to actually KEEP it, by the way. Deleting the widget from your homescreen doesn&#39;t disable these settings.</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/1146385519690988040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2012/02/turn-bluetooth-and-wi-fi-onoff.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/1146385519690988040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/1146385519690988040'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2012/02/turn-bluetooth-and-wi-fi-onoff.html' title='Turn Bluetooth and Wi-Fi on/off automatically in Cyanogenmod 7'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-4508763359891833233</id><published>2012-02-20T11:35:00.000-08:00</published><updated>2013-06-24T10:16:46.355-07:00</updated><title type='text'>Dropbox on Fedora 16 Headless</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;(Some of this came from wiki.dropbox, but I can&#39;t find it there anymore...)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;AS A USER, NOT ROOT, ssh to the server (without X11 forwarding), then:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;echo DROPBOX_USERS=&quot;&amp;lt;insert user name here&amp;gt;&lt;user&gt;&quot; &amp;gt; /etc/sysconfig/dropbox.conf&amp;nbsp;&lt;/user&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Fix file permissions:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;user&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;chmod 0644 /etc/sysconfig/dropbox.conf&amp;nbsp;&lt;/span&gt;&lt;/user&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;IN USER&#39;S HOME:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;user&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;wget http://www.dropbox.com/download/?plat=lnx.x86_64&amp;nbsp;&lt;/span&gt;&lt;/user&gt;&lt;/blockquote&gt;
&lt;user&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Extract:&lt;/span&gt;&lt;/user&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;user&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;tar -xzvf dropbox*.tar.gz&amp;nbsp;&lt;/span&gt;&lt;/user&gt;&lt;user&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;cd .dropbox-dist&amp;nbsp;&lt;/span&gt;&lt;/user&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;./dropboxd&amp;nbsp;# DO NOT HAVE X11 FORWARDING ENABLED when you run dropboxd&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The first time it is run, it will ask you to visit a link to activate; copy the URL and visit in a browser on your desktop (doesn’t have to be on the server.)  Once activated, in the terminal:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;user&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;^C to close dropboxd&amp;nbsp;&lt;/span&gt;&lt;/user&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;user&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;cd /lib/systemd/system&amp;nbsp;&lt;/span&gt;&lt;/user&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Edit dropbox.service, and insert the following&lt;/span&gt;&lt;user style=&quot;font-family: inherit;&quot;&gt;:&amp;nbsp;&lt;/user&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;UPDATED 3/31/2012&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace;&quot;&gt;[Unit]&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Description=Dropbox&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Daemon&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;After=syslog.target network.target nmb.service&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;[Service]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Type=forking&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;#PIDFile=/var/run/dropbox.pid&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;EnvironmentFile=/etc/sysconfig/dropbox.conf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;ExecStart=/sbin/runuser -l &amp;lt;USER&amp;gt; -c &quot;~&amp;lt;USER&amp;gt;/.dropbox-dist/dropboxd&amp;amp;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;[Install]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;WantedBy=multi-user.target&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Enable the service for autostart and start the Dropbox service:&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;systemctl enable dropbox.service&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;systemctl --system daemon-reload&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;systemctl status dropbox.service&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;systemctl start dropbox.service&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;systemctl status dropbox.service&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;To disable the service:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;systemctl stop dropbox.service&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;systemctl disable dropbox.service&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/4508763359891833233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2012/02/dropbox-on-fedora-16-headless.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/4508763359891833233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/4508763359891833233'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2012/02/dropbox-on-fedora-16-headless.html' title='Dropbox on Fedora 16 Headless'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6364128096642486941.post-2714727589580235115</id><published>2012-02-20T11:23:00.001-08:00</published><updated>2012-02-20T11:23:42.519-08:00</updated><title type='text'>Connecting an Android phone to restricted.utexas WiFi</title><content type='html'>EAP method: PEAP&lt;br /&gt;
Phase 2 authentication: MSCHAPV2&lt;br /&gt;
Identity: &lt;i&gt;Your EID&lt;/i&gt;&lt;br /&gt;
Anonymous Identity: anonymous &lt;b&gt;(Believe it or not, this matters!)&lt;/b&gt;&lt;br /&gt;
Password: &lt;i&gt;Your EID Password
&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://binarywaste.blogspot.com/feeds/2714727589580235115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://binarywaste.blogspot.com/2012/02/connecting-android-phone-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/2714727589580235115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6364128096642486941/posts/default/2714727589580235115'/><link rel='alternate' type='text/html' href='http://binarywaste.blogspot.com/2012/02/connecting-android-phone-to.html' title='Connecting an Android phone to restricted.utexas WiFi'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>