22 February 2010
By hemanth
Customizing Bespin with syntax and code highlighting
Read the intro to bespin before you continue
Prereq:
Python 2.5 with simplejson or Python 2.6
Peek into dryice.py :
#!/usr/bin/env python
# Simple script to run dryice conveniently in the Customizable package
import sys
import os
mydir = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(mydir, "lib"))
from dryice import tool
tool.main()
Sample json {manifest} :
15 February 2010
By hemanth
"Bespin is a Mozilla Labs experiment on how to build an extensible Web code editor using HTML 5 technology."
I have tired an experimental embed of Bespin here
Do read more
14 February 2010
By hemanth
To install The Network Simulator - ns-2 we need to bit of circus.
Install dependencies :
$ sudo apt-get install libpcap-dev gcc-4.3 g++-4.3 tcl tk tk8.4-dev tcl8.4-dev xorg-dev sgb
By default gcc version is 4.4, but has ns2 compiles well only will 4.3 we need to downgrade gcc !
Backup the current links and update symbolic links :
$ sudo mv gcc gcc.old
$ sudo mv i486-linux-gnu-gcc i486-linux-gnu-gcc.old
$ sudo ln -s gcc-4.3 gcc
$ sudo ln -s gcc-4.3 i486-linux-gnu-gcc
Download and Install ns2:
10 February 2010
By hemanth
Pre-Req
convert utility :sudo apt-get install imagemagick
curl utility :sudo apt-get install curl
Any wallpaper : it's called rss.jpg here
The idea is pretty native :
Step 1 : Get the rss feed URL
Step 2 : Scrap for the data
Step 3 : Set the data as wallpaper
Code template
31 January 2010
By hemanth
Dependencies :
XOrg 6.8, 6.9, 7.0, 7.1, 7.2, 7.3 or 7.4
Linux kernel 2.6 or above
glibc version 2.2 or 2.3
POSIX Shared Memory (/dev/shm) support is required for 3D applications
P.S : uninstall the ATI Proprietary Linux Driver before installing a newer version, if installed.
$ cd /usr/share/ati ; sh ./fglrx-uninstall.sh ; sudo reboot
CAUTION : ATI has contributed packaging scripts to allow creation of other packages, but does not necessarily test, verify or warrant the reliability.
30 January 2010
By hemanth
Ground control collaboration of launchpad and bazaar branches for easier development for the everyday user!
How to install ground control on karmic?!
From PPA :
$ sudo add-apt-repository ppa:doctormo/groundcontrol
$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install groundcontrol
From source:
$ bzr branch lp:groundcontrol ; cd groundcontrol ; sudo python setup.py install
Set up a Projects directory
$ mkdir ~/Projects
Navigate to : Places -> Home Folder -> Projects folder
26 January 2010
By hemanth
Django | The Web framework for perfectionists with deadlines
Settings it up:
sudo apt-get install django
Check out the options of the command django-admin
Start s project
hemanth@ubuntu:~/django$ django-admin startproject mysite
hemanth@ubuntu:~/django$ cd mysite
hemanth@ubuntu:~/django$ ls
__init__.py manage.py settings.py urls.py
This is the basis of the application
manage.py => application we use to RUN certain commands.
23 January 2010
By hemanth
My 55 ideas for Google Wave :{Some are on it's way} :
Go and vote here : You liked any?
1."Alloww grouping in contacts list like Friends,Co-workers,Bots so on. So when i click on Friends all of them in that group must be added to a single wave, so we need not add each of them."
2."Block/Ban/Kick users, sometimes spammers or sometimes from contact list itself!"
3."Ability to drag and drop media from hard-disk to wave"
21 January 2010
By hemanth
As the latest firfox came up was were happy to read the below in there site :
"Currently, an entirely new spec is being drafted for file objects and handling within HTML5. It will provide a much more robust interface for accessing content in local files, in addition to extending functionality for file objects within Javascript/DOM. The primary additions include:
* Drag n' drop of local files into a web page.
* Asynchronous file data access via callback methods.
* Sending file objects via XMLHttpRequest.
19 January 2010
By hemanth
DB replication/reflection is on the most import process while achieving a distributed system, which helps in the DB synchronization between remote hosts.
The concept is pretty simple :
1.Setting up the Master.
2.Setting up the Slave.
3.Let the Slave receive events from master and update DB.
Recent comments
1 week 5 days ago
3 weeks 2 days ago
3 weeks 2 days ago
3 weeks 6 days ago
4 weeks 4 days ago
12 weeks 5 days ago
13 weeks 2 days ago
14 weeks 5 days ago
14 weeks 5 days ago
15 weeks 1 day ago