Florijan

Do your deed

Starting fresh with TinaHost

April17

Hi people,

I has been awhile since I posted here, I am working on a few other projects and new articles will be up :)
I would like to take this oportunity to thank the folks at TinaHost for supporting my projects and I would like to thank the owner Tony for his great support.
I was looking for a company that could help me and few of my clients out (standard shared hosting for them) and after being with them for few months using the custom VPS plan Tony has set up for me and his will to help me out with some of the non standard support ( setting up SVN and GIT repositories ) and working on ensuring about the servers saftey so I could dedicate my self to the coding I had to do.
I have managed to get a deal from them to manage few of my servers with monitoring and backup options to their backup server and after a HDD failure on one server this turned to be an easy way to restore everything to its previous state.

At the moment I’m waiting on Tony’s email about a new server that is being provisioned and set up for us (it will be serving Red5 server for Dolphin script and ffmpeg for online video conversions).

Once again, thank you Tony and thank you TinaHost !

HOWTO: Quick password generator with pwgen, python and libnotify

August23

This is a quick snippet to generate random password quickly and also get them copied in your clipboard for fast using.

All you need is python, pwgen, libnotify and pygtk (using GNOME in this one :) ).
Tested on Debian Lenny.

Read the rest of this entry »

Installing Webmin and CSF on Debian Lenny

July20

Firstly to administer the CSF firewall we will download and install Webmin for easier administration.

About CSF:

A Stateful Packet Inspection (SPI) firewall, Login/Intrusion Detection and Security application for Linux servers. Read the rest of this entry »

Learning Python – resources, books, tutorials

May31

A little something about Python:
Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days.”


You want to start your Python project. You want to write something for your granny to surprise her with. Well let’s look at the things you can do first.

Read the rest of this entry »

posted under python, resources | 1 Comment »

HOWTO: Using Python to display notifications with libnotify

May22

You’ve just written you neat python script and you need just a notification system so you know what happenes what your script is finished. For me – best thing for wget downloading and I’m surfing around – little notification pops out when I’m done.
All you need is a libnotify package (Debian users install also the libnotify-bin package).
And.. What to do? Read the rest of this entry »

posted under linux, python | 3 Comments »

Installing Prism on Linux

May9

Prism is an application that lets users split web applications out of their browser and run them directly on their desktop ~ MozillaLabs

Prism is now available in version 1.0 beta

You can install Prism in two ways, here is the standalone version. Read the rest of this entry »

posted under debian, linux | No Comments »

Installing TweetDeck under Debian Lenny

May8

The hard part here is the download of the Adobe Air .
After the download is finished make the AdobeAirInstaller.bin executable and double click it and install.
That is all the hard work you ahve to do.

Installing the TweetDeck is the easiest part.
Go to TweetDeck page and install it.

Enjoy in TweetDeck :)

posted under debian, linux | No Comments »

Installing Gwibber under Debian Lenny

April11
Get the Bazaar package so you can get the gwibber source from https://code.launchpad.net/gwibber

# apt-get install bzr

When Bazaar is installed downoad the Gwibber code to your folder:
# bzr branch lp:gwibber

Now let’s get the dependacies. Gwibber uses the following dependacies:

* python (2.5)

* python-dbus (0.80.2)

* python-gtk2 (2.10.4)

* python-gconf (2.18.0)

* python-notify (0.1.1)

* python-webkitgtk (1.0.1)

* python-simplejson (1.9.1)

* python-egenix-mxdatetime (3.0.0)

* python-distutils-extra

* python-feedparser (4.1)

First let’s get python-webkitgtk beacuse you can’t apt-get it :) Download it from the following URL:

http://packages.debian.org/squeeze/python-webkit

This is for the i386 arch:

# wget http://mirrors.kernel.org/debian/pool/main/p/pywebkitgtk/python-webkit_1.0.2-1_i386.deb

# dpkg -i python-webkit_1.0.2-1_i386.deb

It still needs few dependacies so run;
# apt-get -f install

and you will have python-webkit installed.

now
# apt-get install python-dbus python-gtk2 python-notify python-simplejson python-egenix-mxdatetime python-distutils-extra python-feedparser

And now your dependacies are installed and you can run the main install.py script from the gwibber source folder.

# python setup.py install

Wait for it to install it and that is it. Enjoy in gwibber everybody :D

UPDATE:
If you get the following error:

Traceback (most recent call last):
File “/usr/local/bin/gwibber”, line 55, in
from gwibber.client import GwibberClient
File “/usr/local/lib/python2.5/site-packages/gwibber/client.py”, line 12, in
from . import gwui, config, gintegration, configui, resources
File “/usr/local/lib/python2.5/site-packages/gwibber/gwui.py”, line 11, in
from mako.template import Template
ImportError: No module named mako.template

$ apt-get install python-mako

(Thanx to Vector)

 

Update #2:

Also installation for Debian Sid (thanks to Ryan)

So for sid the short instructions are here:

# installing depends & version control
sudo aptitude install bzr python-webkit python-dbus python-gtk2 python-notify python-simplejson python-egenix-mxdatetime python-distutils-extra python-feedparser python-mako

# check out source with bzr
bzr branch lp:gwibber

# cd into dir where bzr put source / setup files
cd gwibber

# run setup script
sudo python setup.py install

posted under debian, linux | 24 Comments »