Tuesday, October 19, 2010

CSD Forum Notification

In order to follow up with all the CSD forum new posts I made nice little app in Python that would notify you of any new posts and opens them all in your browser with one click


You can download it from here 

I will show you here how to install it and use it

Before you download the application you need to install python (in case you don't already have it) and python-gnome extra from the synaptic package manager






you will download the file forum.rar after extracting it to any where in your computer, use your command line to run it ... in case you don't know here it is I have the folder in my Desktop



And here it is telling me that there are no new posts


You will have to enter your user name and password only the first time after that the cookies are stored in file called cookies.txt in the same folder ... you will not have to enter your username and password every time you want.

The application will check for any thing new every 15 mins

If there are any new posts then it will tell you



You can click the CSD icon in the panel up there which will open the new posts in your default browser

If you want to see NOW if there are any new posts you can click the CSD icon it will tell if there are any click on it again to open the posts

If you have no internet connection the application will tell you that it is unable to check for you


One last thing if you want to shut it off ... just right click on the icon up in the panel that will do it :D

Please try it and tell me about any issues ... because the code is bad and needs refactoring ... I will try to add other options soon isA

You can download it from here 

w n7eb nshokr 3bas 3la tshge3o lya :D :D






Friday, October 15, 2010

Fe Net ??!!

Bsfty w7ed el router bta3o mzwlo 3la tool beb2a fi wireless bs mafesh net .... w bsfty bardo btzwel fi el kolya bsbab el net el wahmy ely te3mel connect bs mosh yb2a fi net ... 2olt badal m3od aft7 el terminal w akteb ping w bta3 a3mel 7aga zarefa keda

el mohem ana 3mlt python script 7ker keda lma te3mel run y2om 2ylk fi el notifications area bta3t Ubuntu lw fi net aw mafesh

ana 3mlt launcher bardo fo2 fi el panel ynady el python script 3la tool`

You can find the script on my Ubuntu one space here
tell me if there is something wrong with it (there has to be as I cooked it :D)

dah example





try:
    import pynotify
    if pynotify.init("My Application Name"):
        n = pynotify.Notification("Title", "message")
        n.show()
    else:
        print "there was a problem initializing the pynotify module"
except:
    print "you don't seem to have pynotify installed"


ady el shots

keda fi net




lw b2a fi wireless bs mafesh net



lw b2a 7drtk zaky w b test w aslan mosh 3amel connect l2y network