Archive for September, 2008

unix | terminal shortcuts

Uporabno.

Za Applov terminal:

⌘ + N Create a new shell window
⌘ + T Create a new shell tab
⌘ + ` Next Terminal window
⌘ + ~ Previous Terminal window
⌘ + } Next Terminal tab
⌘ + { Previous Terminal tab
⌘ + W Close window or tab

Pa se splosno za *unix sisteme:

Ctrl-A Move the cursor to the beginning of the command line.
Ctrl-B Move the cursor back one character.
Ctrl-C Break out of the command without any change to the settings.
Ctrl-D Delete the character at the cursor.
Ctrl-E Move the cursor to the end of the command line.
Ctrl-F Move the cursor forward one character.
Ctrl-I Recall a complete command name; same as the Tab key operation.
Ctrl-K Delete all characters from the cursor to the end of the command line
Ctrl-L Redisplay the current command line, same as the Ctrl-R key.
Ctrl-N Recall the most recent command in the command history relative to the current pointer in the history list.
Ctrl-P Recall the oldest command in the command history, beginning with the most recent command.
Ctrl-R Redisplay the current command line; same as Ctrl-L key.
Ctrl-T Transpose the characters to the left of the cursor with the character located at the cursor.
Ctrl-U Delete all characters from the cursor to the beginning of the command line.
Ctrl-V Insert a code to indicate that the immediately following value is a command entry.
Ctrl-W Delete the word to the left of the cursor.
Ctrl-X Delete all characters from the cursor to the beginning of the command line.
Ctrl-Y Recall the most recent entry in the buffer (which contains the last ten items you deleted).
Esc-B Move the cursor back one word.
Esc-C Capitalize the word at the cursor.
Esc-D Delete from the cursor to the end of the word.
Esc-F Move the cursor forward one word.
Esc-L Change the word at the cursor to lowercase.
Esc-Q Insert a code to indicate that the immediately following value is a command entry.
Esc-U Capitalize letters from the cursor to the end of the word.
Esc-Y Recall the next deleted buffer. (Effective after using Ctrl-Y.)

lpm

No Comments

VMWare Fusion 2.0 released

Koncno final verzija.

http://www.vmware.com/products/fusion/

S sloganom se ne strinjam. :)

lpm

No Comments

OsX Leopard | 10.5.5 released

Pravkar releasen update za Leoparda – 10.5.5

Lista fixov / sprememb na voljo tukaj:
http://support.apple.com/kb/HT2405

Ze downloadam.

lpm

No Comments

OpenSSH Socks proxy | secure browsing

OpenSSH ima built-in SOCKS proxy support – torej se lahko obnasa kot SOCKS proxy. wow. :) Se ena lepa lastnost tega je da vse poteka preko kriptirane ssh povezave, torej lahko npr brskamo po spletu na varen nacin, tudi ce smo v "open omrezjih" kjer bi nas lahko kdo nadzoroval in nam snifal promet, kot na primer letalisca. Druga uporabnost pa je da lahko dostopamo do spletnih strani brez da bi IT team izvedel za to, vidijo se samo ssh kriprirani paketki. ;)

Kaj potrebujemo? OpenSSH streznik z dostopom do interneta ter OpenSSH klienta.

1. Vzpostavimo kriptiran SSH tunel do streznika.

ssh -ND 9999 username@server_ip

voila, simple kot burek! :) Tunel je vzpostavljen, s tem dvignemo socks proxy na svojem racunalniku na portu 9999 – karkoli pride na ta naslov se poslje v tunel na OpenSSH streznik, od tam pa v internet.

2. Nastavitev klientov

Sedaj moramo samo se nastaviti kliente, da bodo posiljali zahteve preko proxy streznika. To je seveda odvisno od vsakega browserja posebej in od osa – lahko celo kompleten promet posiljate preko proxy streznika.

nastavitve: tip: socks5, streznik: localhost, port: 9999

-firefox: tools – options – general – connection (http://broadband-proxies.com/configure-proxy-for-firefox.html)
- Internet Explorer: tools – internet options – connections – LAN settings (http://support.microsoft.com/kb/135982)
- OsX Leopard: Naredimo si nov location in skonfiguriramo proxy, vse ostale kliente potem lahko nastavimo naa system settings (http://www.tcd.ie/iss/internet/osx_leopard_proxy.php)

Seveda lahko nastavimo tudi vse druge povezave, like MSN chat, …, skratka karkoli kar podpira socks proxy-ing.

Naslednjic pa se instalacija in konfiguracija SOCKS streznika.

lpm

EDIT: En simple in uporaben programcek, ki naredi zgornje stvari namesto vas (MAC only) – secret socks.

1 Comment

let's rock event | novi ipodi | iTunes 8

novi iPodi:
– Nov classic 4G;
– Nov Nano – "thinnest iPod ever"; 4G
– Nov touch 2G

iTunes 8:
– Genious playlist & sidebar;
– HD TV nanizanke za $2,99;
– Grid view;
– Nov visualizer;

In se nekaj ostalih stvari, precekirajte na www.apple.com.

Keynote prezentacija na voljo na applovi strani.

lpm

No Comments

linux | grep uncommented lines

Ce je ogromen config fajl je zoprno iti cez celega da vidis, katere vrstice niso zakomentirane… Tale komanda pomaga:

grep -v ^# fajl | grep -v ^$

lpm

No Comments

wget | download entire website

Tale je za arhiv :D

http://www.linuxjournal.com/content/downloading-entire-web-site-wget

lpm

No Comments

Steven Seagal emotional chart

lpm

No Comments