fear of (a) average mind

you are human, no thing you do is wrong

Quick and dirty RasPi security camera #



RasPi + camera + WiFi adapter + power supply + internet accsess

● Detects when a door is opened
● Notification on phone/tablet via PushBullet
● Records 10 sencond videos (3 of them) and uploads to Dropbox


Install python pushbullet:
pip install pushbullet.py

Install Dropbox-Uploader:
cd ~
git clone https://github.com/andreafabrizi/Dropbox-Uploader/
chmod +x ~/Dropbox-Uploader/dropbox_uploader.sh
cd ~/Dropbox-Uploader
./dropbox_uploader.sh


SecCam.py
import RPi.GPIO as GPIO
import time
import picamera
import subprocess

from pushbullet import Pushbullet
from time import sleep

camera = picamera.PiCamera()
camera.rotation = 270

pb = Pushbullet("YOUR KEY HERE")
localtime = time.asctime( time.localtime(time.time()) )

GPIO.setmode(GPIO.BCM)

GPIO.setup(13, GPIO.IN, pull_up_down=GPIO.PUD_UP)

while True:
    input_state = GPIO.input(13)
    if input_state == False:
        print('Door activated')
        push = pb.push_note("Door opened", localtime)
        print('Start video 1')
        camera.start_recording('/home/pi/1.video.h264')
        sleep(10)
        camera.stop_recording()
        print('Stop video 1')
        time.sleep(2)
        print('Start video 2')
        camera.start_recording('/home/pi/2.video.h264')
        sleep(10)
        camera.stop_recording()
        print('Stop video 2')
        time.sleep(2)
        print('Start video 3')
        camera.start_recording('/home/pi/3.video.h264')
        sleep(10)
        camera.stop_recording()
        print('Stop video 3')
        time.sleep(2)
        subprocess.call("/home/pi/copyVID2DB.sh")

        print('Videos uploaded to DropBox')


copyVID2DB.sh
#!/bin/sh

NOW=$(date +"%m-%d-%Y")

/home/pi//Dropbox-Uploader/dropbox_uploader.sh upload /home/pi/1.video.h264 /YourDropBoxFolder/$NOW.1.h264
/home/pi//Dropbox-Uploader/dropbox_uploader.sh upload /home/pi/2.video.h264 /YourDropBoxFolder/$NOW.2.h264
/home/pi//Dropbox-Uploader/dropbox_uploader.sh upload /home/pi/3.video.h264 /YourDropBoxFolder/$NOW.3.h264

rm -rf /home/pi/1.video.h264
rm -rf /home/pi/2.video.h264
rm -rf /home/pi/3.video.h264


If you want it to run at startup put this line in /etc/rc.local:
sudo python /home/pi/SecCam.py &


Now connect wires to PIN 13 and a ground and make them connect when the door is opened.

Ortlieb Front Roller Classic + Specialized AWOL front "pizza rack" #

Just a quick post to confirm the Ortlieb Front Roller Classic panniers do indeed fit fine on the Specialized AWOL front "pizza rack".
You just have to flip the bottom rail, which is quite easy (see the second pic).
Couldn't find a pic anywhere of the two together when researching so I thought I'd make this post for anyone wondering.


Hope this helps.

SSH into RasPi2 without a WiFi network (sort of). #


I use a TP-LINK TL-MR3020, an awesome little travel router (also used for the PirateBox/LibraryBox projects). The MR3020 is also powered by USB so as you can see you can just use one USB wall-plug (or a portable power solution, maybe solar).
This is good because you can SSH into you RasPi without relying on a WiFi network, i.e., out in the field doing a time-lapse. The MR3020 is an AP which you can just connect to with a tablet or laptop, connect it to your RasPi via the ethernet cable and SSH into it.
Connect to the MR3020 with your laptop and browse to http://192.168.0.254/, the name/password are admin/admin (of course you will change this). Here you can change the name of the AP if you want.
A useful thing to do is assign you RasPi a fixed IP when connected to the MR3020.


  • Connect the RasPi to the MR3020 via the ethernet cable.
  • Connect and login to the MR3020 with your laptop (over WiFi).
  • Click DHCP on the left then Attached Devices.
  • Copy the Mac-Address of your RasPi.
  • Click Reserved Addresses then Add.
  • Paste in the Mac-Address and give you RasPi an IP (something like 192.168.0.176).

This way when you SSH into your RasPi you will have an easy to remember IP.
I use JuiceSSH on my NVIDIA SHIELD to SSH in (ConnectBot is a free app).



Movies #

movies\action

Children.of.Men.divx
Crank.divx
Dead.Mans.Shoes.divx
Ghost.Dog.The.Way.of.the.Samurai.avi
Hawk.The.Slayer.divx
Leon.The.Professional.avi
Sin.City.avi
The.Girl.With.A.Dragon.Tattoo.avi
The.Sweeney.avi

movies\action\Cracker-To_Be_a_Somebody
To.Be.A.Somebody.01.avi
To.Be.A.Somebody.02.avi
To.Be.A.Somebody.03.avi

Sherlock.Holmes.(2009).mp4
Sherlock.Holmes.(2011).avi

The.Purge.Anarchy.mkv
The.Purge.mp4

movies\asian\action

Blood.The.Last.Vampire.divx
Crying_Freeman
Godzilla.(2000).avi
Gojira.(Godzilla_1954).avi
Moon_Child

The.Raid.(1).Redemption.mp4
The.Raid.(2).mkv

movies\asian\anime\movie

5.Centimeters.Per.Second.mkv
Angel's Egg.mkv
Appleseed
Blood.-.The.Last.Vampire.avi
Hotarubi.no.Mori.e.mkv
Jin.Roh.mp4
K-ON!.Movie.mkv
Metropolis
Pale.Cocoon.mkv
Paprika.avi
Rakuen Tsuihou Expelled from Paradise .mkv
REDLINE.mkv
Summer.Wars.mkv
Suzumiya.Haruhi.no.Shoushitsu.avi
TAMALA
Tekkonkinkreet.divx
The.Wolf.Children.Ame.and.Yuki.mkv
The_Garden_of_Words
The_Girl_Who_Leapt_Through_Time
Tokyo.Godfathers.mkv
Urotsukidoji Legend of the Overfiend.mp4
Yobi,the.Five.Tailed.Fox.mp4
Giovanni's Island.mkv
Hoshi wo Ou Kodomo (BD 1280x720 x264 AAC 5.1ch).mp4

Appleseed.Ex.Machina.mkv
Appleseed.mkv

Genius_Party
Genius_Party_Beyond

Gedo.Senk.A.Tales.From.Earthsea.divx
Grave.of.the.Fireflies.avi
My.Neighbor.Totoro.avi
Spirited.Away.avi

Vampire.Hunter.D.-.Bloodlust.avi
Vampire.Hunter.D.mkv

movies\asian\anime\series

Aria
Armitage_III
Azumanga_Daiou
Bartender
Bubblegum
Cowboy_BeBop
Cromartie_High_School
Denno Coil (2007)
Ergo_Proxy
Eve_no_Jikan
FLCL
Ghost_Hound
GitS
Gunslinger_Girl
Kimi_ni_Todoke
Madoka
Mushishi
Neon_Genesis_Evangelion
Nichijou
Patema
Planetes
Psycho_Pass
Samurai_Champloo
Serial_Experiments_Lain
Shigofumi
Sketchbook_full_color
Sora_no_Woto
Starship_Troopers
Tengen_Toppa_Gurren_Lagann
Urusei_Yatsura
Welcome_to_the_NHK!
Yojou-han_Shinwa_Taikei

movies\asian\general

Chungking Express (Wong Kar-Wai, 1994)
Lovely Rivals Full Movie.mp4
Suspect_X
Trainman

movies\asian\horror

Cult.(2013).mp4
Eat_The_Schoolgirl_(1997)
Ghost.Of.Oiwa,(1961).mp4
POV
Reincarnation.avi
Shutter
The_Cat
The_Host

Battle.Royale.avi
Battle.Royale.II.avi

Curse
Curse2
Grudge
Grudge2

Ringu_0_Birthday
Ringu_1
Ringu_2
Ringu_2.5
Sadako_3D

movies\asian\kung

Kung_Fu_Hustle
Master_Of_The_Flying_Guillotine_(1975)

movies\asian\weird

2046
Tetsuo-The.Ironman.avi

movies\gen

Hard.Candy.avi
Realtime.wmv
The.Night.of.the.Hunter.avi
The.Snowman.avi
The.Wizard.Of.Oz.avi
Thriller.-.A.Cruel.Picture.(1974).avi

movies\funny

Amelie.divx
Flight.of.The.Navigator.avi
Kick-Ass.2.avi
Kick-Ass.m4v
Kung.Pow.avi
Napoleon.Dynamite.avi
Passport.to.Pimlico.avi
Scott.Pilgrim.Vs.The.World.m4v
Team.America.avi
The.Kentucky.Fried.Movie.avi
The.Substitute.flv

movies\horror

Creep.avi
Cronos.avi
Death.Line.avi
Dog.Soldiers.avi
Evil.dead.2.divx
Let.the.right.one.in.avi
Mask.divx
Razorback.mkv
Salo.avi
Severence.divx
The.Bone.Snatcher.avi
The.Call.Of.Cthulhu.avi
The.Thaw.avi
The_Legend_of_Hell_House

Daywatch (DVD)
Nightwatch (DVD)

Quatermass.and.the.Pit.(1967).avi
Quatermass.Xperiment.(1955).avi

Silent.Hill.avi
Silent.Hill.Revelations.avi

The.Descent.2.avi
The.Descent.avi

movies\gen

Betty.Blue.avi
Donnie Darko (The Directors Cut)
Funny.Games.divx
Le.Hane.divx
Slacker.avi
Sububia.divx
Wuthering Heights (1939).avi

movies\SiFi

A.Sound.Of.Thunder.avi
Android.avi
Chronicle
Elysium.mkv
Ender's.Game.avi
Inception.avi
Looper.avi
Moon.avi
Pacific.Rim.mp4
Primer.mp4
Prometheus.mp4
Red.Planet.divx
The.Andromeda.Strain.avi
The.City.of.Lost.Children.avi
The_Troll_Hunter
TRON.Legacy.avi
District 13.avi

A.V.P.divx
Predators.(2010).avi
Predator_2

(1).Cube.avi
(2).Cube.2-Hypercube.avi
(3).Cube.Zero.avi

Halo.Landfall.flv
Halo.Legends.mp4
Halo.Wars.flv
Halo_4_-_Forward_Unto_Dawn

Captain.America.avi
Dredd.mkv
Green Lantern - Emerald Knights (PSP, iPod, Zune)
Green Lantern [2011] Extended 480p BRrip x264 SmartGuy Silver RG
Iron Man 2 (PSP, iPod, Zune)
The.Avengers.mp4
The.Dark.Knight.avi
V.For.Vendetta.avi
Watchmen.divx
X-Men_First_Class

Dawn.of.the.Planet.of.the.Apes.avi
Rise.of.the.Planet.of.the.Apes.avi

The.Thing.(1982).mkv
The.Thing.(2011).avi
The.Thing.from.Another.World.(1951).avi

PirateBox dark theme #

Been working on a dark (live in your mom's basement) theme for the PirateBox.




Think this is better for the imageboard, reversed the background gradient .

CD album covers #

Ripping CDs recently and there were a few album covers that were hard to find with a google image search. So i dug out a crappy HP scanner i found on the street and scanned a few, in case anyone needs them.

7 Magazine - Buzz Chart CD:12 - Cat:70301 




Out There (A Selection of the Weird and Wonderful from Warner Music)




Ministry Presents Sex Trax 


Everything But The Girl - Walking Wounded (CD Single) 

The Observer - Björk


Massive Attack - Protection - four track sampler from the forthcoming cd/tape/vinyl "protection"


Enjoy (:

i would be... #

Cool SciFi radio. #

A few Kindle screensavers #

Right-click / Save Link As...







Seems i like anime (:

Labels: , , , ,

Debian, beep when loaded. #

i screwed a PC to a plank and installed Debian minimum on it. It's headless, not in a closet but hanging on the wall next to me. i wanted a way to tell when Debian had loaded so i could SSH into it, so...

apt-get -y install beep

nano /etc/rc.local


Add beep -r 2 before exit 0

Done.