Prihlásiť

Software


Nevýhody ICQ a prechod na XMPP/Jabber

9. 3. 2010 Zobraziť článok

Keďže väčšina známych si zvykla (alebo si zvykne, že Laci :P) na používanie XMPP (Jabber) protokolu, dnes som sa rozhodol natrvalo vypnúť ICQ plugin v Mirande. Podľa svojho zoznamu kontaktov vnímam, že k plynulému umožneniu tohto kroku mal najväčšie zásluhy Google, keďže tento otvorený protokol nasadil onoho času do Gmailu a ľudia si v ňom postupne zvykli používať Gmail Chat, aj keď mali zapnuté ICQ. ;)

Nevýhody ICQ voči XMPP v krátkosti

 ICQJabberPoznámka
Službu môže poskytovaťAOLKtokoľvekPri ICQ musíte mať účet u AOL a súhlasiť s ich podmienkami. Nemáte možnosť výberu lepších podmienok. Nemôžete si spojazdniť vlastný server napr. pre firmu.
Otvorenosť a decentralizácianieánoICQ protokol je proprietárny a služba používa centralizovanú sieť, takže keď padne AOL, padne celá sieť. :) Nemáte možnosť zmeniť poskytovateľa služby.
Identifikátor používateľačíslomeno@hostToto záleží od preferencií používateľa. Možno niekomu vyhovuje naučiť sa radšej 9-miestne číslo a namiesto domény svojich stránok používa IP adresu. :)
ŠifrovanienieánoSprávy sa posielajú po internete nešifrované ako obyčajný text a tak ich môže v podstate čítať každý, kto sa nachádza na komunikačnej ceste. Do verzie ICQ6 bolo aj samotné heslo na prihlásenie nešifrované.
Komunikácia do iných sietínieánoLicencia ICQ neumožnuje používateľom komunikovať s ľuďmi z iných komunikačných sietí. To je ako by ste si nemohli posielať e-maily z Gmailu na Centrum, alebo nemohli volať z Orange do T-mobile.
Slobodná volba klientanieánoPri ICQ nemôžete používať alternatívnych klientov, len oficiálneho klienta, aby ste nemohli blokovať reklamu, inak porušujete podmienky a jednáte nelegálne.
Možnosť použiť na firemné účelynieánoICQ nemôžete používať k firemnej komunikácii, čo by bolo kvôli nešifrovaniu (viď vyššie) vcelku hlúpe, aj keby takáto nekomerčná podmienka neexistovala. :)

Na mňa si zabudol? Veď na Gmaily ťa nikdy nevidím!

Prepáč, môže byť, že som si ťa zabudol pridať. Ako jabber server som si v minulosti vybral jabbim.sk, lebo ním gmail.com vtedy ešte nebol, takže mi napíš e-mail na adresu gmailu a pridám si ťa. ;)

Ako na Jabber, ak nepoužívam Gtalk?

Ak ste na Windowsoch, tak napríklad cez Mirandu. Prečítajte si Tutoriál na Mirandu.

For Fun

Pravda je taká, že ma k zrušeniu ICQ vyhecovala táto ikonka: Offline forever :)

Referencie


Zobraziť článok

Thunderbird Keyboard Shortcuts

4. 3. 2010 Zobraziť článok

My commonly used Thunderbird Keyboard Shortcuts. //Dedicated to Laco ;)

N            - Go to Next Unread Message
A            - Archive Message
CTRL+N       - Create new Message
CTRL+R       - Reply to Message (sender only)
Ctrl+Shift+R - Reply to All (all recipients)
CTRL+ENTER   - Send message
CTRL+K       - Focus the quick search box
\            - Collapse All Threads
*            - Expand All Threads

With Nostalgy Extension:

ESC-ESC	- Focus the thread pane
ESC-M	- Focus the message pane
Ctrl-Left/Right - Scroll the message from the thread pane
L	- Hide/show the folder pane
G	- Open a specific folder
S	- Move the current message to a specific folder
B	- Move the current message to a specific folder and go there
C	- Copy the current message to a specific folder

Rules

Nostalgy introduces a notion of rule . A rule associates a folder to a message by looking for a substring of the From, To/Cc, or Subject headers (or a combination of them). A rule can be restricted to match messages only under a given server/folder. When a rule selects a folder for a given message, Nostalgy informs you in the status line. You can then use the Shift-S/Shift-C/Shift-G/Shift-B shortcuts to move/copy/go directly to this folder.

In the Composer

When typing in a header, it's possible to change easily the header to either "To:", "Cc:" or "Bcc:". To do so, you need to be at the beginning of the input box, and simply type "to ", "cc " or "bcc " (with the whitespace, without the quotes).

The ESC-ESC combination focuses the message body. The ESC-A combination opens the file attachment dialog.

Laco?

Switch to new version of Thunderbird and install CustomizeHeaderToolbar Extension, then right click on header -> Customize -> Show -> Icons and add or remove items by dragging. ;)

References


Zobraziť článok

Vi Cheat Sheet

3. 3. 2010 Zobraziť článok

My commonly used vi commands.

Moje často používané príkazy.

ddDelete current line
v mark lines dDelete marked text - v start visual mode, mark lines with shift+arrow keys, then do command d
/stringSearch forward for string
?stringSearch back for string
nSearch for next instance of string
NSearch for previous instance of string
:s/pattern/string/flagsReplace pattern with string according to flags. g flag replace all occurences of pattern, c confirm replaces, & repeat last :s command.
:$Move to last line
:30Move to line 30
:wqSave and Quit
:q!Quits without saving
:e fileEdit file
:nGo to next file
:pGo to previos file

Full VI Cheat Sheets - References

http://www.lagmonster.org/docs/vi2.html
http://www.worldtimzone.com/res/vi.html
Zobraziť článok

Noteput - interactive music table

28. 2. 2010 Zobraziť článok

An interactive music table with tangible notes, that helps students to learn the notation of music.

Noteput
Zobraziť článok

man find

25. 2. 2010 Zobraziť článok
man find
find DIR -name PATTERN
find /var/www -mtime -1 -name '*.php'

modification time in hours: -mtime HOURS
modification time in minutes: -mmin MINUTES

  • n:  exactly n 24-hour periods (days) ago, 0 means today.
  • +n: more then n 24-hour periods (days) ago, or older then n,
  • -n: less than n 24-hour periods (days) ago (-n), or younger then n. -1 means today.

source


Zobraziť článok

Apache 2 configuration on Debian

14. 2. 2010 Zobraziť článok

vi /etc/apache2/apache2.conf
vi /etc/apache2/httpd.conf

/etc/apache2

/sites-available

A list of configuration files - one per site. A blank install will contain the file default. The system admin can have as many sites here as they need - however - they will not all be active.

/sites-enabled

A list of symlinks to configuration files in sites-available. A blank install will contain a symlink 000default to sites-available/default. The sites listed here are the sites which will be active. The site to be used if no virtual hosts match will be the first file found (hence the 000 on 000default).

U mňa: aaa.net -> match.nawebe.net aby zobrazil "The requested alias was not found on this server."

#enabling site xxx
a2ensite xxx

#disabling site xxx
a2dissite xxx

/etc/init.d/apache2 reload

/mods-available

A list of configuration files - one or more per module. Each dpkg installed module will add files here. e.g. php4.conf and php4.load are added with the libapache2-mod-php package. Again - the system admin can install whatever modules they wish - however - until they are set available they will not be active.

/mods-enabled

A list of symlinks to configuratioon files in modes-available. Only modules linked in here will be activated on the webserver.

#enabling modul xxx
a2enmod xxx
a2enmod rewrite

#disabling module xxx
a2dismod xxx

/etc/init.d/apache2 restart

Example


vi /etc/apache2/sites-available/ekniznica.eu

<VirtualHost *:80>
        ServerName ekniznica.eu
        ServerAlias www.ekniznica.eu
        DocumentRoot /var/www/ekniznica.eu/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>

        ErrorLog /var/www/ekniznica.eu/log/error-ekniznica.eu.log
        LogLevel warn
        CustomLog /var/www/ekniznica.eu/log/access-ekniznica.eu.log combined
</VirtualHost>

a2ensite ekniznica.eu
/etc/init.d/apache2 reload


Zobraziť článok

Apache Core Features

12. 2. 2010 Zobraziť článok
Security Tips Apache Core Features

Formatted listing of the directory

Options +Indexes

If a URL which maps to a directory is requested, and there is no DirectoryIndex (e.g., index.html) in that directory, then mod_autoindex will return a formatted listing of the directory. #Options Directive

.htaccess tips and tricks

.htaccess file generator

http://corz.org/serv/tricks/htaccess.php#denied http://corz.org/serv/tricks/htaccess2.php
Zobraziť článok

Video Editing

7. 2. 2010 Zobraziť článok

Avidemux

197_screenshot1.png

Avidemux is a free open-source program designed for multi-purpose video editing and processing, which can be used on almost all known operating systems and computer platforms.

Codecs

MPEG-4 Part 2

H.264/MPEG-4 AVC

Na Blu-ray Disc


Zobraziť článok

How to use Gmail and Google Apps as your SMTP server

3. 2. 2010 Zobraziť článok
Host: smtp.gmail.com
Authentication: Yes (Normal password)
Username: YOUR_USERNAME@gmail.com
Password: YOUR_PASSWORD
Security: SSL
Port: 465

OR:
Security: TLS/STARTTLS 
Port: 587

With Google Apps

Only difference is username: YOUR_USERNAME@example.com (instead of a gmail.com address).

IMAP

imap.gmail.com
Port: 993
Connection security: SSL/TLS
Authentication method: Normal password

Zobraziť článok