Skip to content

Stop motion with wolf and pig

April 16, 2009

\frac{1}{2}

Capetown – Let it Go

April 4, 2009

Cape Town – Let It Go

Label: Pope

Indie

LYRICS:

so sit back and relax and just watch the show
just let it go, just let it go
though we wait for the verdict in time we will know
just where we’ll go, just where we’ll go

you said you loved me so why don’t you care
seems like you solved this so why aren’t you here
i’m so unnoticed out in the cold
i still like romance so leave me alone…

in this town all the children have gone out to war
but what is it for, but what is it for
all the lies they’ve been told bring them close to the edge
they fight in despair, they fight in despair

you said you loved me so why don’t you care
seems like you solved this so why aren’t you here
i’m so unnoticed out in the cold
i still like romance so leave me alone…

so sit back and relax and just watch the show
just let it go, just let it go

Shake your head

April 1, 2009

Write in C

March 29, 2009

A list of things I do after installing Debian linux

March 7, 2009

1) add user id to the sudoer’s list

2) install ‘build-essential’, ‘linux-kbuild’, ‘linux-headers’, and ‘libpng12-dev’.

3) install NVIDIA driver.

4) install compiz-fusion.

5) install printer.

6) setup evolution.

7) install scim, scim-hangul, run ‘im-switch en_US -s scim’.

8) install ‘iceweasel-l10n-ko.

9) install korean fonts

10) reconfigure locale, fontconfig.

11) install ‘vim-gtk’.

12) install ‘texlive’, ‘emacs’ and ‘auctex’.

13) multimedia debian.

14) install ‘MATLAB’ (may have to install ‘libxp-dev’ and ‘libxp6′).

15) install ‘Python’, ‘Numpy’, ‘Scipy’ and ‘Matplotlib’.

16) instal ‘Skype’.

17) install ‘RealPlayer’.

18) install ‘smbfs’, and mount the remote file system (Euclid server).

19) install additional fonts (Bitstream Vera fonts, ‘ttf-mscorefonts-installer’).
copy fonts to ‘/usr/share/fonts/truetype/<new-directory> or ~/.fonts/
run ‘fc-cache -fv’.

20) install ‘avant-window-navigator’.

QT4 antialiasing problem in Debian

March 7, 2009

Once I installed Skype on Debian linux, the font was not antialised.
I googled around and it seems that Debian by default doesn’t antialias the font system wide.

Here is hot to get around the problem:

sudo vi /etc/fonts/conf.avail/10-antialias.conf 

and add the following:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Use anti-aliasing -->
  <match target="font">
    <edit name="antialias" mode="assign"><bool>true</bool></edit>
  </match>
</fontconfig>

Then link it to /etc/fonts/conf.d/

/etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.d/10-antialias.conf 

How to mount a network drive (Samba share) on Linux

March 5, 2009

Make sure ‘smbfs’ package is installed.

Mount Manually

# mkdir -p /mnt/win
# mount -t cifs -o username=winntuser,password=mypassword //windowsserver/sharename /mnt/win
# cd /mnt/win
# ls -l

Mount at every system start

Edit the file ‘/etc/fstab’

# vi /etc/fstab

Append following line in a single line

//windowserver/share /mnt/win cifs credentials=/etc/.sambapasswords,iocharset=utf8,_netdev 0 0

Next, create the password file

# vi /etc/.sambapasswords

and add following content

username = winntuser
password = mypassword

Now, make sure only root can access your file

# chown 0.0 /etc/.sambapasswords
# chmod 600 /etc/.sambapasswords

Dependancies of OpenSees

June 22, 2008

Things to be installed before installing OpenSees on Debian based Distros:

“libpng” and its dev package
“TCL and TK” and its dev package
“libglut” and its dev package
“gfortran”
“build-esential”

to make “bin” and “lib” folder in home directory

How to enable sound in Debian Etch installed on Virtual Box

April 28, 2008

Install alsa-base, alsa-utils and libesd-alsa0 packages.
Use the alsaconf command to configure and load the necessary sound modules.

How to add a user to the sudoers list

April 27, 2008

How to add a user to the sudoers list:

1. Open a Root Terminal and type visudo (to access and edit the list)
2. Using the up/down arrows, navigate to the bottom of the sudoers file that is now displayed in the terminal
3. Just under the line that looks like the following:

root ALL=(ALL) ALL

4. Add the following (replacing user with the actual username):

user ALL=(ALL) ALL

5. Now press Ctrl+X and press Y when prompted to save

Follow

Get every new post delivered to your Inbox.