from my favorite: http://www.explosm.net/comics/archive/
Κυριακή 30 Νοεμβρίου 2008
Πέμπτη 20 Νοεμβρίου 2008
Βγήκε η έκδοση 6.5 του Netbeans!
Βγήκε η έκδοση 6.5 του Netbeans!

Κατεβάστε την απο εδώ: http://www.netbeans.org/downloads/
Μερικά features:
* The award-winning NetBeans IDE for Java keeps getting better. New to 6.5: support for Groovy and Grails, built-in support for Hibernate, Eclipse project import, Compile/Deploy on Save, and much more.
* Value Proposition: We continue to build on our award-winning IDE for Java by adding popular new features and improvements. Find out why NetBeans IDE for Java is the right IDE for you- with rich support for ME/SE/EE development and new feature highlights including Groovy and Grails support, built-in support for Hibernate, Eclipse project import/synchronization, Compile/Deploy on Save, and Ajax-enabled JSF CRUD generator.
* Simplify your Python development with the NetBeans IDE for Python- Early Access. This community driven project combines the practical development expertise of Python developers with the experience of IDE development by the NetBeans community.
* Developers can enjoy great editor features such as code completion, semantic highlighting, instant rename, smart indentation, pair matching, and more. The EA release also includes a community developed Python debugger as well as the ability to choose between the Python and Jython runtimes.
Κατεβάστε την απο εδώ: http://www.netbeans.org/downloads/
Μερικά features:
* The award-winning NetBeans IDE for Java keeps getting better. New to 6.5: support for Groovy and Grails, built-in support for Hibernate, Eclipse project import, Compile/Deploy on Save, and much more.
* Value Proposition: We continue to build on our award-winning IDE for Java by adding popular new features and improvements. Find out why NetBeans IDE for Java is the right IDE for you- with rich support for ME/SE/EE development and new feature highlights including Groovy and Grails support, built-in support for Hibernate, Eclipse project import/synchronization, Compile/Deploy on Save, and Ajax-enabled JSF CRUD generator.
* Simplify your Python development with the NetBeans IDE for Python- Early Access. This community driven project combines the practical development expertise of Python developers with the experience of IDE development by the NetBeans community.
* Developers can enjoy great editor features such as code completion, semantic highlighting, instant rename, smart indentation, pair matching, and more. The EA release also includes a community developed Python debugger as well as the ability to choose between the Python and Jython runtimes.
Τρίτη 18 Νοεμβρίου 2008
Linux Taking Screenshots
aptitude install ...
ksnapshot for kde
xfce-4-screenshooter-plugin for xfce
gnome-screenshot for gnome
Using the: imagemagick (Τhanks to: Ioannis)
screenshot of the hole screen
screenshot a single window
ksnapshot for kde
xfce-4-screenshooter-plugin for xfce
gnome-screenshot for gnome
Using the: imagemagick (Τhanks to: Ioannis)
screenshot of the hole screen
import -window root shot.png
screenshot a single window
import shot.png (click on the window)
Πέμπτη 13 Νοεμβρίου 2008
Κόλλησε κάτι;
Στις περιπτώσεις που υπάρχει γραφικό περιβάλλον μπορείτε να χρησιμοποιήσετε το xkill για να σκοτώσετε ενα πρόγραμμα. Το τρέχετε και απλά κάνετε click στο παράθυρο της εφαρμογής.
Εαν το γραφικό δεν έχει απόκριση, ctrl + alt + F1 και πατε στο tty1. Εκεί παίζετε με τα top/htop/ps ax και kill/kilall/pkill και σκοτώνετε την προβληματική εφαρμογή. (το htop δίνει την δυνατότητα τερματισμού της διεργασίας πατώντας το F9)
Για να κάνετε restart τον X (που κολλάει συχνά-πυκνά)μπορείτε να πατήσετε Ctrl+Alt-Backspace.
Τέλος σε βαριές περιπτώσεις υπάρχει το:
alt + SysRq +R (παίρνει τον έλεγχο του πληκτρολογίου απο τον Χ)
alt + SysRq +E (στέλνει το σήμα SIGTERM επιτρέποντας στις διεργασίες να τελειώσουν μόνες τους)
alt + SysRq +I (στέλνει το σήμα SIGKILL αναγκάζοντας τις διεργασίες να τερματίσουν αμέσως)
alt + SysRq +S (κάνει synchronize τα δεδομένα στον δίσκο)
alt + SysRq +U (κάνει unmount τους δίσκους)
alt + SysRq +B (κάνει reboot)
Για να τα θυμάστε:
unRaw
tErminate
kIll
Sync
Unmount
reBoot
hint thanks to nickkefi: Να θυμάστε το ανάποδο: BUSIER
Εαν το γραφικό δεν έχει απόκριση, ctrl + alt + F1 και πατε στο tty1. Εκεί παίζετε με τα top/htop/ps ax και kill/kilall/pkill και σκοτώνετε την προβληματική εφαρμογή. (το htop δίνει την δυνατότητα τερματισμού της διεργασίας πατώντας το F9)
Για να κάνετε restart τον X (που κολλάει συχνά-πυκνά)μπορείτε να πατήσετε Ctrl+Alt-Backspace.
Τέλος σε βαριές περιπτώσεις υπάρχει το:
alt + SysRq +R (παίρνει τον έλεγχο του πληκτρολογίου απο τον Χ)
alt + SysRq +E (στέλνει το σήμα SIGTERM επιτρέποντας στις διεργασίες να τελειώσουν μόνες τους)
alt + SysRq +I (στέλνει το σήμα SIGKILL αναγκάζοντας τις διεργασίες να τερματίσουν αμέσως)
alt + SysRq +S (κάνει synchronize τα δεδομένα στον δίσκο)
alt + SysRq +U (κάνει unmount τους δίσκους)
alt + SysRq +B (κάνει reboot)
Για να τα θυμάστε:
unRaw
tErminate
kIll
Sync
Unmount
reBoot
hint thanks to nickkefi: Να θυμάστε το ανάποδο: BUSIER
Τετάρτη 12 Νοεμβρίου 2008
High resolution Terminal (tty)
To change the resolution of your tty's, just append the words "vga=XXX" to the kernel line of your /boot/grub/menu.lst
example:
If you want to go deeper, search for frame buffer
Thanks to Themis and Michalis
colour depth | 640x480 800x600 1024x768 1280x1024
256 (8bit) | 769 771 773 775
32000 (15bit) | 784 787 790 793
65000 (16bit) | 785 788 791 794
16.7 Mill. (24bit) | 786 789 792 795
example:
cat /boot/grub/menu.lst
...
title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro vga=791
initrd /boot/initrd.img-2.6.26-2-686
...
If you want to go deeper, search for frame buffer
Thanks to Themis and Michalis
Ετικέτες
english,
frame buffer,
High resolution Terminal (tty)
Δευτέρα 10 Νοεμβρίου 2008
My favorite Terminal Network monitoring tools
I would like to introduce some of my favorite network monitoring tools.
I will start with the 'simple as perfect' ifstat.
ifstat is "Report InterFace STATistics"
It lists all the network interfaces and displays the download and upload rates in a continuous stream. It can be scripted quite easily.
Similar to ifstat but with more options is bmon.
bmon is a "Portable bandwidth monitor and rate estimator"
It lists all the network interfaces and displays the current RX and TX rate.
It can show detailed statistics such as the errors, the total bytes the dropped packets etc.
Also it has a graphical statistics option.
Next on my list is iptraf.
iptraf is a "Interactive Colorful IP LAN Monitor"
It has a very nice text based menu and it can display lots of statistics about the interfaces.
It also has a IP traffic monitor showing the tcp and the udp connections.
Another powerful tool is iftop.
iftop can "display bandwidth usage on an interface by host"
and does exactly what is says. It displays the bandwidth usage of every host in a very nice graphical way.
This tool is very useful on a proxy server.
Last but not least, is ngrep and tcpdump.
Those tools are perfect for viewing and graping the network traffic.
They can be used with several filters.
For each one of the programs I described previously, there is a very nice man page you should try to read first before asking anything.
For graphical statistics collection tools, try ntop, munin and cacti. Each one suits different needs.
I will start with the 'simple as perfect' ifstat.
ifstat is "Report InterFace STATistics"
It lists all the network interfaces and displays the download and upload rates in a continuous stream. It can be scripted quite easily.
Similar to ifstat but with more options is bmon.
bmon is a "Portable bandwidth monitor and rate estimator"
It lists all the network interfaces and displays the current RX and TX rate.
It can show detailed statistics such as the errors, the total bytes the dropped packets etc.
Also it has a graphical statistics option.
Next on my list is iptraf.
iptraf is a "Interactive Colorful IP LAN Monitor"
It has a very nice text based menu and it can display lots of statistics about the interfaces.
It also has a IP traffic monitor showing the tcp and the udp connections.
Another powerful tool is iftop.
iftop can "display bandwidth usage on an interface by host"
and does exactly what is says. It displays the bandwidth usage of every host in a very nice graphical way.
This tool is very useful on a proxy server.
Last but not least, is ngrep and tcpdump.
Those tools are perfect for viewing and graping the network traffic.
They can be used with several filters.
For each one of the programs I described previously, there is a very nice man page you should try to read first before asking anything.
For graphical statistics collection tools, try ntop, munin and cacti. Each one suits different needs.
Πέμπτη 30 Οκτωβρίου 2008
Παρουσίαση Debian στο PLUG
Χθες 29/10/2008 στην 3η επίσημη συνάντηση του Patras Linux User Group έγινε το πολυαναμενόμενο Distro Wars.
Παρουσίασα το Debian και μπορείτε να κατεβάσετε την παρουσίαση απο εδώ: http://ventrix.nsdc.gr/stuff/PLUG_debian.pdf
Παρουσιάστηκε επίσης το Ubuntu (δεν το σχολιάζω) απο τον συνονόματο Κωνσταντίνο,
το Gentoo (δεν με έπεισε, μισώ το compile) απο τον Μάρκο
και το OpenBSD απο τον Φώτη που με έψησε να το δοκιμάσω...
Μπορείτε να κατεβασετε τις υπόλοιπες παρουσιάσεις απο εδώ: http://groups.google.com/group/patras-lug/web/meetings
Θα τα ξαναπούμε την επόμενη Τετάρτη (05 Νοεμβρίου 2008) με παρουσιάσεις: Django και "Multimedia in linux"!
(Η καινούργια αίθουσα που ετοιμάζεται απο τον ΑΣΤΟ είναι απλά χλιδάτη!)
Παρουσίασα το Debian και μπορείτε να κατεβάσετε την παρουσίαση απο εδώ: http://ventrix.nsdc.gr/stuff/PLUG_debian.pdf
Παρουσιάστηκε επίσης το Ubuntu (δεν το σχολιάζω) απο τον συνονόματο Κωνσταντίνο,
το Gentoo (δεν με έπεισε, μισώ το compile) απο τον Μάρκο
και το OpenBSD απο τον Φώτη που με έψησε να το δοκιμάσω...
Μπορείτε να κατεβασετε τις υπόλοιπες παρουσιάσεις απο εδώ: http://groups.google.com/group/patras-lug/web/meetings
Θα τα ξαναπούμε την επόμενη Τετάρτη (05 Νοεμβρίου 2008) με παρουσιάσεις: Django και "Multimedia in linux"!
(Η καινούργια αίθουσα που ετοιμάζεται απο τον ΑΣΤΟ είναι απλά χλιδάτη!)
Δευτέρα 27 Οκτωβρίου 2008
Μια ευχάριστη νότα
Μια ευχάριστη νότα, για να σπάσουμε την πολύ τεχνικούρα...
[21:07:21] g_kouk says:
edw mia eikona mou stelnoun kai kanei ena lepto na katevei as poume
[21:07:21] Kostis# says:
skepsoy oti ego mporo na stelno mexri 120kb/s
[21:08:23] g_kouk says:
14000kb einai 14 mb ;;;;
[21:09:39] Kostis# says:
1mb = 1024kb
[21:09:46] Kostis# says:
1kb = 1024b
[21:10:02] g_kouk says:
ara peripou nai einai i apantisi
[21:07:21] g_kouk says:
edw mia eikona mou stelnoun kai kanei ena lepto na katevei as poume
[21:07:21] Kostis# says:
skepsoy oti ego mporo na stelno mexri 120kb/s
[21:08:23] g_kouk says:
14000kb einai 14 mb ;;;;
[21:09:39] Kostis# says:
1mb = 1024kb
[21:09:46] Kostis# says:
1kb = 1024b
[21:10:02] g_kouk says:
ara peripou nai einai i apantisi
Debian Vim syntax highlighting tip
To enable syntax highlighting in Vim, locate the file /etc/vim/vimrc.
Open it with your favorite editor and uncomment the syntax on line.
Open it with your favorite editor and uncomment the syntax on line.
Παρασκευή 24 Οκτωβρίου 2008
WordPress vulnerabilites - New Version!
Δεν μου αρέσει καθόλου η όλη ιδέα του: στήνω ένα xoops, joomla, wordpress etc etc και το παίζω web developer.
Πάντα προτιμούσα να φτιάχνω τα δικά μου. Λόγω έλλειψης χρόνου όμως, οφείλω να ομολογήσω οτι βολεύουν. Έτσι κατέληξα με το wordpress για το γρήγορο στήσιμο 2 blogs που απλά θέλω να παίζουν.
[Άσχετη εισαγωγή, ας προχωρήσω γρήγορα στην ουσία]
Βγήκε νέα έκδοση του WordPress που λύνει 2 vulnerabilities και "οδηγεί" στην έκδοση 2.6.3.
Ουσιαστικά πρόκειται για 2 μόνο αρχεία, τα:
τα οποία μπορείτε να εγκαταστήσετε μόνοι σας, χωρίς να κατεβάσετε ολόκληρο το wordpress.
Λεπτομέριες εδώ: http://wordpress.org/development/2008/10/wordpress-263/
Πάντα προτιμούσα να φτιάχνω τα δικά μου. Λόγω έλλειψης χρόνου όμως, οφείλω να ομολογήσω οτι βολεύουν. Έτσι κατέληξα με το wordpress για το γρήγορο στήσιμο 2 blogs που απλά θέλω να παίζουν.
[Άσχετη εισαγωγή, ας προχωρήσω γρήγορα στην ουσία]
Βγήκε νέα έκδοση του WordPress που λύνει 2 vulnerabilities και "οδηγεί" στην έκδοση 2.6.3.
Ουσιαστικά πρόκειται για 2 μόνο αρχεία, τα:
τα οποία μπορείτε να εγκαταστήσετε μόνοι σας, χωρίς να κατεβάσετε ολόκληρο το wordpress.
Λεπτομέριες εδώ: http://wordpress.org/development/2008/10/wordpress-263/
Πέμπτη 23 Οκτωβρίου 2008
Linux Locking your screen with xtrlock

I have found the best program for locking your screen.
Install it with aptitude install xtrlock.
When you want to lock your screen just type xtrlock. you will be able to view the screen, move the mouse, but you will not be able to click or type anything.
To unlock the computer you just have to enter your password and press enter.
There are a lot of progs for doing this, but the cool thing I love the most about xtrlock, is that I am able to lock the screen through ssh :)
KDE 4 on Debian Lenny/Testing
If you want to install KDE 4 on Debian Lenny/Testing, go to http://kde4.debian.net/ and follow the simple instructions.
1. Add to your /etc/apt/sources.list file the following line:
deb http://kde4.debian.net/ lenny main
If you keep this line, packages will be updated every time there is a new release backported.
2. Run aptitude update
3. Install either:
- Minimal KDE 4 (kde4libs, kdepimlibs, kdebase-runtime, kdebase-workspace and kdebase) with
aptitude install kde4-minimal
then you can install just the KDE-modules you want - or full KDE 4 with
aptitude install kde4
Παρασκευή 17 Οκτωβρίου 2008
Download Debian Testing
Εαν θέλετε να κατεβάσετε απευθείας testing με snapshot τον πακέτων της τρέχουσας εβδομάδας (συνήθως δευτέρας) δείτε εδώ: http://www.debian.org/devel/debian-installer/
Κατέβασε τα dvd εδώ: http://cdimage.debian.org/cdimage/weekly-builds/i386/iso-dvd/
Κατέβασε τα cd εδώ: http://cdimage.debian.org/cdimage/weekly-builds/i386/iso-cd/
Εαν πάτε στην έκδοση του cd υπάρχουν 3 ενδιαφέρουσες επιλογές:
Η κανονική έκδοση με gnome, και ακόμα δυο, η μία με kde και η άλλη με xfce.
Σημειώνω οτι δεν χρειάζεται να κατεβάσετε όλα τα cd ή όλα τα dvd, αλλά αρκεί το πρώτο και τα υπόλοιπα πακέτα θα τα εγκαταστήθούν απο το internet.
Εγώ χρησιμοποιώ συνήθως τις εκδόσεις σε cd με το kde και το xfce μιας και το gnome δεν μου πολυταιριάζει...
Τετάρτη 15 Οκτωβρίου 2008
Fedora Hack Fest
Δευτέρα 13 Οκτωβρίου 2008
Linux Bluetooth tutorial
First of all, disconnect your usb bluetooth device from the usb port.
Run:
sudo tail -f /var/log/messages
and connect the usb device.You must see something like this:
kernel: usb 2-1: new full speed USB device using uhci_hcd and address 2
kernel: usb 2-1: configuration #1 chosen from 1 choice
kernel: Bluetooth: Core ver 2.11
kernel: NET: Registered protocol family 31
kernel: Bluetooth: HCI device and connection manager initialized
kernel: Bluetooth: HCI socket layer initialized
kernel: Bluetooth: HCI USB driver ver 2.9
kernel: usbcore: registered new interface driver hci_usb
kernel: Bluetooth: L2CAP ver 2.9
kernel: Bluetooth: L2CAP socket layer initialized
kernel: Bluetooth: RFCOMM socket layer initialized
kernel: Bluetooth: RFCOMM TTY layer initialized
kernel: Bluetooth: RFCOMM ver 1.8
That means that the kernel recognized your bluetooth usb device.
Now that you are ready to start, you have to install some programs to manage your bluetooth.
Run:
sudo aptitude install kdebluetooth
This will install a number of programs including:
kbluetooth - a bluetooth server for recieving files
kbtobexclient - a tool for sending files (OBEX)
kbluelock - a tool that locks the pc when a paired bluetooth device is not reachable
kbluemon - a tool for scanning devices and their services
In most cases, the bluetooth device is automatically recognized, but most of the users does not know the necessary programs to manage the bluetooth.
If your device is not automatically recognized, then search google for a kernel module (drivers)
Εγγραφή σε:
Αναρτήσεις (Atom)


