Wednesday, April 27, 2011

oh sweet anna; how long can I count to a thousand?

Am I sleeping, have I slept?

I coded until I didn't know what I was doing, and then added comments and shit
has it been twelve hours? I rinsed, washed add repeated.


Thursday, April 14, 2011

Am I asleep; Have I slept?

I've been trying to hack this damn thing for weeks, but I finally got it.

And you know what, I'm celebrating by going to the SK lutheran church.

Killz baby, it killz.

I don't know how to add an attachment, so cut and paste I guess:

p.s. I don't remember where I got this sub but thanks whoever built the orig.








 #!/usr/bin/perl

use strict;
use warnings;

use Time::Local qw( timegm_nocheck );


print "Please enter the month you were born.\n\n
like this: 4 (for April) or 1 (for January)\n\n\n";
chomp(my $two = <STDIN>);
print "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nNow the day of the month.\n\n\nlike this: 14 (for the 14th) or 13 (for the thirteenth)\n\n\n\n\n";
chomp(my $three = <STDIN>);
print "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nNow the year\n
like this: 2006\n\n";
chomp(my $one = <STDIN>);


# birth_date_age(2006, 4, 28) for people born on April 28th, 2006.
sub birth_date_age {
  
   my $bday_y = $one;
   my $bday_m = $two;
   my $bday_d = $three;
   # ----------------------------------------
   # -- Get current date.

   my ($now_y, $now_m, $now_d) = (localtime)[5,4,3];
   $now_y += 1900;
   $now_m++;
   my $date_now = timegm_nocheck(0,0,0, $now_d, $now_m-1, $now_y);

   # ----------------------------------------
   # -- Get next birthday.

   my $date_next = timegm_nocheck(0,0,0, $bday_d, $bday_m-1, $now_y);

   $date_next = timegm_nocheck(0,0,0, $bday_d, $bday_m-1, $now_y+1)
      if $date_next <= $date_now;

   my ($next_y) = (gmtime($date_next))[5];
   $next_y += 1900;

   # ----------------------------------------
   # -- Get prev birthday.

   my $prev_y = $next_y - 1;
   my $date_prev = timegm_nocheck(0,0,0, $bday_d, $bday_m-1, $prev_y);

   # ----------------------------------------
   # -- Calculate age and others

   my $age = $next_y - $bday_y - 1;

   my $days_to   = ($date_next - $date_now) / (24*60*60);
   my $days_from = ($date_now - $date_prev) / (24*60*60);

   return ("\nYou are $age years", " and $days_from days old\n\n\nGet busy living or get busy dying.\n

Written by unknown, whacked by Johnny Taaka");
}

print"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",  &birth_date_age($one, $two, $three);

Wednesday, April 13, 2011

theres a vulture on my shoulder, and it's telling me to give in

Fuck them all.

I xo you ahyoung.

To my family: I would bleed, only cause I dont want to be a fucking liar.

To everyone else, know I love it when I say: Fuck em all.

Saturday, April 9, 2011

Perl, searching, matching, substituting (more simple regex) Перл сеарчинг, матчинг, субститутинг (море симпле регес)

Here's an example of a simple search command in perl (it's really a regular expression but you'll use it to search):

if (/find this string/) {

...


then do this

...


}

well the /*****/ is really a shortcut to the match operator which looks like:


(m/find this string/)

M is for matching. so if you change it a little bit like


(s/find this string/and replace it with this/)

it will find the string "find this string" and it will replace it with "and replace it with this." The s stands for substitute.

There are letters you can put at the end of regular expressions to change the way they work. One of them is "i".

while matching you can add an



"i"



to the end of the regex to make the search case insensitive. Like  this



 (/match this string/i)






That regex would match strings like:


MATCH THIS STRING

or

MaTCH thIS sTRIng

or


MATCH this STRING

including the one you actually typed

match this string

but it wouldn't find

matchthisstring


Get it?


thats all.




Friday, April 8, 2011

I dont know anything, I've never known something so pure:

How clean is your desktop? Mine is filthy. My random access creaks in process. It's all filled up with the dead ends of memories. Empty coffee cups remind me of problems I quit half-way through solving. Trash from meals tells of times while I worked on through lunch with no particular benefit. Pill bottles show the self medication of a mind thats works too hard to find sleep at night and a body that does the opposite.


I find myself looking through dark alleys praying to see the glimpse of a bogey. These people are so god damn predictable. I tempt fate. I hassle the pan handlers and one of them pulls out a stun gun. My soul yearns to push it further, damn the sweat and damn the shakes, I just need something to break the monotone.

I know all the exits here. I do this on autopilot. A body in rest. My shield is made from cardboard covered over with pennies connected with duct tape. My weapons are dull blades that hack through without a thought to retract pain. I force myself to go on.

Fuck the fear. The only thing that appeals to me more than the next bigger greater mistake is to sit silently with one so sweet and innocent that it is vulgar action to keep her company. When her unknown thoughts are the only thing that keeps her coming back for me, and my compulsion to burn and consume everything I see is the only thing stopping the other part of me from turning her away.



Tuesday, April 5, 2011

sexploits

Whaaaat? It's not safe to get on my laptop at starbucks? You read my email? You intercepted that pictured of my ****? You stole my credit card number and wrote it on the frathouse bathroom wall?

shit...


--> http://www.youtube.com/watch?v=maTcoGZ3feY


None of those things really happened to me (or anyone I know) but they've happened somewhere, or will someday.

If a forty something stay at home dad will dress up and play knights and goblins to escape his fat wife and stupid boring life..



-->  http://www.darkon.org/ 


..then who's to say some dark haired geek chic twenty something didn't grab your digits, write them on the wall of some meat head, ball sponsored, all boys club, just hoping, that maybe someday your significant other would ketch sight of an inexplicable bill for sally the silicon suck doll.


-->http://www.discreet-romance.com/silicone-sally-doll-adult-sex-toys-18028.html


 Neitherwise, lets get down to the heavy metal and pretend we're doing something constructive.

ARP stands for All Retarded Programmers and it's how computers meet each other online. Cutesy, eh? So your computer has two names, but I'm not talking about how you install windows and it's all like

Give your computer a name: like john! (why the shit would I call my computer john?)

No I'm talking about the IP and the MAC.

You all know what an IP is so I'll give you an example of a MAC:


my MAC: 3A:65:98:09:22

So your computer goes to ARP (Absolutely Retarded Programmers) and that's how it meets hot chicks on the interweb.

Now this is where the sexploit comes in. You know how that creepy guy tried to add you on facebook, and all you were doing was trying to find...uh... normal people? You said no, right? Well your computer is not nearly as good at spotting creepers as you are. So this is how it works.

You try to log on to google and you type the url in your browser. The url points at an IP address, but your computer doesn't know how the fuck to find an IP address. It never did. So it sends out an ARP request. It says

HEY INTERNET!!! If you have this IP: then send me back your MAC address!!!!

Get it?

So the sexy part is that ARP is set up to accept EVERYTHING. So let's say your computer is just chillen, doin it's homework or cookin or something, and some other computer's like,

hey sexy, my ip is xxx.xxx.xxx.xxx and my MAC is 22:22:22:22:FF
How u doin?

Well your computer is a trashy slut so it's going be all like:

mm MMM, I'ma write that down in my book and hit you up on the lates.


So your computer has no way of knowing that other computer is a super creepy predator out to get it in a dark alley with a bad idea. So it saves the info and wam bam thank you miss, information is tainted and compromised, MiM is carried out, and your computer is left weeping on the bathroom floor.

-->http://en.wikipedia.org/wiki/ARP_spoofing

xxx
ketch ya later

Sunday, April 3, 2011

To hands between legs, to "whatever it takes" To drinks at the club to the bar To the keys to your car To hotel stairs to the emergency exit door

Dear Internet: It does not seem like a god damn year. I am a sick, bad, bad, boy.

What goes around,

goes around,

and around.

I wish you the best, honestly. I just wish myself the slightest bit better.


Aggressively we all defend the role we play
Regrettably time’s come to send you on your way
We’ve seen it all bonfires of trust flash floods of pain
It doesn’t really matter don’t you worry it’ll all work out
No it doesn’t even matter don’t you worry what it’s all about
 


We hope you enjoyed your stay
It’s good to have you with us, even if it’s just for the day
We hope you enjoyed your stay
Outside the sun is shining, seems like heaven ain’t far away
It’s good to have you with us
Even if it’s just for the day
It’s good to have you with us even if it’s just for the day
Outside the sun is shining, seems like heaven ain’t far away
It’s good to have you with us
Even if it’s just for the day
It’s good to have you with us even if it’s just for the day
Outside the sun is shining, seems like heaven ain’t far away