Sky as a Kite

Main menu

Shannon the long suffering guinea pig

No comments
I have almost everything ready to throw the pe_pplog out there. But first I wanted to test the installation of it and especially the installation instructions. So yesterday, after several glasses of wine I handed my lovely (and patient) flatmate Shannon my computer with the task to install pe_pplog.zip. Poor girl had never even looked at a linux system before and it did not help that my computer is set up in German. She fought her way through my instructions and finally posted her very first blog post with this blog:

GNU Linux vs. PC


Folks....
This is coming from an avid and long-term PC user. I have more than 18 years experience with PC computers and have dabbled briefly in HTML and website design.
My thoughts after acting as guinea pig for my beloved new roommate, Christina?
Linux is vastly superior for this kind of crap.
(Editor*s Note: She is sitting beside me and monitoring my blog post.)#
POOP.


Now my installation instructions are somewhat more understandable and devoid of any Genglish...



a young entrepreneur...

No comments
today is the second day I'm going to set up my little bread stall on the street. Yesterday I ran out of bread after just 40 min, which kind of surprised me, as Chile is not a rye bread country. And I did have some to try, so people knew what they were buying! It goes to show I guess, that there is an interest in home baked goods, rather than supermarket bread.
It helps that my bread is awesome of course!

I'm not making enough money to be independent from my inheritance yet, but today I'm also going to look into making postcards from my pictures and I might start working in a brewery/pub. The pe_pplog version 1 is almost ready as well, but I won't make any money of that, I would already be awfully proud if there was one other person but me using it...


a log in

No comments
I finally wrote a log in and log out script for the blog.
I was trying to go for simplistic, but secure and without the need to install more modules (as this would have put me off from using the blog when I first started my internet presence...)

so here is my script:
my $cookie=cookie('admin');

my $form_pass = r('password');
my $value = crypt(rand(999999), $config_randomString);

if (r('do')eq 'log_out'){
unlink "$config_commentsDatabaseFolder/log_in.txt";
$cookie = cookie(-name=>'admin', value=>'log out', expires=>'-1d');
$cookie->bake;
print "<br />You have logged out. Goodbye!";
}

if (r('process')eq 'log_in'){
if ($form_pass eq $config_adminPass){
open FILE, "+>$config_commentsDatabaseFolder/log_in.txt";
print FILE $value;
close FILE;
$cookie = cookie( -name => 'admin',
-value => $value );
$cookie->bake;
print "<br />You are logged in. Welcome!";
}
else { print '<br />Wrong password!';}
}
open FILE, "$config_commentsDatabaseFolder/log_in.txt";
while (<FILE>){$value = $_ ;}
close FILE;

unless ($cookie eq $value || $form_pass eq $config_adminPass){
print '<form method="post">
<h1>Type in your password:</h1><br />
<input type="text" name="password">
<input name="process" type="hidden" id="process" value="log_in">
<input type="submit" name="Submit" type="hidden" value="log in"></form>';
exit;
}


I really don't know if this is a good way of doing this, comments are very much welcome, but be gentle!
Posted on - Categories: Geekery


test gallery

No comments
beaver2.jpgmine.jpgbeaver.jpgbackcountry.jpgeagle.jpgexpresso.jpgwhittier.jpg
Posted on - Categories: Geekery


test

No comments
Where is the previous post? you might wonder... Well, I have been testing out a script (the one I'm using now) to generate a gallery and the old post was overwritten. So here is goes again, welcome to my new blog, the old one is at tine.pagekite.me/travel or you can check if there are new entries on the travel blog using the rss feed in the menu.
In the next few days I will be reposting all the missing pictures on the travel blog (this is what the script was for...) and this blog is supposed to be my diary for my day to day life. If I do not keep deleting the posts...

Posted on - Categories: Geekery


Pages: ... [8] [9] [10]