AAF: AAOBloggers

:)

Archive for the ‘Uncategorized’ Category

AAO rescues a 1 day-old cat

with 7 comments

The Rescued cat

The baby -rescued- cat

The night before the incident, I was entering my house at 8:30, before I entered i saw a shadow of a big cat on my head’s shadow. I got freaked out,  I looked behind and realized that there was a cat on the fence!! At that time I heard a cat screaming (other than the one on the fence) I said “They’ll go away”.

The next day when I got out going to school i heard the same scream, but neglected it. when I came back from school I realized that there was a cat stuck somewhere!! Bone-Crusher was with me, he went searching for the cat, but no clue! he said “When I go further I here the sound from behind, but when I step back I hear the sound coming from the place where I was before!!” I thought it was stuck between the bushes or something! -Out of nowhere- My young brother came out noticing what we’ve noticed, Suddenly he said “The cat, it is in the pipe I can see its face” I was like “what a load of …” *crouched and concentrated*  “WHAT!!!” , it was true it was inside the pipe.

The pipe that the cat was in

This pipe

I was shocked! “How could a cat get in this pipe?” was the question in my mind, after a while we noticed that it was a baby and was abandoned by her mother (the one that scared me the other night). At that moment we tried to get it out, but no luck. A person suggested to take a vacuum cleaner and suck it(the problem was that the cat’s face was in front, so it WILL get hurt). We were out of ideas, until my father came and gave us an helpful idea, this is pipe’s one hole, and it has two; so… we took a hose and put it in the other hole and started the water.

Diagram

The "map" of the pipe

The cat moved a bit, but the idea failed because the water was getting out (not moving the cat, getting out from hole No.2). I thought of an anxious idea. The idea was to take the hose and insert it all the way from Hole No.2 to the cat, and then push it with the hose. The cat started to scream again till it got out.

aaaand the AAO TEAM HAVE RESCUED A CAT

But once it got out, another problem started WHERE SHOULD IT GO? it doesn’t know anything, but the pipe, so it tried to get into the pipe again, I said “No you won’t” and blocked the hole putting my shoe, I told my BRAVE younge brother to take it/move it away a bit, so he took it (using his hands -I’d never do that!!! never did, never will-) and moved it. The cat went into our small garden hiding under the bushes being scared. We left her and got in our house, but it was still SCREAMING!! so we got out some milk, water, and some of our food (which was rice and shrimp -in other words emrabian-) and gave it to it, it didn’t want to eat, tried to feed her by -a little bit of- force, but still! WHAT A STUBBORN CAT! So we/I left it alone. And went to lunch.

After eating, I returned to it, and realized it ate/drank some. Good but, what now, we don’t want to keep it, so I talked to my father, and LOL, he said “we’ll keep it out there until it grows up a bit, and then we kick her out“!!

… To days have passed (today), when I came from school I was searching for it between the bushes but, I couldn’t find it. I got in the house and asked, but they all don’t know where did it go! :: Major Sad-face:: -I liked it a bit- I went in the house into my room. Then realized that the mother was in our balcony/very small-yard relaxing, then she looked at me…

The Mother

Da Mother

And then she ran away jumping over the wall. The good thing is that the mother is still here and alive, but WHERE IS THE BABY!!! I hope she knows where her baby is, cause otherwise, her baby is going to get hit by a car -the best thing some Kuwaitis do while driving a car-.

And by this, I have finished the whole story of the” rescue” and the other stuff (what other stuff?).

Anxious Nut

Advertisements

Written by AnxiousNut

May 7, 2009 at 2:26 pm

Posted in Articles, Entertaining, Uncategorized

Tagged with ,

An easy and rapid GUI design with xmessage RETRO-STYLE (On Linux, BSD, and anything else running X)

leave a comment »

Probably at one point in your life, you will wake up wanting to create a GUI fast! whether it’s a front-end for some software you are writing, or just for the heck of it (i said probably). this simple how-to will teach you how to do just that.

The objective of this article is to design a GUI as fast and as effortlessly as possible. if you want more flashy GUI similar to what you usually get when you start a program, I’d recommend glade.

because we want the least effort we will be using bash (yes a terminal) to deploy and manage our GUI. The key player is xmessage (see “man 1 xmessage” for more detail). this is a simple yet incredibly useful program that displays a simple GUI dialog on the screen. its simplest form is:

xmessage "SIG is cool"

try that in your terminal and hit enter. if you did, you will see the following window:


see, even X thinks i’m cool :p

there are other futures that make xmessage more user friendly, and more usable. for instance, add the -default okay switch to activate the okay button when you hit enter. also, you can load an entire text file in the text area by using -file.

now, how about adding a few extra buttons? you can add more buttons by using the -buttons switch. two buttons are added: “yes”, and “no”. “yes” is the default. the command:

xmessage "SIG is cool" -buttons "yes:10, no:11" -default yes

gives:

run it.

at this point you might be wondering how this can help make a robust GUI for your application. this is where bash really comes in. open a text editor and write the following:

#! /bin/bash
xmessage -center "SIG is cool" -buttons "yes:10, no:11" -default yes
answer=$?
if [ $answer -eq 10 ]; then
        xmessage -center "You rock man" -default okay
else
        xmessage -center ";_; ... i'm not crying ..." -default okay
fi

this is a simple bash script that behaves in the following manner:

"SIG is cool"
  |
  +-> yes: "You rock man"
  |
  +-> no: ";_; ... i'm not crying ..."

first save your script as “sig.sh”. then add excution permissions:

cd /your/scripts/directory
chmod +x sig.sh

once this has been done, simple start the script by issuing: (while still in the same directory)

./sig.sh

or you can double click, and choose run. any way you do it you should get the following:


if you choose yes, and


if you choose no…

SIGTERMer

Written by seininn

March 4, 2009 at 10:15 am

Forums

leave a comment »

yeah .. forums! shino mo taris 3ainik!

http://sigtermer.mooo.com/forums

Written by seininn

February 19, 2009 at 4:38 pm

Posted in Uncategorized

We have a wiki…

leave a comment »

I am assuming that no body is reading this blog or has it in there feed reader, cuz this is only alpha (yes it got demoted 🙂 ). and is not intended for public use!

yeah we got a wiki (also not for public, but you can freely read anything in there). http://sigtermer.mooo.com/wiki

Written by seininn

February 10, 2009 at 4:58 pm

Posted in Uncategorized