Zobrazujú sa príspevky s označením linux. Zobraziť všetky príspevky
Zobrazujú sa príspevky s označením linux. Zobraziť všetky príspevky

18. 5. 2011

How to block ads - everywhere

Simply replace the hosts file (on win, linux, mac, android ...) with this file


http://someonewhocares.org/hosts/


ps: on android: /system/etc/hosts

14. 7. 2010

10. 3. 2009

Pidgin 2.5.5 download

http://linux.softpedia.com/progDownload/Pidgin-Download-6.html

1st install pidgin_data package (usign dpkg -i package_name)
2nd install librpurple
3rd install pidgin

24. 2. 2009

How to set up a mail server on a GNU / Linux system

Ubuntu + Postfix + Courier IMAP + MySQL + Amavisd-new + SpamAssassin + ClamAV + SASL + TLS + SquirrelMail + Postgrey

http://flurdy.com/docs/postfix/

Script to create VirtualHosts in Ubuntu

http://code.google.com/p/virtualhost-sh/downloads/detail?name=virtualhost-ubuntu.sh&can=2&q=

23. 2. 2009

How to check how many threads does process have?

Just use -L switch for ps ;)

smeal@smeal:~$ ps -efL|grep -i sql
root 4601 1 4601 0 1 12:35 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe
mysql 4643 4601 4643 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4646 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4647 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4648 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4649 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4661 0 16 12:35 ? 00:00:04 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4662 0 16 12:35 ? 00:00:08 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4663 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4664 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4667 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 4721 0 16 12:35 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 11228 0 16 13:30 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 11473 0 16 13:30 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 15430 0 16 14:17 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 15431 0 16 14:17 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
mysql 4643 4601 15432 0 16 14:17 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock

2. 12. 2008

How to make music in linux

http://hehe2.net/linuxhowto/free-professional-music-production-a-linux-introduction/


23. 11. 2008

22. 11. 2008

17. 11. 2008

avi to DVD

short steps to make DVD from video

(if you have more files, you can join them accordiong: http://smealko.blogspot.com/2008/07/how-to-join-more-video-files-into-one.html

if needed install those packages before: mplayer videotrans dvdauthor mkisofs libxvidcore4)

movie-to-dvd -m pal movie.avi

mplex -f 8 -o movie.mpg movie.m2v movie.ac3

dvdauthor -o dvd/ -t movie.mpg

dvdauthor -o dvd/ -T

mkisofs -dvd-video -v -o movie.iso dvd

23. 10. 2008

htc touch pro + ubuntu (should work for all PPCs)

sources:

# SYNCE
deb http://ppa.launchpad.net/synce/ubuntu hardy main
deb-src http://ppa.launchpad.net/synce/ubuntu hardy main

# Opensync

deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ sid main
deb-src http://opensync.gforge.punktart.de repo/opensync-0.21/ sid main

packages to install:

multisync-tools multisync0.90 opensync-module-python opensync-plugin-evolution opensync-plugin-google-calendar opensync-plugin-synce python-opensync synce-gnomevfs synce-gvfs synce-hal synce-sync-engine synce-trayicon

reboot and run: synce-trayicon (or add to auto started processes in your X session)
ps: sometimes module ipaq is needed (sudo modprobe ipaq)

15. 10. 2008

self signed psx certificate

openssl genrsa -des3 -out server.key 4096

openssl req -new -key server.key -out server.csr

openssl x509 -req -days 999 -in server.csr -signkey server.key -out server.crt

openssl rsa -in server.key -out server.key.insecure

mv server.key server.key.secure

mv server.key.insecure server.key

cat server.crt server.key > server.pem

openssl pkcs12 -export -in server.pem -out server.pfx


8. 10. 2008

:))))

„Zasranej linux“
-- Bill Gates

Website is down


31. 8. 2008

irssi in screen, popup in gnome (or KDE)

I was looking for way how to be notified about new event in irssi running in screen on remote server. After few minutes I've found many howtos on webblogs. Here is the most simple one:

1.) Download script fnotify.pl to ~/.irssi/scripts/fnotify.pl and make symbolic link to .irssi/scripts/autorun (ln -s ~/.irssi/scripts/fnotify.pl ~/.irssi/scripts/autorun/fnotify.pl [to automatic start script after new irssi start])
- manually you can load this script in irssi by /load fnotify

this script will generate file ~/.irssi/fnotify with messages for you, or highlighted messages (command /hilight in irssi)

2. Now we need some local script which will check file ~/.irssi/fnotify on remote server and display popup message, something like this:

#!/bin/bash
ssh username@host ": > .irssi/fnotify ; tail -f .irssi/fnotify " |
sed -u 's/[<@&]//g' | while read heading message; do /usr/bin/notify-send -u critical -i /usr/share/icons/gnome/scalable/apps/im-yahoo.svg -t 3000 -- "${heading}" "${message}"; done

You can also put this script in automatic started services (System -> Preferences -> Sessions)

27. 8. 2008

Explore2fs

S tymto softikom je mozne prezerat linuxove particie pod win
pripadne pozriet si disk vytvoreny cez wubi

http://www.chrysocome.net/explore2fs



(soft netreba instalovat, staci spustit)

18. 8. 2008

Generating native excell files in perl

http://www.linuxjournal.com/content/generating-native-excel-files-perl

17. 8. 2008

Simple backup using tar

tar cvpzf /backup/backup.tgz --exclude=/backup --exclude=/bordel --exclude=/dev --exclude=/home --exclude=/media --exclude=/proc --exclude=/tmp --exclude=/cdrom --exclude=/mnt --exclude=/pom --exclude=/sys /

tar xvpfz backup.tgz -C /

5. 8. 2008

Lunik IX


31. 7. 2008

How to jail irssi

Are there guys asking you for shell only for irc client? Why not to make it safer.

http://fluxbox-wiki.org/index.php/Howto_jail_irssi