;; ========== Enable Line and Column Numbering ==========
;;load elisp files
(setq load-path (nconc '( "/usr/share/emacs/site-lisp/csharp" ) load-path ))
;; Show line-number in the mode line
(line-number-mode 1)
;; ========= Set colours ==========
;; Set cursor and mouse-pointer colours
(set-cursor-color "red")
(set-mouse-color "goldenrod")
;; Set region background colour
(set-face-background 'region "green")
;; Set emacs background colour
(set-background-color "black")
(set-foreground-color "white")
;; Show buffer name
(setq frame-title-format " %b ")
;; set up the compiling options
(setq compile-command "make %b"
compilation-ask-about-save nil
compilation-window-height 8 )
(global-set-key [f7] 'compile)
;; use F5 key to go to a man page
(global-set-key [f5] 'man)
;; use F6 key to kill current buffer
(global-set-key [f6] 'kill-this-buffer)
;;copy, cut, paste
(global-set-key [(shift delete)] 'clipboard-kill-region)
(global-set-key [(control insert)] 'clipboard-kill-ring-save)
(global-set-key [(shift insert)] 'clipboard-yank)
;;define y and n
(defalias 'yes-or-no-p 'y-or-n-p)
;;replace highlited
(delete-selection-mode t)
;;no new lines when scrolling
(setq next-line-add-newlines nil)
;;Scroll with mouse click on the scrollbar
(global-set-key [vertical-scroll-bar down-mouse-1] 'scroll-bar-drag)
;;General scrolling rules with scroll button on mouse
;; setup scroll mouse settings
(defun up-slightly () (interactive) (scroll-up 5))
(defun down-slightly () (interactive) (scroll-down 5))
(global-set-key [mouse-4] 'down-slightly)
(global-set-key [mouse-5] 'up-slightly)
(defun up-one () (interactive) (scroll-up 1))
(defun down-one () (interactive) (scroll-down 1))
(global-set-key [S-mouse-4] 'down-one)
(global-set-key [S-mouse-5] 'up-one)
(defun up-a-lot () (interactive) (scroll-up))
(defun down-a-lot () (interactive) (scroll-down))
(global-set-key [C-mouse-4] 'down-a-lot)
(global-set-key [C-mouse-5] 'up-a-lot)
;;Set frame size to fullscreen
(set-frame-height (selected-frame) 140)
(set-frame-width (selected-frame) 220)
;;disable welcome screen
(setq inhibit-splash-screen t)
New .emacs file, with help from dotemacs.com
20 04 2009Comments : Leave a Comment »
Categories : Uncategorized
[DONE]Yogupie kernel patch
30 06 2008I did it. After a long night I have finished the first edittion of the yogupie linux kernel patch for sabayon linux. It’s actually a diff of my kernel and the vanilla, so it works on vanilla kernel, 2.6.*. It is pretty good for sabayon/gentoo users, because it contains the official sabayon kernel changes, and some of my own, for better and more stable performance. Still monolithic though! 😦
code.google.co/yogupie
Comments : 1 Comment »
Categories : Uncategorized
King Of Swords, it’s addictive!
4 04 2007Today while I was surfing the net, I found an awsome site called:
kingofswords
Which sells weapons from your favorite movies, video games, anime etc.
I also found this:
If you want to blur my judgment, comment please.
Comments : Leave a Comment »
Tags: fantasy, final, king, of, swords, VII
Categories : Uncategorized
The best OS survey 2007
3 02 2007Here are the results for the OS survey. I want to thank everyone for participating, and of course, voting for linux! Long live the TUX!
Redhat based linux:27%
Debian based linux:20%
Unix:27%
BSD distributions:13%
Windows:4%
Solaris:3%
BeOS:1%
Other:5%
Comments : Leave a Comment »
Tags: linux, OS, survey, tux
Categories : Uncategorized
Κατι από την καινή διαθήκη… Για να μη ξεχνιούνται οι αμαρτωλοί!
2 01 2007“Και έχων εν τη δεξιά χειρί αυτού
αστέρας επτά, και εκ του στόματος
αυτού ρομφαία δίστομος οξεία
εκπορευόμενη, και η όψις αυτού ως
ήλιος φαίνει εν τη δυνάμει αυτού
Και ότε είδον αυτόν ,έπεσα προς
τους πόδας αυτού ως νεκρός: και έθηκεν
την δεξιά αυτού επ εμέ λέγων μη φοβού:
Εγώ ειμί ο πρώτος και ο έσχατος.”
“Αποκάλυψη”-Ιωάννης
Comments : Leave a Comment »
Tags: Add new tag
Categories : Uncategorized
Γαμώ τη γκαντεμία μου, θέλω ταυτότητα!
16 12 2006Όπως όλοι ξέρουν είμαι έλληνας, γι’αυτό και γράφω ελληνικά. Για πρώτη και τελευταία φορά απαρνιέμαι τα αγαπημένα greekliz και καταφεύγω στην Νεοελληνική ημών δημοτική γλώσσα.
Γιατί το κάνω αυτό; Είναι ένας φόρος τιμής στους σκληρά εργαζόμενους δημόσιους υπαλλήλους(end_of_sarcasm). Μετά από τα πολλά μου χρόνια στην Ελλάδα πρώτη φορά έρχομαι αντιμέτωπος με τις δημόσιες υπηρεσίες, λόγω έλλειψης ταυτότητας!
Αφού λοιπόν ξύπνησα χαρωπά στις 7:00 am (end_of_sarcasm /*again!*/) κατευθήνθηκα στο αστυνομικό τμήμα,επίσης χαρωπά. Μετά από τις 2:30 ώρες που περίμενα τα πράγματα
άρχιζαν να θυμίζουν τη σκηνή από τη γνωστή ταινία “Ο σχιζοφρενής δολοφόνος με το αλυσοπρίονο”, όταν ο πρωταγωνιστής είναι έτοιμος να αρπάξει το όπλο του εγκλήματος.
Πριν λοιπόν προβώ στο επονεοημένο διάβημα(δεν είμαι σιγουρος για την ορθογραφία μου)
με φώναξαν για να μου πουν ότι περίμενα σε λάθος αστυνομικό τμήμα! Μετά από μία ενδιαφέρουσα συνομιλία σε τούρκικη διάλεκτο(πχ βλ*κες, *ει στο δι*ολο κλπ)
έφυγα με ψηλά το κεφάλι ,αλλά παρολίγων να έμενα στο αυτόφορο.
Την επόμενη βδομάδα επαναλήφθηκαν όλα τα προηγούμενα(7:00 am, στήσιμο, τούρκικα)
σε άλλο αστυνομικό τμήμα αλλά ευτυχώς κατάφερα να πάρω ταυτότητα! Αν θέλετε να το επιχειρίσετε και εσείς, προτείνω να συμβουλευτείτε τον εκάστοτε αστρολόγο, μελλοντολό σας και να μου στείλετε e-mail. Θα γλιτώσετε απο ΠΟΛΥ κόπο!
Comments : Leave a Comment »
Categories : Uncategorized
Just got used to C, farewell Pascal!
16 12 2006Hello world! I am glad that after A LOT OF TIME I think that I am able to program in C!
As you all know, I am in love with pascal. But C prooved to be even better! I can create graphs ,linked lists, trees, arrays, maps EASY! I can even sort an array using
the sort(); command. I love C and I also love STL(standard template library). Now, I can make interesting programs with C and earn some minutes for MORE programming!
After all pascal is gay, like every French guy(I’m kidding, the british people are even worst!).
Comments : Leave a Comment »
Categories : Uncategorized
Particle Illusion video effects, free!
23 11 2006This video was created using particle illusion, a nice program for video effects.
Really easy, it didnt take more than 15min. Try it!
Comments : 5 Comments »
Categories : Uncategorized