Starting enumerate with a specified number in Latex
3
Posted by Arsh | Labels: Latex | Posted on Tuesday, November 25, 2008
\begin{enumerate}
\setcounter{enumi}{5}
\item Hello
\item Bye
\end{enumerate}
TRICK TO GET FONTS CORRECT IN FEDORA 9
0
Posted by Arsh | Labels: Fedora, Font Problems, Mathematica | Posted on Tuesday, November 18, 2008
On a 32-bit machine
rm -f /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Libraries/Linux/libQtCore.so.4
rm -f /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Libraries/Linux/libQtGui.so.4
ln -s /usr/lib/libQtCore.so.4 /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Libraries/Linux/libQtCore.so.4
ln -s /usr/lib/libQtGui.so.4 /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Libraries/Linux/libQtGui.so.4
On a 64-bit machine,
rm -f /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Libraries/Linux/libQtCore.so.4
rm -f /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Libraries/Linux/libQtGui.so.4
ln -s /usr/lib64/libQtCore.so.4 /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Libraries/Linux/libQtCore.so.4
ln -s /usr/lib64/libQtGui.so.4 /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Libraries/Linux/libQtGui.so.4
Mathematica : Segmentation fault while starting
0
Posted by Arsh | Labels: Fedora, Linux, Mathematica | Posted on
- Login as root
- Make sure that libX11 is installed,
rpm -q libX11
If some version is installed, then proceed
else install it
- mkdir /usr/X11R6/
mkdir /usr/X11R6/lib/
mkdir /usr/X11R6/lib/X11/
cd /usr/X11R6/lib/X11/
ln -s /usr/share/X11/XKeysymDB XKeysymDB
ln -s /usr/share/X11/locale/ locale
Skype : Problem with Audio Playback
2
Posted by Arsh | Labels: Fedora, Linux, Skype | Posted on
Go to - Options (By pressing Ctrl+O or by clicking Skype symbol on the bottom left and then clicking Options)
Then go to Sound devices and change Sound In and Sound options to pulse instead of Default device. Say apply and then close.
Things should be fine !
Getting Started with Joomla! 1.5 on Fedora 9
0
Posted by Arsh | Labels: Content Management Systems, Fedora, Joomla | Posted on Sunday, November 16, 2008
I wanted to host a website on my computer and I was really impressed with the features offered by Joomla! I found it to be a pain in the neck to install it on my Fedora 9 desktop though. So, I thought of writing a beginner's review of how to install Joomla! on a linux machine. The key steps in the installation are
1) Login as root
$ su -
2) Installing Apache server, MySQL server and php
$ yum -y install mysql mysql-libs php-mysql mysql-server php-cli php-common php-pdo php-mysql php-ldap httpd php
3) Configuring Apache server
Add following lines to /etc/httpd/conf/httpd.conf
#**********************************************
ServerName SERVERNAME
NameVirtualHost IP_ADDRESS
DocumentRoot PATH
DocumentRoot PATH
ServerName SERVERNAME
#**********************************************
Replace the bold entries with the appropriate values.
4) Starting Apache and MySQL services
$ service httpd start
$ service mysqld start
5) Make sure to configure firewall to allow http connections to your computer
$ system-config-firewall &
Check the WWW(HTTP) 80/TCP box
6) Joomla Installation
$ mkdir /home/www/
$ cd /home/www/
$ mkdir Joomla
$ cd Joomla
$ untar Joomla 1.5
$ chmod -R 755 /home/www/
Making configuration.php writable
$ touch configuration.php
$ chmod 777 configuration.php
Open firefox (or any other web browser) and type
http://IP_ADDRESS/Joomla/
Complete Installation following page 8 of Joomla! v 1.5 Quick Start Guide written by Kevin Hayne.
$ rm -rf installation/
Extracting Audio from Video Files
1
Posted by Arsh | Labels: Audio Video Manipulation, Linux | Posted on Thursday, November 13, 2008
mplayer -dumpaudio video_file -dumpfile audio_file.mp3
To extract audio from live stream, use -dumpstream option instead of -dumpaudio option.
Using ffmpeg (Quality Control)
ffmpeg -i video_file -ab 128 -ar 44100 audio_file.mp3
No change in command structure for ffmpeg to extract from live stream.