I am adding a script which will convert the mp3 from a folder to ogg. mpg123 and oggenc are prerequisite for this scirpt. It can be download from http://mayankjohri.files.wordpress.com/2007/08/mp32ogg.pdf
The PreReq's are mpg123, vorbis-tools, python-id3
My 2cent tips & tricks on computer technology & Application Virtualization ...
Sunday, August 26, 2007
Saturday, August 25, 2007
Setting Evolution for Gmail Account
Steps to follow
- Enable the POP & SMTP service on gmail accont.
- Start Evolution
- Add New Account by clicking "Edit" -> "Preference"
- In "Accout Details", press "Add" Button
- Select "Forward"
- Enter your Account Name and Email ID and select "Forward"
- Select "POP" server for "Receiving Email"
- Under "Configuration" section enter "POP.gmail.com" and your email username
- Under "Security" select "SSL encryption"
- Under "Authentication Type" select Password
- Select "Forward"
- Select "Forward" for "Receiving Options
- In "Sending Email" select
- Server Type : SMTP
- Under "Server Configureation" add "SMTP.GMAIL.COM" for Server
- Under "Security" select "SSL Encryption" as "Use Secure Connection"
- Enter Username under Authentication section.
- Select "Forward"
Tuesday, August 21, 2007
Slackware: Enabling package update through online mirrors
Unfortunately Slackware 12.0 does not unable update of OS by default, slackpkg needs to be installed from the install CD/DVD which is located in "extra\slackpkg" folder.
installpkg slackpkg*.tgz
uncomment only one mirror on /etc/slackpkg/mirrors file which represent your version.
slackpkg update; slackpkg upgrade-all
the above command will upgrade your machine.
installpkg slackpkg*.tgz
uncomment only one mirror on /etc/slackpkg/mirrors file which represent your version.
slackpkg update; slackpkg upgrade-all
the above command will upgrade your machine.
Friday, August 17, 2007
Adding HTTP Proxy Details in SVN
Edit the server file at ~/.subversion/servers
$ vi ~/.subversion/servers
Add or update the following values in the file
http-proxy-host = <Fill the proxy server name>
http-proxy-port = <Proxy Port>
$ vi ~/.subversion/servers
Add or update the following values in the file
http-proxy-host = <Fill the proxy server name>
http-proxy-port = <Proxy Port>
Thursday, August 16, 2007
Remedy for Bug #89741: with Compiz, the title bar on maximized windows are drawn completely white.
When Compiz is running then the title bar on maximized windows are drawn completely white for my Laptop R32.
The solution of the issue is to create /etc/drirc file with the following contents:
<option name="allow_large_textures" value="2" />
The solution of the issue is to create /etc/drirc file with the following contents:
<option name="allow_large_textures" value="2" />
Tuesday, August 14, 2007
Add Context Menu for a FileType
Eg:
The above reg key will add UpdateOSD menu for .osd file type
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\\.osd]
@="SoftGrid.osd.File"
"Content Type"="application/softricity-osd"
[HKEY_CLASSES_ROOT\\SoftGrid.osd.File\\shell\\UpdateOSD]
[HKEY_CLASSES_ROOT\\SoftGrid.osd.Fileshell\\UpdateOSD\\Command]
@="\"C:Program Files\\AddTabsToOSD\\addTabsToOSD.exe\" \"%1\""
The above reg key will add UpdateOSD menu for .osd file type
Wednesday, August 8, 2007
Slackware's pacman through HTTP Proxy
edit the /etc/pacman.conf on your slackware/frugalware machine and add or update the following.
ProxyServer = your.proxy.server ie proxy.domain.comProxyPort = your_proxy_port ie 8080
Tuesday, July 24, 2007
mp3 to ogg
1. apt-get install mpg321 vorbis-tools (If you don't have them on your machine)
Note: If you get error, check that you have contrib and non-free depositories in your sources list
2.Code: mpg321 input.mp3 -w raw && oggenc raw -o output.ogg
Note: raw is just a file name, it could be anything you want...
Note: If you get error, check that you have contrib and non-free depositories in your sources list
2.Code: mpg321 input.mp3 -w raw && oggenc raw -o output.ogg
Note: raw is just a file name, it could be anything you want...
Thursday, July 19, 2007
search for a string in files in folder
The Python script is belows
Tuesday, June 5, 2007
search for a string in files in folder
By using the following VBSCript one can search for a string in a file.
Tuesday, May 15, 2007
Setting Null as root password
sudo passwd -l root
This command will set Null as the root password. {To be used in ubuntu}
This command will set Null as the root password. {To be used in ubuntu}
Adding Network shortcuts in MSI packages
Steps
- Create a property eg. INSTDIR in Property table
- Populate it with the network directory
- Create a property eg SHORTCUT1 in Property table /* IF not using Wise
- Polulate it with the full UNC path along with the executable name /* IF not using Wise.
- Create a shortcut using the shortcut under the shortcut table
- Update the WkDir coloum in Shorcut table with INSTDIR (no NOT add brakets [] before and after INSTDIR).
Subscribe to:
Posts (Atom)