Monday, July 26, 2010

tynt sux0r

http://dropsafe.crypticide.com/article/3343#comment-23746

The way Tynt works is fairly simple. They attach a listener to the browser’s copy event that creates a hidden div with your selected text + two line breaks + attribution + sponsorship and they select the new text using either setBaseAndExtent for Safari, selectNodeContents and addRange for FF/Opera, or moveToElementText and select for IE. The browser copies the new hijacked selection to your clipboard. The script then reselects the range of text you had selected originally to make it look as if nothing is going on behind the scenes — using Tamper Data or Firebug’s Net panel will easily tell another story though, as you’ll notice requests going out whenever you Ctrl+C.

Monday, July 19, 2010

super quick openwrt upgrade from WhiteRussian RC3 -> backfire 10.03

Downloaded 10.03 for brcm47xx : http://downloads.openwrt.org/backfire/10.03/brcm47xx/openwrt-wrt54g-squashfs.bin

http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/

convert .bin download to .trx - instructions at https://forum.openwrt.org/viewtopic.php?id=12248

basically:
dd bs=32 skip=1 if=linksys.bin of=linksys.trx


confirm file now begins at byte 0 with HDR0::

$ hexdump -C openwrt-wrt54g-squashfs.bin | grep HDR0


then uploaded bin using scp

then installed using mtd:
http://wiki.openwrt.org/doc/howto/installing#via.the.openwrt.command.line

mtd -r write firmware.trx linux





by default it's configured to bridge lan and wireless.
i just disabled DHCP, gave it a static IP, DNS and default gw.

configured wireless SSID + auth same as the other router in the house.

profit!

Wednesday, July 14, 2010

never feel the need again to source .bashrc

export BASHRC_MTIME=`stat -c%Y ~/.bashrc`
auto_update() {
if [ ! $BASHRC_MTIME ] || (( "`stat -c%Y ~/.bashrc`" > $BASHRC_MTIME )); then
source ~/.bashrc
fi
}
PROMPT_COMMAND=auto_update

of course this comes at some cost - a call to stat() every prompt.

Wednesday, July 7, 2010

thank you last.fm

I've been looking for a copy of a CD I lost a long time ago in a foreign country.
Human Beings - For The Time Being -- was its name.

http://www.amazon.com/Time-Being-RARE-Human-Beings/dp/B001SLM0GC - is a $40 copy being sold on ebay.

I still have the album case/liner notes... but no plastic disc.

http://www.discogs.com/artist/Human+Beings - discography

Enter last.fm:

http://www.last.fm/music/Human+Beings/For+The+Time+Being

"Free Download" -- what's that you tell me? omg.


Sorry to hear about the band member... 41 and done in by a stroke.. so talented, so young.

http://translate.google.com/translate?hl=en&sl=nl&u=http://3voor12.vpro.nl/artikelen/artikel/21186543&ei=ejo1TNjFM4vWtQPlzpjEAQ&sa=X&oi=translate&ct=result&resnum=2&ved=0CB8Q7gEwAQ&prev=/search%3Fq%3DBert%2Bvan%2Bde%2BGrift%26hl%3Den%26safe%3Doff%26client%3Dsafari%26rls%3Den

His website: http://www.bertvandegrift.nl

---------------

Update (2011-07-12):

Allert has a nice profile with links to his band's music at: http://www.last.fm/user/allert#shoutbox
and his website with links to bandcamp for free play/download of all the albums:
http://www.bigtimeconcepts.nl/Human-Beings/Downloads/Downloads.html

Full album:  http://humanbeings.bandcamp.com/album/for-the-time-being

And another band for a good cause: http://waitwhat.bandcamp.com/album/this-is-real-life

#RSFtalks with Edward Snowden

What an intelligent, thoughtful individual. I find it difficult to forgive 44 for failing to pardon this patriot and instead pursuing him ...

Other Popular Posts: