20090710

Re: Base62 encoding/decoding

<br />Re: Base62 encoding/decoding <br />by Todd Benson-2 May 06, 2009; 08:12pm :: Rate this Message: - Use ratings to moderate (?)<br /><br />Reply | Reply to Author | Print | View Threaded | Show Only this Message <br /><br />On Wed, May 6, 2009 at 11:32 AM, Martin DeMello <martindemello@...> wrote: <br />> <br />> it's definitely possible, just inefficient. first you set up your lookup table: <br />> <br />>> digits = (0..9).to_a.map(&:to_s) + ("a".."z").to_a + ("A".."Z").to_a <br />>> <br />> <br />> then you repeatedly find the lowest digit <br />> <br />>> out = "" <br />>> while n > 0 <br />>> rest, units = n.divmod(62) <br />>> out = digits[units] + out <br />>> n = rest <br />>> end <br />> <br />> martin <br />> <br />> <br />...[show rest of quote]<br /><br />Isn't that just a simple cipher (i.e. map)? I must be missing <br />something. According to what I've read so far, base64 is not, and <br />base62 is, except for that paper written in a scientific journal that <br />I don't have access to (but, for the summary, of course). I suppose <br />that is what the OP wanted anyway. <br /><br />Todd <br /><br /> <br /><br /> Re: Base62 encoding/decoding <br />by Martin DeMello May 07, 2009; 07:44am :: Rate this Message: - Use ratings to moderate (?)<br /><br />Reply | Reply to Author | Print | View Threaded | Show Only this Message <br /><br />On Wed, May 6, 2009 at 11:42 PM, Todd Benson <caduceass@...> wrote: <br />> On Wed, May 6, 2009 at 11:32 AM, Martin DeMello <martindemello@...> wrote: <br />>> <br />>>> out = "" <br />>>> while n > 0 <br />>>> rest, units = n.divmod(62) <br />>>> out = digits[units] + out <br />>>> n = rest <br />>>> end <br />> <br />> Isn't that just a simple cipher (i.e. map)? I must be missing <br />> something. According to what I've read so far, base64 is not, and <br />> base62 is, except for that paper written in a scientific journal that <br />> I don't have access to (but, for the summary, of course). I suppose <br />> that is what the OP wanted anyway. <br />...[show rest of quote]<br /><br />No, it's a number base transformation. Here's an example using base 7 <br />(as being easier to work with than 62 :)): <br /><br />letting n = 1250, and using # as a divmod operator: <br /><br />1250 # 7 = 178, 4 <br />178 # 7 = 25, 3 <br />25 # 7 = 3, 4 <br />3 # 7 = 0, 3 <-- we have reached n=0, so the loop terminates <br /><br />so 1250[base 10] = 3434 [base 7] <br /><br />If you think about it, base 10 works the same way: <br /><br />1250 # 10 = 125, 0 <br />125 # 10 = 12, 5 <br />12 # 10 = 1, 2 <br />1 # 10 = 0, 1 <br /><br />so 1250[base 10] = 1250[base 10] <br /><br />To go the other way, you repeatedly add the least significant digit <br />and multiply by the base <br /><br />so 3434[7] <br /><br />start with 0, and read the digits in forward order <br />(0 * 7) + 3 = 3 <br />3 * 7 + 4 = 25 <br />24 * 7 + 3 = 178 <br />178 * 7 + 4 = 1250 <--- et voila! <br /><br />martin <br /><br /><br />martin <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/17606607483823573214' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/17606607483823573214' rel='author' title='author profile'> <span itemprop='name'>RJ</span> </a> </span> </span> <span class='post-timestamp'> at <meta content='http://thijstoday.blogspot.com/2009/07/re-base62-encodingdecoding.html' itemprop='url'/> <a class='timestamp-link' href='http://thijstoday.blogspot.com/2009/07/re-base62-encodingdecoding.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2009-07-10T14:16:00+02:00'>14:16</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='http://thijstoday.blogspot.com/2009/07/re-base62-encodingdecoding.html#comment-form' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-control blog-admin pid-1573505779'> <a href='https://www.blogger.com/post-edit.g?blogID=8194035553301014782&postID=6789997588529783849&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> </div></div> <div class="date-outer"> <h2 class='date-header'><span>20090708</span></h2> <div class="date-posts"> <div class='post-outer'> <div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <meta content='8194035553301014782' itemprop='blogId'/> <meta content='8114172715401519723' itemprop='postId'/> <a name='8114172715401519723'></a> <h3 class='post-title entry-title' itemprop='name'> <a href='http://www.chromeexperiments.com/detail/wavy-scrollbars/'>http://www.chromeexperiments.com/detail/wavy-scrollbars/</a> </h3> <div class='post-header'> <div class='post-header-line-1'></div> </div> <div class='post-body entry-content' id='post-body-8114172715401519723' itemprop='description articleBody'> http://www.chromeexperiments.com/detail/wavy-scrollbars/<br /><br />--<br />map{ map{tr|10|# |;print} split//,sprintf"%.8b\n",$_}<br />unpack'C*',unpack'u*',"5`#8<3'X`'#8^-@`<-CPP`#8V/C8`" <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/17606607483823573214' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/17606607483823573214' rel='author' title='author profile'> <span itemprop='name'>RJ</span> </a> </span> </span> <span class='post-timestamp'> at <meta content='http://thijstoday.blogspot.com/2009/07/httpwwwchromeexperimentscomdetailwavy.html' itemprop='url'/> <a class='timestamp-link' href='http://thijstoday.blogspot.com/2009/07/httpwwwchromeexperimentscomdetailwavy.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2009-07-08T11:01:00+02:00'>11:01</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='http://thijstoday.blogspot.com/2009/07/httpwwwchromeexperimentscomdetailwavy.html#comment-form' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-control blog-admin pid-1573505779'> <a href='https://www.blogger.com/post-edit.g?blogID=8194035553301014782&postID=8114172715401519723&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> </div></div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' href='http://thijstoday.blogspot.com/' id='Blog1_blog-pager-newer-link' title='Newer Posts'>Newer Posts</a> </span> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='http://thijstoday.blogspot.com/search?updated-max=2009-07-08T11:01:00%2B02:00' id='Blog1_blog-pager-older-link' title='Older Posts'>Older Posts</a> </span> <a class='home-link' href='http://thijstoday.blogspot.com/'>Home</a> </div> <div class='clear'></div> <div class='blog-feeds'> <div class='feed-links'> Subscribe to: <a class='feed-link' href='http://thijstoday.blogspot.com/feeds/posts/default' target='_blank' type='application/atom+xml'>Posts (Atom)</a> </div> </div> </div></div> </div> <div id='sidebar-wrapper'> <div class='sidebar section' id='sidebar'><div class='widget HTML' data-version='1' id='HTML4'> <h2 class='title'>Where am I?</h2> <div class='widget-content'> <!-- Google Public Location Badge --> <iframe src="http://www.google.com/latitude/apps/badge/api?user=-8143020222761460861&type=iframe&maptype=hybrid&hl=nl" width="180" height="300" frameborder="0"></iframe> <!-- To disable location sharing, you *must* visit https://www.google.com/latitude/apps/badge and disable the Google Public Location badge. Removing this code snippet is not enough! --> </div> <div class='clear'></div> </div><div class='widget HTML' data-version='1' id='HTML1'> <h2 class='title'>Extra whotsits</h2> <div class='widget-content'> <form action="http://google.com/search" style="display:inline;" method="GET"><input name="q" size="13" type="text"/><input value="&#x272A;" type="submit"/><input value="thijstoday.blogspot.com" name="sitesearch" type="hidden"/></form> </div> <div class='clear'></div> </div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>Blog Archive</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul class='flat'> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2013_10_20_archive.html'>Oct 20</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2013_05_05_archive.html'>May 5</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2012_10_28_archive.html'>Oct 28</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2012_08_26_archive.html'>Aug 26</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2011_05_08_archive.html'>May 8</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2011_04_10_archive.html'>Apr 10</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2011_01_23_archive.html'>Jan 23</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_12_26_archive.html'>Dec 26</a> (2) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_12_19_archive.html'>Dec 19</a> (2) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_11_28_archive.html'>Nov 28</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_11_21_archive.html'>Nov 21</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_10_31_archive.html'>Oct 31</a> (2) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_08_22_archive.html'>Aug 22</a> (6) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_08_08_archive.html'>Aug 8</a> (23) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_08_01_archive.html'>Aug 1</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2010_07_25_archive.html'>Jul 25</a> (13) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_11_29_archive.html'>Nov 29</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_11_01_archive.html'>Nov 1</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_09_20_archive.html'>Sep 20</a> (3) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_09_13_archive.html'>Sep 13</a> (2) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_09_06_archive.html'>Sep 6</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_08_30_archive.html'>Aug 30</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_07_19_archive.html'>Jul 19</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_07_05_archive.html'>Jul 5</a> (2) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_06_14_archive.html'>Jun 14</a> (2) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_06_07_archive.html'>Jun 7</a> (5) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_05_31_archive.html'>May 31</a> (12) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_05_24_archive.html'>May 24</a> (9) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_05_03_archive.html'>May 3</a> (3) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_04_26_archive.html'>Apr 26</a> (8) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_04_19_archive.html'>Apr 19</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_04_12_archive.html'>Apr 12</a> (4) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_04_05_archive.html'>Apr 5</a> (6) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_03_29_archive.html'>Mar 29</a> (5) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_03_22_archive.html'>Mar 22</a> (10) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_03_15_archive.html'>Mar 15</a> (4) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_03_08_archive.html'>Mar 8</a> (6) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_03_01_archive.html'>Mar 1</a> (5) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_01_25_archive.html'>Jan 25</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2009_01_18_archive.html'>Jan 18</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2008_12_07_archive.html'>Dec 7</a> (15) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2008_11_16_archive.html'>Nov 16</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2008_11_09_archive.html'>Nov 9</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2008_10_19_archive.html'>Oct 19</a> (1) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2008_09_21_archive.html'>Sep 21</a> (4) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2008_09_14_archive.html'>Sep 14</a> (13) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2008_09_07_archive.html'>Sep 7</a> (7) </li> <li class='archivedate'> <a href='http://thijstoday.blogspot.com/2008_08_31_archive.html'>Aug 31</a> (13) </li> </ul> </div> </div> <div class='clear'></div> </div> </div><div class='widget LinkList' data-version='1' id='LinkList1'> <h2>also me</h2> <div class='widget-content'> <ul> <li><a href='http://dalhuijsen.com/'>dalhuijsen.com</a></li> <li><a href='http://www.facebook.com/srch.php?nm=thijs+dalhuijsen'>facebook</a></li> <li><a href='http://www.myspace.com/drkrimson'>Myspace</a></li> <li><a href='http://www.myspace.com/dkrimson'>Myspace music</a></li> <li><a href='http://twitter.com/tw/search/users?q=drkrimson'>twitter</a></li> </ul> <div class='clear'></div> </div> </div><div class='widget Subscribe' data-version='1' id='Subscribe1'> <div style='white-space:nowrap'> <h2 class='title'>Subscribe</h2> <div class='widget-content'> <div class='subscribe-wrapper subscribe-type-POST'> <div class='subscribe expanded subscribe-type-POST' id='SW_READER_LIST_Subscribe1POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Posts </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=http%3A%2F%2Fthijstoday.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=http%3A%2F%2Fthijstoday.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='http://thijstoday.blogspot.com/feeds/posts/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe1POST' onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Posts </span> </span> </div> <div class='bottom'></div> </div> </div> <div class='subscribe-wrapper subscribe-type-COMMENT'> <div class='subscribe expanded subscribe-type-COMMENT' id='SW_READER_LIST_Subscribe1COMMENT' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe1COMMENT"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> All Comments </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=http%3A%2F%2Fthijstoday.blogspot.com%2Ffeeds%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=http%3A%2F%2Fthijstoday.blogspot.com%2Ffeeds%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='http://thijstoday.blogspot.com/feeds/comments/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe1COMMENT' onclick='return(_SW_toggleReaderList(event, "Subscribe1COMMENT"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe1COMMENT"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> All Comments </span> </span> </div> <div class='bottom'></div> </div> </div> <div style='clear:both'></div> </div> </div> <div class='clear'></div> </div><div class='widget HTML' data-version='1' id='HTML3'> <h2 class='title'>share</h2> <div class='widget-content'> <div><script type="text/javascript">var addthis_pub="4a1d158b22f539b6";</script> <a onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php?v=20" onclick="return addthis_sendto()"><img width="16" alt="Bookmark and Share" style="border:0" src="http://s7.addthis.com/static/btn/sm-plus.gif" height="16"/></a><script src="http://s7.addthis.com/js/200/addthis_widget.js" type="text/javascript"></script></div> </div> <div class='clear'></div> </div><div class='widget Feed' data-version='1' id='Feed1'> <h2>Packet Storm Security Last Files</h2> <div class='widget-content' id='Feed1_feedItemListDisplay'> <span style='filter: alpha(25); opacity: 0.25;'> <a href='http://packetstormsecurity.org/last.xml'>Loading...</a> </span> </div> <div class='clear'></div> </div><div class='widget AdSense' data-version='1' id='AdSense1'> <div class='widget-content'> <script type="text/javascript"><!-- google_ad_client="pub-1922521249916098"; google_ad_host="pub-1556223355139109"; google_ad_host_channel="00000"; google_alternate_ad_url="http://www.blogger.com/img/blogger_ad160x600.html"; google_ad_width=160; google_ad_height=600; google_ad_format="160x600_as"; google_ad_type="text_image"; google_color_border="FCFCFF"; google_color_bg="FCFCFF"; google_color_link="999999"; google_color_url="333333"; google_color_text="666666"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <div class='clear'></div> </div> </div></div> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'>&#160;</div> </div> <!-- end content-wrapper --> <div id='footer-wrapper'> <div class='footer section' id='footer'><div class='widget HTML' data-version='1' id='HTML2'> <div class='widget-content'> <script src="http://badge.facebook.com/badge/660579485.683.156998013.js"></script><noscript><a href="http://www.facebook.com/people/Thijs-Dalhuijsen/660579485">Thijs Dalhuijsen's Facebook profile</a></noscript> <!-- Include the Google Friend Connect javascript library. --> <script src="http://www.google.com/friendconnect/script/friendconnect.js" type="text/javascript"></script> <!-- Define the div tag where the gadget will be inserted. --> <div id="div-3230847841367770491" style="width:276px;border:1px solid #cccccc;"></div> <!-- Render the gadget into a div. --> <script type="text/javascript"> var skin = {}; skin['BORDER_COLOR'] = '#cccccc'; skin['ENDCAP_BG_COLOR'] = '#e0ecff'; skin['ENDCAP_TEXT_COLOR'] = '#333333'; skin['ENDCAP_LINK_COLOR'] = '#0000cc'; skin['ALTERNATE_BG_COLOR'] = '#ffffff'; skin['CONTENT_BG_COLOR'] = '#ffffff'; skin['CONTENT_LINK_COLOR'] = '#0000cc'; skin['CONTENT_TEXT_COLOR'] = '#333333'; skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc'; skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666'; skin['CONTENT_HEADLINE_COLOR'] = '#333333'; skin['NUMBER_ROWS'] = '4'; google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */); google.friendconnect.container.renderMembersGadget( { id: 'div-3230847841367770491', site: '01718312967030068480' }, skin); </script> </div> <div class='clear'></div> </div></div> <div class='thijsfooter'> <nobr><tt>map{ map{tr|10|# |;print} split//,sprintf"%.8b\n",$_}unpack'C*',unpack'u*',"5`#8<3'X`'#8^-@`<-CPP`#8V/C8`" <br/>All Rights Reserved, Copyright (C) 2008 Thijs Dalhuijsen </tt></nobr> </div> </div> </div></div> <!-- end outer-wrapper --> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/1807328581-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AOuZoY4pbB7y7DKiCcPV6PaJAO5kF6Rq9Q:1714367868934';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d8194035553301014782','//thijstoday.blogspot.com/2009_07_05_archive.html','8194035553301014782'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '8194035553301014782', 'title': 'Thijs\x27 today', 'url': 'http://thijstoday.blogspot.com/2009_07_05_archive.html', 'canonicalUrl': 'http://thijstoday.blogspot.com/2009_07_05_archive.html', 'homepageUrl': 'http://thijstoday.blogspot.com/', 'searchUrl': 'http://thijstoday.blogspot.com/search', 'canonicalHomepageUrl': 'http://thijstoday.blogspot.com/', 'blogspotFaviconUrl': 'http://thijstoday.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en', 'localeUnderscoreDelimited': 'en', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Thijs\x26#39; today - Atom\x22 href\x3d\x22http://thijstoday.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Thijs\x26#39; today - RSS\x22 href\x3d\x22http://thijstoday.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Thijs\x26#39; today - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/8194035553301014782/posts/default\x22 /\x3e\n', 'meTag': '', 'adsenseClientId': 'ca-pub-1922521249916098', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': true, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/16e657cb9c57b8a2', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'Twitter', 'key': 'twitter', 'shareMessage': 'Share to Twitter', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'archive', 'pageName': '7/5/09 - 7/12/09', 'pageTitle': 'Thijs\x27 today: 7/5/09 - 7/12/09'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard!', 'ok': 'Ok', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Thijs\x27 today', 'description': 'whatever I find on my pasteboard.', 'url': 'http://thijstoday.blogspot.com/2009_07_05_archive.html', 'type': 'feed', 'isSingleItem': false, 'isMultipleItems': true, 'isError': false, 'isPage': false, 'isPost': false, 'isHomepage': false, 'isArchive': true, 'isLabelSearch': false, 'archive': {'year': 2009, 'month': 7, 'day': 5, 'rangeMessage': 'Showing posts from July 5, 2009'}}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/1666805145-lbx.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/13464135-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML4', 'sidebar', document.getElementById('HTML4'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'sidebar', document.getElementById('HTML1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_LinkListView', new _WidgetInfo('LinkList1', 'sidebar', document.getElementById('LinkList1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_SubscribeView', new _WidgetInfo('Subscribe1', 'sidebar', document.getElementById('Subscribe1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML3', 'sidebar', document.getElementById('HTML3'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FeedView', new _WidgetInfo('Feed1', 'sidebar', document.getElementById('Feed1'), {'title': 'Packet Storm Security Last Files', 'showItemDate': false, 'showItemAuthor': false, 'feedUrl': 'http://packetstormsecurity.org/last.xml', 'numItemsShow': 5, 'loadingMsg': 'Loading...', 'openLinksInNewWindow': false, 'useFeedWidgetServ': 'true'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AdSenseView', new _WidgetInfo('AdSense1', 'sidebar', document.getElementById('AdSense1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'footer', document.getElementById('HTML2'), {}, 'displayModeFull')); </script> </body> </html>