Monthly Archives: September 2010

ReadyNAS Duo Internals

This very cool NAS Box runs a version of Linux (I think Debian): nas-D0-E9-23:/c/home/admin# uname -aLinux nas-D0-E9-23 2.6.17.8ReadyNAS #1 Tue Jun 9 13:59:28 PDT 2009 padre unknownnas-D0-E9-23:/c/home/admin# cat /proc/cpuinfocpu : Infrant Technologics, Inc. – neon version: 0fpu : Softfpuncpus probed … Continue reading

Posted in Uncategorized | Leave a comment

Useful status line in vi

:set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]

Posted in Uncategorized | Leave a comment

Cool Real gauge measuring your PC performance: function Timer(){this.t={};this.tick=function(a,b){this.t[a]=[(new Date).getTime(),b]};this.tick(“start”)}var loadTimer=new Timer;window.jstiming={Timer:Timer,load:loadTimer};if(window.external&&window.external.pageT)window.jstiming.pt=window.external.pageT;if(window.jstiming)window.jstiming.report=function(g,d){var c=””;if(window.jstiming.pt){c+=”&srt=”+window.jstiming.pt;delete window.jstiming.pt}if(window.external&&window.external.tran)c+=”&tran=”+window.external.tran;var a=g.t,h=a.start;delete a.start;var i=[],e=[];for(var b in a){if(b.indexOf(“_”)==0)continue;var f=a[b][1];if(f)a[f][0]&&e.push(b+”.”+(a[b][0]-a[f][0]));else h&&i.push(b+”.”+(a[b][0]-h[0]))}if(d)for(var j in d)c+=”&”+j+”=”+d[j];(new Image).src=[“http://csi.gstatic.com/csi?v=3″,”&s=gviz&action=”,g.name,e.length?”&it=”+e.join(“,”)+c:c,”&rt=”,i.join(“,”)].join(“”)}; var csi_timer = new window.jstiming.Timer();csi_timer.name = ‘docs_gauge’; google.setOnLoadCallback(drawChart); function drawChart() { csi_timer.tick(‘load’); var data … Continue reading

Posted in Uncategorized | Leave a comment

Google Graph

Cool way to draw gauges via Google Graph API:http://code.google.com/apis/visualization/documentation/gallery/gauge.html

Posted in Uncategorized | Leave a comment