BMX Bicycle freestyle
BMX Bicycle freestyle

Saturday, January 31, 2009

Story of success: Japan, Robots

Japan, the worlds second largest economy can be easily presented as first when talking about technology. Japan lacks natural resources (no oil-some fish) but develops some high tech that in U.s can't be matched. However possible earthquake is still danger for advanced high tech from Tokyo. In Europe Japan culture can be seen in anime (cartoons), video games, some gadgets (Casio) even cars (Toyota)

As seen on graph high density of robots is also found in Singapore and south Korea.

how to run application from terminal and continue using terminal

xine &

will keep your terminal window usable so you won't need to open another one.

CTRL+z will stop application that can be resumed to background with "bg" and number that is returned when stopping application (job).

Friday, January 30, 2009

how to update NTFS-3g

1.type into terminal
sudo apt-get remove ntfs-3g
2. download latest copy of ntfs-3g from their website http://www.ntfs-3g.org/index.html#download
3. (if you already installed basic compiler tools better for you) extract file to directory, open terminal in directory and:
    a. ./configure
b. make
c. make install # or 'sudo make install' if you aren't root
(for version 2009.1.1)
you may want to put sudo ahead if problems

i had problem with disc space so had to empty some space in tmp directory

Simple way to play DVDs with menus on linux

1.get a copy of vlc portable (for windows)
2. open it with wine
3. enjoy menus, iso files, etc



Wednesday, January 28, 2009

Reasons to switch to linux

1. you don't want to retun

2. transfer will cost you time and you will learn some linux tricks

3. linux compatibility (and development level) may be lower so you are not into exotic (and latest) hardware and software (also some games have troubles)

if one can satisfy these possibly one wont regret installing linux distribution


Tuesday, January 27, 2009

Start seamonkey composer from terminal


seamonkey -edit `pwd`/MYFILE.html

OR
seamonkey -edit

will start Seamonkey html editor in console
 
 
 

Wednesday, January 21, 2009

how to search for files bigger than some size in directory

find  -type f -size +50000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

will return files bigger than 50000k in current dir and subdirectories

example:you can search your mp3 collection for files bigger than 50Mb to recover some disc space

Tuesday, January 20, 2009

alt-tab alternative - switch windows into depth

When maximizing windows you will lose other windows out of sight. After that you probably use task bar or alt-tab to switch windows.
The best way that work even on small 17' lcd is to switch into depth when you see part of window that is under your current window. Xubuntu even has default "smart placement" option enabled so that switching windows wasn't never simplier. And more window below window? that's third dimension! no kidding

Sunday, January 18, 2009

nicotine filters usage - select size of files returned in search results by regular expression

nicotine is soulseek (p2p with continious search) client for linux systems.
select file size by clicking on edit->settings->misc->searches
tick enable filters and than put ">2000k" in size box to get filters only bigger than 2 Mb.

Thursday, January 15, 2009

How to effectively read news in linux

How to effectively read news&blogs in linux

1. save your url adresses to your notes, and sort by how often these "news" update
2. Add " firefox"
2. run all in terminal (put enter after last one so all pages will open in your firefox browser)
3. enjoy browsing web again! :)

example:

firefox http://www.astalavista.com/index.php?section=blog&cmd=listing;
firefox www.medgadget.com
firefox http://www.hitb.org/
firefox http://www.bornrich.org
firefox http://news.google.com/?ned=us&topic=t
firefox www.therawfeed.com
firefox http://www.geekologie.com/page2.php
firefox http://www.akihabaranews.com/en/
firefox http://www.k
urzweilai.net/news/frame.html?main=news.html


To make certain poages open less frequent

if [ "$[ ( $RANDOM % 100 ) + 1 ]" -lt 15 ]
then
firefox http://www.http://www.boingboing.net/
fi

will open that weblog less than ~15% times


if you have plenty of news to load add
mahjongg&
wmctrl -r Mahjongg -b add,above
wmctrl -r Mahjongg -b add,fullscreen

to play game during loading time;-)

Wednesday, January 14, 2009

Ubuntu: How to reduce Memory usage

How to optimize Ubuntu by reducing memory usage?

Step 1: Get rid of memory consuming processes:

Some processes that may be killed to reduce memory usage:

  • killall gnome-power-manager
  • sudo killall cupsd
  • killall top
  • killall cron
  • killall gnome-screensaver
  • killall gnome-system-monitor


Step 2: Tweak. Use simplest wallpaper, theme, window manager and lightweight programs.. In most cases the fastest theme or icon has the smallest size!


Step 3:

  • Disable the logging background services.
  • Disable the update manager.
  • Disable at service.
  • Disable audio settings.
  • If you don't want to login via a nice graphic screen, disable the "Graphical login manager".
  • Disable cupsys if you don't intend to print.
  • Disable hard disk tuning (it's an SSD!)
  • Reduce tty terminals to 2 or something.
  • Prevent unused modules from loading by blacklisting them.
  • Disable any fancy themes (esp using compiz).
  • Use only minimal buttons/launchers on one panel only (remove second panel if you have one).
  • Battery monitor takes a few cpu cycles (I've often seen it roaming the top 5 on a '$ top' output.)



Step 4:
Optimize Web-browser
  • Useful plugins for Firefox like Flashblock and Adblock-plus (can block selected images) to make websites lighter
  • Use lightweight web-browser like Midori

 Step 5: Compile applications from source (advanced)