Oct 19 2009

found the prank site, need the pranker

Category: Uncategorizedben @ 11:08 am

http://www.hoaxcall.com/flatrate_103_a.html

my phone number was even listed as having been called in the last 21 days and would not let me recall it.

i called our office and that prank call was definitely it. the voice was the same and the interactions possible are the same.  all thats left now is finding the person who did it and pranking them my way: i.e. asterisk autoredialer for 24 hours.


Oct 18 2009

unknown numbers

Category: Uncategorizedben @ 4:40 pm

so i got a call from an unknown number today. I answered it, which is completely contradictory to my instinct. There was an attractive sounding woman who had a very familiar voice who said “Hi” and that I had to guess who it was. I asked them to please not make me do that (my hearing is bad and I don’t tie it to memory very well). I guessed once, a little bit of silence later I was informed that I was wrong. The hint was provided that “we hadn’t talked in a while,” but thats so vague it could mean any time period really. I guessed again. Wrong. “Two more guesses,” I was told. I mumbled something -definitely not a name or word- and I heard a yes. Great. “Yes?” I said. It was reiterated to me. I said how are you and it was awkward. I was obviously supposed to be more excited than I was, but mostly I was annoyed to have to play that game. Phone number was blocked so my phone book/contact list was of no help. She said bye and then hung up…conversation could have gone completely differently if I had been just told who it was. Worst part is I probably wanted to talk with them too…


Oct 18 2009

Motion Detection Arduino Code

Category: Uncategorizedben @ 1:03 pm

/*
motion detection code for parallax module from radio shack
**20091015 brb**
basic motion/infrared detection software
**20091015 brb**
add similtaneous green led blinks during motion poll

parts:

3 leds (2 green, 1 red)

1 parallax PIR sensor

on detection of any motion, binary signal on digital pin 8
changes, which causes led on digital pin 5 to light

while motion is not being detected, blink the pins leds on
digital pins 6 and 11. this pause is accomplished by
incrementing a loop timer from 100 to 200 and then reseting
it to zero every 100 intervals (currently 10 miliseconds).
every whole second the led pins alternate being on and off

i reccomend setting the motion detection to H output using
the jumpers on its board; this will make it continuously
trigger the event on constant motion

*/
int ledPin = 5;
int ledPinG1 = 6;
int ledPinG2 = 11;
int modectPin = 8;
int pinin = 0;
int counter = 100;

void setup()
{
pinMode(ledPin, OUTPUT);
pinMode(ledPinG1, OUTPUT);
pinMode(ledPinG2, OUTPUT);
pinMode(modectPin, INPUT);
}

void loop()
{
pinin = digitalRead(modectPin);
while (pinin == 0) {
digitalWrite(ledPin, LOW);
counter = counter + 1;
if(counter == 100){
digitalWrite(ledPinG2, HIGH);
digitalWrite(ledPinG1, LOW);
}
if(counter == 200){
digitalWrite(ledPinG2, LOW);
digitalWrite(ledPinG1, HIGH);
counter = 0;
}
delay(10);
pinin = digitalRead(modectPin);
}
digitalWrite(ledPinG2, LOW);
digitalWrite(ledPinG1, LOW);
digitalWrite(ledPin, HIGH);
}


Sep 22 2009

block hulu ads and google analytics

Category: Uncategorizedben @ 9:41 am

add these lines to your hosts file. just rebuilt my laptop to 64bit and want to document these things before they disappear into the abyss of knowledge i once had. used in combination with adblockplus i get almost no ads on hulu

127.0.0.1       www.google-analytics.com google-analytics.com ssl.google-analytics.com analytics.google.com googleanalytics.com
127.0.0.1       flash.quantserve.com quantserve.com ads.hulu.com lightningcast.net stats5.lightningcast.net stats6.lightningcast.net stats7.lightningcast.net
pt.reward.tv pixel.quantserve.com


Jul 29 2009

mysql bizarre self union

Category: Uncategorizedben @ 9:31 am

i wanted to use this:

(select * from Seasons where id=5) union
(select * from Seasons where id<>5 order by id desc);

but i had to use this:

SELECT * FROM
(SELECT * FROM Seasons
WHERE id=5
ORDER BY id DESC) AS t1

UNION

SELECT * FROM
(SELECT * FROM Seasons
WHERE id<>5
ORDER BY id desc) AS t2


Jun 28 2009

slacklite 12.34567890

Category: Uncategorizedben @ 5:15 pm

i got this idea to mirror the slack tree and make a dvd iso with the files i never install anyways pre-removed from the installer. The actual dvd iso is 1.3 GB smaller than the offical tree’s iso and the install appears to be about 1.7 GB smaller than a full install (haven’t done a full one in a long time as a comparison).

things removed from slacklite:

  1. package series e/ –> emacs and libraries
  2. package series kdei/ –> international kde libraries
  3. package series t/ –> tetex typesetting
  4. package series tcl/ –> tcl/tk scripting language
  5. package series y/ –> bsd games

other than that i trimmed the software libs of the x environment to only have kde (4.2) and blackbox Xwindows systems and removed duplicate software functions (i.e. i opted for firefox only instead of firefox and seamonkey).

the important thing to remember about slacklite is that slacklite IS slackware, just with fewer options. the installers are unchanged minus the package series listing, and everything else is from the official slackware tree.

both slacklite and a slackware-current mirror can be found on the site: http://drunkensailor.org/slackware/

slacklite is still in early development and is not currently mirroring the tree fully but will be receiving weekly updates. please submit bug reports or issues to captaincrunch@drunkensailor.org

the slacklite-current-dvd.iso is at release 12.34567890-3alpha


Jun 28 2009

ssh authorized keys

Category: Uncategorizedben @ 4:54 pm

it’s shockingly simple

# ssh-keygen -t dsa

# scp .ssh/id_dsa.pub user@serverIP:.ssh/authorized_keys2


Jun 20 2009

wifi on amtrak

Category: Uncategorizedben @ 12:41 am

i haven’t been able to get too much info, but i can definitely tell you that the wireless devices aboard the downeaster maine to beantown are cradlepoint hardware

facts i’ve proven about them:
192.168.0.1
192.168.0.2 –>both of these ips are considered default by this page: http://www.marinetelecom.net/Cradlepoint-MBR1000.htm (which also suggests the last six of the mac address in lower case as login password)
also the internal router page had something about a local chat that i couldn’t figure out with my jlime jornada 690 (was 680e that has been chip-upgraded)
routing doesnt appear consistent: what is my ip said 173.114.72.107 but an nmap scan said nothing open and a traceroute -n showed my first hop beyond the 0.1 being 68.28.121.85 which seemed strange to me. i dont claim to un derstand high level routing so i suppose its possible but just stuck out as strange

guesses:
everything i’ve seen points to EVDO technology
potentially changed default passwds
ESSIDs follow pattern of “Downeaster 3″ and “Downeaster 12″ (only ones i saw)…3 was running on channel 9


Jun 10 2009

naked and famous

Category: Uncategorizedadmin @ 4:26 pm

I cant explain glacial motion
Or why los angeles dont drop into the ocean
I cant unfold the layers of mystery
Or piece together the tragedy of history
cuz those lucky suckers they dont have to work
Big 3 d billboards and big 30 foot smurfs
And everybody wants to be naked and famous
Everybody wanna be just like me Im naked and famous

I met a poet said she didnt like the smell of it
Then took her clothes off in a restaurant for the hell of it
I met a dj who lived in seclusion reality and sobriety were her only delusions

And those lucky bastards they dont have to work
Big 3 d billboards and big 30 foot smurfs
And everybody wants to be naked and famous
Everybody wanna be just like me Im naked and famous

Woo uh hoo hoo hoo
Wow ah hoo hoo hoo

Well dont get a nosebleed dont get upset
We cant be naked and famous just yet
Theres a big gold dollar sign on the sunset strip
And you can send your friend a postcard it aint worth the trip

Everybody wants to be naked and famous