15 Jul 2013

Linux – Bash Script to Randomly Rename Files In Current Directory

This version uses the whole sha1sum:

#!/usr/bin/sh
for fname in *.mp3;
do
mv "$fname" $(echo "$fname" | sha1sum | cut -f1 -d' ').mp3
done

This version uses only the first 8 characters of the sha1sum (WARNING: might overwrite files)

#!/usr/bin/sh
for fname in *.mp3;
do
mv "$fname" $(echo "$fname" | sha1sum | cut -b -8).mp3
done

14 Jul 2013

List of Wireless Bluetooth/RFID Deadbolt Locks

lockitron-unitLockitron deadbolt

recodura-green-accessGreen Access

gojiGoji Smart Lock

unikey/Kwikset's KevoUnikey/Kwikset’s Kevo

22 Jun 2013

President John F Kennedy Secret Society Speech version 2 – YouTube

President John F Kennedy Secret Society Speech version 2

via President John F Kennedy Secret Society Speech version 2 – YouTube.

21 Jun 2013

“Tell-all telephone”: What Can You Do With Cellphone “Meta-data”

Tell-all telephone | Data Protection | Digital | ZEIT ONLINE.

19 Jun 2013

Hanlon’s razor – Wikipedia

Hanlon’s razor is an eponymous adage that allows the elimination of unlikely explanations for a phenomenon. It reads: Never attribute to malice that which is adequately explained by stupidity.

via Hanlon’s razor – Wikipedia.

19 Jun 2013

Texas sharpshooter fallacy – Wikipedia

The Texas sharpshooter fallacy is an informal fallacy in which pieces of information that have no relationship to one another are called out for their similarities, and that similarity is used for claiming the existence of a pattern.1 This fallacy is the philosophical/rhetorical application of the multiple comparisons problem (in statistics) and apophenia (in cognitive psychology). It is related to the clustering illusion, which refers to the tendency in human cognition to interpret patterns where none actually exist.

The name comes from a joke about a Texan who fires some shots at the side of a barn, then paints a target centered on the biggest cluster of hits and claims to be a sharpshooter.

via Texas sharpshooter fallacy – Wikipedia.

10 Jun 2013

Google Glass demo video – Boing Boing

signsofrain I would not be surprised if eventually (Google-)Glass was able to read ECG/EKG data […]

via Google Glass demo video – Boing Boing.

18 May 2013

The Three Kinds of Laziness

We speak of three kinds of laziness. The first is simply to spend all your time eating and sleeping. The second is to tell yourself, “Someone like me will never manage to perfect themselves.” In the Buddhist context, such laziness makes you feel that it’s pointless even trying, you’ll never attain any spiritual realization. Discouragement makes you prefer not even to begin making any effort. And the third kind… is to waste your life on tasks of secondary importance, without ever getting down to what’s most essential. You spend all your time trying to resolve minor problems, one after another in an endless sequence, like ripples on the surface of a lake. You tell yourself that once you’ve finished this or that project you’ll start giving some meaning to your life.

The antidote to the first kind of laziness— only wanting to eat and sleep— is to reflect on death and the impermanent nature of everything. We never know when we’re going to die or what circumstances are going to lead to our death. So there isn’t a moment to lose in getting down to what’s really essential. The antidote to the second kind of laziness — feeling too discouraged to commit ourselves to spiritual practice—is to reflect on the benefits that such inner transformation will bring. The antidote to the third kind—attending to details rather than to the essentials—is to realize that the only way to get to the end of our endless projects is to drop them, and then turn to what gives life its meaning without waiting any longer. Life is short, and if we want to develop our inner qualities it’s never too soon to start getting down to it.

via The Three Kinds of Laziness – garry’s subposthaven.

15 May 2013

How Government Wrecked the Gas Can

Soap doesn’t work. Toilets don’t flush. Clothes washers don’t clean. Light bulbs don’t illuminate. Refrigerators break too soon. Paint discolors. Lawnmowers have to be hacked. It’s all caused by idiotic government regulations […]

via How Government Wrecked the Gas Can | Laissez-Faire Bookstore.

10 May 2013

Go To Hellman: It’s LEGAL to download The Great Gatsby...

When in doubt, click: “I have no clue what copyright law I’m subject to” here: Go To Hellman: It’s LEGAL to download The Great Gatsby….

06 May 2013

Boston’s Police Radio Scanner Recording: Apprehension of the 2013 Marathon’s 2nd Bomber

This is an MP3 of the last hour and a half before they catch the 2nd Boston bomber. They already know that he is hiding under a boat’s shrink-wrap in someone’s backyard. I truncated the silences, it is now about 52 minutes: boston-2nd-bomber-apprehension_minus_silences.mp3

boston-2nd-bomber-apprehension minus silences from aaa on Vimeo.

Thanks to http://www.ustream.tv/channel/ma-rt-9-window-cam for streaming the police scanners live at that time.

30 Apr 2013

Charge Your Cellphone With A Portable Hydrogren Fuel-Cell

You will need the fuel-cell (Minipak) to generate the power and the hydrogen generator (Hydrofill) to re-fill the fuel. The Minipak is a USB charger/power generator and the Hydrofill is used to charge the tanks (Hydrostiks, included with the Minipak). You could also use bottled industrial hydrogen in place of the Hydrofill hydrogen generator.

Minipak Fuel Cell Portable Cellphone Charger/Power GeneratorHydrofill Hydrogen Generator

You can find more information at http://www.horizonfuelcell.com/portable_power_minipak.htm.

19 Apr 2013

How To Enable “Stereo Mix” in Windows 7 to Record Audio From The Speakers Using Audacity

Ever need to record something on your computer exactly as it comes out of your speakers? Enabling “Stereo Mix” will let you do exactly that, and here’s how to do it. Nowadays, most sound cards have the ability to record whatever is being output. The only hang-up is accessing that recording channel, which can be done rather easily. Go down to the audio icon in your system tray, right-click it, and go to “Recording Devices” to open up the proper settings pane. In the pane, right-click on a blank area, and make sure both “View Disabled Devices” and “View Disconnected Devices” options are checked. You should see a “Stereo Mix” option appear. Right-click on “Stereo Mix” and click “Enable” to be able to use it. In some cases you might not see it because your drivers don’t support this feature. This was the case on my Asus Eee PC 1000HE, but I got around the issue by downloading and installing the older Windows XP/Vista drivers for my audio chipset. As always, before changing your drivers, make sure create a system restore point in case things don’t go as planned.

How Do I Use This? With “Stereo Mix” enabled, you can open up your favorite recording program and select that instead of your microphone before you record. If you don’t see the option, or your program doesn’t give you the ability to change the recording device, you can disable or unplug your microphone and make “Stereo Mix” the default recording device.This works well for when you want to capture audio for a screen-sharing session, or record audio from streaming sources – such as live web-casts – that don’t necessarily allow you to download content immediately. In order to do that, you’d open up your audio-recording application of choice like Audacity, be sure other recording devices are muted or disabled, and click record.

via How To Enable “Stereo Mix” in Windows 7 to Record Audio.

16 Apr 2013

Eulerian Video Magnification

AbstractOur goal is to reveal temporal variations in videos that are difficult or impossible to see with the naked eye and display them in an indicative manner. Our method, which we call Eulerian Video Magnification, takes a standard video sequence as input, and applies spatial decomposition, followed by temporal filtering to the frames. The resulting signal is then amplified to reveal hidden information. Using our method, we are able to visualize the flow of blood as it fills the face and also to amplify and reveal small motions. Our technique can run in real time to show phenomena occurring at temporal frequencies selected by the user.

via Eulerian Video Magnification.

16 Apr 2013

thearn/webcam-pulse-detector · GitHub

A python application that detects and highlights the heart-rate/pulse of an individual (using only their own webcam) in real-time.

via thearn/webcam-pulse-detector · GitHub.

Download repository (Current as of 4/16/2013)

07 Apr 2013

Android 4.2.2 Cyanogenmod Ad-Hoc IBSS Wifi network support

Since Google is not willing to add ad-hoc wifi support to Android (see https://code.google.com/p/android/issues/detail?id=82), some nice folks have added support for it in a modified cyanogenmod available at: http://www.thinktube.com/android-tech/46-android-wifi-ibss.

via Android AdHoc IBSS Wifi support – Google Groups.

10 Mar 2013

TOKYO-GASTRONOMY さんのチャンネル – YouTube

This is a part of the private collections of cooking videos for the staff training at Nihonryori Ryugin in Roppongi, Tokyo.

via TOKYOGASTRONOMY さんのチャンネル – YouTube.

07 Mar 2013

3ders.org – Building a low-cost light-cured resin 3D printer

Building a low-cost light-cured resin 3D printer

via 3ders.org – Building a low-cost light-cured resin 3D printer | 3D Printer News & 3D Printing News.

26 Feb 2013

DIY Weapons of the Syrian Rebels – In Focus – The Atlantic

DIY Weapons of the Syrian Rebels – In Focus – The Atlantic.

20 Feb 2013

Miro Video Converter FREE – Convert any video to MP4, WebM vp8, iPhone, Android, iPod, iPad, and more.

A beautiful, simple way to convert almost any video to MP4, WebM vp8, Ogg Theora, or for Android, iPhone, and iPad. Batch conversion, custom sizing, and more!

via Miro Video Converter FREE – Convert any video to MP4, WebM vp8, iPhone, Android, iPod, iPad, and more..