Artisteer UL scrollbar issue
When your lists show up with scroll bars on the items, change the overflow to visible from auto and the fix is complete
.art-post ul li, .art-post ol ul li
{
background-image: url(‘images/postbullets.png’);
background-repeat: no-repeat;
background-position:left center;
padding: 16px;/* makes “ul li” not to align behind the image if they are in the same line */
overflow: visible;
background-color: #CCCCCC;
}
found the prank site, need the pranker
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.
unknown numbers
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…
Motion Detection Arduino Code
/*
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);
}
block hulu ads and google analytics
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
mysql bizarre self union
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

