Posts

Showing posts from August, 2011

Command for kernel checking part 1

For Debian User >> dpkg --list | grep linux-image # To list all kernel. ex.result ii linux-image-2.6.38-10-generic 2.6.38-10.46 Linux kernel image for version 2.6.38 on x86/x86_64 ii linux-image-2.6.38-11-generic 2.6.38-11.48 Linux kernel image for version 2.6.38 on x86/x86_64 ii linux-image-2.6.38-8-generic 2.6.38-8.42 Linux kernel image for version 2.6.38 on x86/x86_64 ii linux-image-generic 2.6.38.11.26 Generic Linux kernel image >> uname -r OR uname -mrs # To display current kernel.

A New Semantic File Launcher for Ubuntu

Synapse Installation To install Synapse on Ubuntu 10.10, launch the terminal (Applications >> Accessories >> Terminal), then issue these commands: sudo add-apt-repository ppa:synapse-core/ppa sudo apt-get update sudo apt-get install synapse Then .... space ,ta use it. ref : http://www.spotht.com/2010/12/install-synapse-new-semantic-file.html

Simple restart nautilus

Yahh, it's just. >> nautilus -q

New Knowledge for command : xrandr

xrandr: Linux Resize / Set The Screen Size Quickly Via Command Line Options ex : >> xrandr -q ### get information from connected/disconnected, list of resolution. ref : http://www.cyberciti.biz/tips/linux-resize-screen-size-quickly.html

Fedora needed package (for vbox setup)

sudo yum install make automake gcc gcc-c++ kernel-devel or BIG change sudo yum groupinstall "Development Tools" yum install kernel-devel kernel-headers ref (http://www.fedoraforum.org/forum/showthread.php?t=198819)

Great font - settings for Kubuntu

May be we have have to check Kubuntu-restricted-extra pack for liberation If not, let's get standalone >> sudo apt-get install ttf-liberation then change the system font by going to System-Settings/Appearance/Fonts and click Adjust all fonts -> select liberation sans from the list and fixed width -> Liberation Mono for that time I use - "Use anti-aliasing: Enabled, check Use sub-pixel rendering>RGB, Hinting style:Slight" - "Force fonts DPI> 96 DPI" then make this to .fonts.conf file in your home directory rgb true hintslight true this above is for GTK application. That's all :) Cool stuff and fonts goes smooth ( ps - for font-setting : fixed width i select liberation mono instead of monospace - this is good for thai language:) ) SUPREME THANKS FOR (http://bigbrovar.aoizora.org/index.php/2010/01/16/my-smooth-fonts-se

Setting for Kubuntu (sing)

sec WEP: Hex or Ascii for 64 or 128 aut:shared key

Something about css:margin

margin : 1px; -> margin all = 1px; margin : 1px 2px; -> margin top-bottom = 1px, margin left-right = 2px; margin : 1px 2px 3px; -> margin top = 1px, margin left-right = 2px, margin bottom = 3px margin : 1px 2px 3px 4px; You know that top-right-bottom-left yah, that's all

What to do if you lost your ipythonrc file.

# -*- Mode: Shell-Script -*- Not really, but shows comments correctly # $Id: ipythonrc,v 1.16 2005/04/07 00:08:27 fperez Exp $ #*************************************************************************** # # Configuration file for IPython -- ipythonrc format # # The format of this file is simply one of 'key value' lines. # Lines containing only whitespace at the beginning and then a # are ignored # as comments. But comments can NOT be put on lines with data. # The meaning and use of each key are explained below. #--------------------------------------------------------------------------- # Section: included files # Put one or more *config* files (with the syntax of this file) you want to # include. For keys with a unique value the outermost file has precedence. For # keys with multiple values, they all get assembled into a list which then # gets loaded by IPython. # In this file, all lists of things should simply be space-separated. # This allows you to build hierarchies of fi

May be monitor is good.

In linux, many way to monitor website. Use curl. >> time curl -l | grep HTTP Use ab ( apache benchmark ) >> ab -n 100 -c 10 other will come