Blogging from VimPress

Hello WordPress from the shell

This is my first blog entry from vim, the wonderful text editor

VimPress is a vim script that enables us to send wordpress articles from vim, which means that we can send articles from any computer with vim tool.

In addition, I’ve added a new script called closetag, which enables the blogger to easily create html tags. It automatically closes the tag by just entering ctrl+shift+-

Very easy

Blogging from VimPress

Hello WordPress from the shell

This is my first blog entry from vim, the wonderful text editor

VimPress is a vim script that enables us to send wordpress articles from vim, which means that we can send articles from any computer with vim tool.

In addition, I’ve added a new script called closetag, which enables the blogger to easily create html tags. It automatically closes the tag by just entering ctrl+shift+-

Very easy

Reverting Intel Video Card Driver to version 2.4 on Ubuntu 9.04 for better performance

Add the following lines to your /etc/apt/sources.list:
deb http://ppa.launchpad.net/siretart/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/siretart/ppa/ubuntu jaunty main

Import the appropriate GPG key (port 11371 on your firewall must be open to use the keyserver):
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xce90d8983e731f79
See https://help.launchpad.net/Packaging/PPA#Adding%20a%20PPA%20to%20your%20Ubuntu%20repositories for additional information how to add GPG keys to your system.
Install the driver:
$ sudo apt-get update
$ sudo apt-get install xserver-xorg-video-intel-2.4

Now you should be set. Restart X by running “sudo /etc/init.d/gdm restart” in a terminal and see if the graphics performance from intrepid is restored.
google_ad_client = “pub-9526966620429490”;/* 300×250, created 12/22/09 */google_ad_slot = “5945530461”;google_ad_width = 300;google_ad_height = 250;
Do I need to change my xorg.conf file? ==> May not work. Situation not improved without xorg.conf change??
Rolling back
If the driver does not work for you, or is not better, you should rollback to the original Ubuntu one. Remove the two lines from /etc/apt/sources.list again, and install the original one again:
$ sudo apt-get install xserver-xorg-video-intel
If X.org does not start at all, you should change to a text terminal by pressing Ctrl+Alt+F2, logging in, and use “sudo nano” to edit /etc/apt/sources.list. After installing xserver-xorg-video-intel, restart the computer with “sudo reboot”.

Fix for VLC Arabic Encoding Problem on Ubuntu

google_ad_client = “pub-9526966620429490”;/* 300×250, created 12/22/09 */google_ad_slot = “5945530461”;google_ad_width = 300;google_ad_height = 250;

To solve the arabic encoding problem in VLC which appears in loading arabic subtitles for a movie, simply install the package: libfribidi0_0.20-1_i386.deb
Find the package here: http://ubuntuforums.org/showthread.php?t=485020
http://ubuntuforums.org/attachment.php?s=f46bc2f1415ad5d9587ab3366c464e3f&attachmentid=39554&d=1186008124

Mounting Network Shares in Ubuntu

google_ad_client = “pub-9526966620429490”;/* 300×250, created 12/22/09 */google_ad_slot = “5945530461”;google_ad_width = 300;google_ad_height = 250;

1. Install ’smbfs’ & ’smbclient’ (Samba File System & Samba client)
sudo apt-get install smbfs smbclient
2- issue the command smbclient -L 192.168.1.2 -U% to generate a list of available shares
3- Create new folder for the ‘mount point’
4- sudo smbmount //192.168.1.2/Music /home/dbott/music -o username=dbott,password=mysecretpassword,uid=1000,mask=000
Un-mounting the share from the command line: sudo smbumount /home/dbott/music

Mounting Network Shares in Ubuntu

1. Install ‘smbfs’ & ‘smbclient’ (Samba File System & Samba client)
sudo apt-get install smbfs smbclient
2- issue the command smbclient -L 192.168.1.2 -U% to generate a list of available shares
3- Create new folder for the ‘mount point’
4- sudo smbmount //192.168.1.2/Music /home/dbott/music -o username=dbott,password=mysecretpassword,uid=1000,mask=000
Un-mounting the share from the command line: sudo smbumount /home/dbott/music

Mounting Network Shares in Ubuntu

1. Install ‘smbfs’ & ‘smbclient’ (Samba File System & Samba client)
sudo apt-get install smbfs smbclient
2- issue the command smbclient -L 192.168.1.2 -U% to generate a list of available shares
3- Create new folder for the ‘mount point’
4- sudo smbmount //192.168.1.2/Music /home/dbott/music -o username=dbott,password=mysecretpassword,uid=1000,mask=000
Un-mounting the share from the command line: sudo smbumount /home/dbott/music