Posts

Showing posts from January, 2012

Specific install python package with PIP

If in the past u use package==2.1.1, then the time goes on package go up to 2.2.0 that blow your environment out. Kirit and some docs told me that we should >>> pip install 'package>=2.1,!=2.2.0' as logic said, we won't get package 2.2.0 , surely :)

Little Info about Chrome's shortcut :)

ctrl + page down/ctrl + tab -> switch to next tab ctrl + page up/ctrl + shift + tab -> switch to back to previous tab ctrl + keypad[1-9] -> switch to specific tab ctrl + alt + left arrow -> switch back to history of its tab ctrl + alt + right arrow -> switch to current of its tab ref JECShark,  http://www.google.com/support/forum/p/Chrome/thread?tid=16c23e5647c48367&hl=en

Empty trash in linux by command line

rm -rf ~/.local/share/Trash/files/*

Basic using s3cmd

sudo apt-get install s3cmd s3cmd --configure s3cmd put s3://xxxxxxxx/ s3cmd get s3://xxxxxxx/file s3cmd setacl s3://xxxxxx/ --acl-public/--acl-private

Fedora 16 ( 64 bits )

I use to play with fedora since it split from redhat. That time i know how to deal with yum ( fedora package manager ) but not much. Now i do task in ubuntu and have apt-get to be a short sword. Today I found some good article about top 10 linux distros. I saw fedora bring something interesting up again. So I got fedora16 (64 bit) in my virtualbox. At the end I found myself trying to find something like build-essential ( ubuntu ) from yum. That's why I have to wrote down in this post. To get something like that I have to >> su - # to be root, traditional way of fedora:) >> yum install yumex   Arrh then you can have something like ubuntu software manager, let's go to development topics then click !!! *** let's try >> yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel

How to rip audio from video using ffmpeg

This is what i want, when i need new ringtone from youtube. Currently I have ffmpeg installed. then i >> ffmpeg -i input.flv -ab 128 -ar44100 output .mp3

When I talk to xorg.conf gentlely :)

I just setup new kubuntu on my machine. And found that does not work fine with multiple display at the first time. So I try to find the good way to do that. After I googled for 1-2 days Kirit told me to look at his friend post about config xorg.conf. Actually I tried another one 'krandrrc' in ~/.kde/share/config/ but it seem like hard to understand in short time. So I think should be better with kirit 's friend way. But i won't post the config in this post yet. Will be next post. :)

Things have to do after install Kubuntu 11.10

Hi, Today I try new fresh setup of kubuntu on my machine. I intend to use it for develop task. So the list below this topic shows which pkg need to setup before do other thing :) >> sudo apt-get update >> sudo apt-get build-essential python-dev >> sudo apt-get install mercurial subversion git-core >> sudo apt-get install kubuntu-restricted-extras >> sudo apt-get install kubuntu-restricted-addons >> sudo apt-get install vim >> sudo apt-get install vim-nox >> sudo apt-get install synapse ( finder-like ) >> sudo update-apt-xapian-index >> sudo apt-get install vlc >> sudo apt-get install synaptic Note : I don't know how to install java by apt-get , if anyone knows please :) That's all , i can think about for now , will add it later. for more information (thank howtoforge and CSch http://www.howtoforge.com/forums/member.php?u=86089) http://www.howtoforge.com/the-perfect-desktop-kubuntu-11.10 http:/

Tiny thing but Cool command for psql

Let's get in psql interactive by >> psql Yes, If you wanna see all yours db. psql>> \l Select db psql>> \c you will get in selected db, then >> \d    # to display all tables