30
2008
Make GTK Applications look good in KDE
I am using Ubuntu 8.04 (Hardy Heron). Go to the Synaptic Package Manager and look for a package called gtk-qt-engine. Install it and your gtk applications like mozilla should look fine in KDE Desktop , especially the fonts.
13
2008
wxPython stderr/stdout window
While executing a wxpython script if a error occurs then a white window popups with some message, and it disappears fast enough before it can be read. So here is a fix to pause it and read it what and where the error in the code is : app = wx.App(redirect=False)MyFrame(None).Show()app.MainLoop() The wx.App takes this parameter called redirect which can be True or False.It defaults to True for Windows and MacOS. Another argument is filename=(None/) [...]
12
2008
PHP Script to find visitor’s location
Hello All Here is a simple php script that lets you track the location of the visitor’s on your site. Lets get to the code straight away : So basically what we did was, used the free geo ip api from IPMango The syntax being http://www.ipmango.com/api.php?ip=a.b.c.d where a.b.c.d is the ip address.
Subscribe
Recent Posts
- Compile wxwebconnect on Ubuntu 11.04 64 bit
- Disqus Comments Importer Script in PHP
- Beginners’ guide to socket programming with winsock
- Handle multiple socket connections with fd_set and select on Linux
- Beginners guide to socket programming in C on Linux
- Gui whois client in python with wxpython
- Whois client code in C with Linux sockets
- str_replace for C
- Easy to use C/C++ IDE for Ubuntu Linux
- Get local ip in C on linux
An article by Binary Tides