Evaggelos Balaskas - System Engineer

The sky above the port was the color of television, tuned to a dead channel

Blog
Posts
Wiki
About
Contact
rss.png twitter linkedin github gitlab profile for ebal on Stack Exchange

Next Page »
  -  
« Previous Page
Aug
12
2013
pancakes
Posted by ebal at 19:31:32 in blog

Η παρακάτω συνταγή είναι δικιά μου έμπνευση και θέλω να την μοιραστώ μαζί σας.
Η νομική άδεια χρήσης είναι η εξής: Gnu FDL v1.3

(βασική συνταγή τηγανίτες - εγώ τις κάνω λίγο πιο γλυκές και δεν τις τηγανίζω)

  • Γεύση: 4,5 αστεράκια με άριστα το 5
  • Ευκολία: 1 αστεράκι με άριστα το 5
  • Χρόνος: 10 λεπτάκια (πάνω/κάτω)

Τα υλικά είναι αυτά που χρησιμοποίησα, εάν θέλεις να μάθεις, θα πρέπει να διαβάσεις την συνταγή.
Όποια λέξη είναι με κεφαλαία, δίνουμε λίγο παραπάνω ΠΡΟΣΟΧΗ

  • Ξεκινάμε με μια γεμάτη κούπα του τσάι/καφέ λευκό αλεύρι για όλες τις χρήσεις.
  • Ρίχνουμε την κούπα μέσα σε ένα ευρύχωρο μπολ.
  • Εγώ, για να μην κάνω ζημιά, βάζω την κούπα πρώτα μέσα στο μπολ και μετά ρίχνω το αλεύρι από το σακουλάκι μέσα στην κούπα και μετά αδειάζω την κούπα στο μπολ.
  • Κάνουμε μια τρύπα στην μέση και ρίχνουμε ένα αυγό - ολόκληρο (όχι από κότα αλανιάρα).
  • Μια κουταλιά της σούπας (όχι γεμάτη) baking powder
  • Μια βανίλια (προσοχή εδώ, όχι την βανίλια το υποβρύχιο, μια πρέζα βανίλια σκόνη)
  • Ένα κουταλάκι του γλυκού αλάτι (ας είναι γεμάτο)
  • ΔΕΝ ανακατεύουμε ακόμα
  • Χρειαζόμαστε μισή κούπα του τσάι/καφέ ζαχαρούχο γάλα (συμπυκνωμένο) στο οποίο συμπληρώνουμε νεράκι μέχρι να γίνει τελικά γάλα
  • Καλό θα είναι - όλα τα υλικά μας, να είναι στην ίδια θερμοκρασία πριν ξεκινήσουμε να ανακατεύουμε.
  • Ρίχνουμε το γάλα σιγά, σιγά στο μείγμα μας κι αρχίζουμε να ανακατεύουμε κανονικά.
  • ΔΕΝ ρίχνουμε όλο το γάλα μονιμιάς - δεν σταματάμε ποτέ να ανακατεύουμε.
  • Εάν χρειάζεται νεράκι, προσθέτουμε νεράκι. Ακόμα κι εάν έχουμε ρίξει όλο το γάλα. Ιδανικά όμως, θα έπρεπε να έχουμε ρίξει τόσο νεράκι στο ζαχαρούχο, ώστε από πριν να έχει γίνει γάλα.
  • Ανακατεύουμε ρίχνοντας το γάλα, μέχρι να γίνει ένα πολύ ωραίο μείγμα που θα κυλάει από το κουτάλι μας, αλλά δεν θα χύνετε.
  • Εάν έχουμε ρίξει πολύ γάλα/νερό, προσθέτουμε αλεύρι. Δεν παίζει άγχος.
  • Θέλουμε να έχουμε ένα ενοποιημένο μείγμα. Όχι πολύ ρευστό, όχι πολύ χλιαρό. Περίπου όπως πέφτει το μέλι από το δοχείο, λίγο πιο πυκνό, αλλά να ρέει άνετα.
  • Δεν σταματάμε να ανακατεύουμε μέχρι να φτάσουμε στο επιθυμητό αποτέλεσμα.
  • Εγώ θέλω να ανακατεύω με κουτάλι της σούπας. Είναι ναι μεν λίγο πιο κουραστικό από το μίξερ, αλλά θα γίνει πολύ καλύτερο το μείγμα μας.
  • Παίρνουμε το μεγάλο μας τηγάνι - αντικολλητικών όπως και δήποτε - δεν σηκώνω κουβέντα.
  • Όχι στην πιο δυνατή φωτιά, λίγο παραπάνω από την μέση. Εάν το μάτι της κουζίνας έχει 6, στο 4.
  • Ρίχνουμε μια γενναία δόση από το μείγμα στην μία άκρη του τηγανιού μας.
  • Με το κουτάλι μας, προσπαθούμε (όχι πολύ) να πλατιάσουμε την δόση στο τηγάνι.
  • Λογικά πρέπει να χωρέσουμε 4ς pancakes στο ίδιο μεγάλο τηγάνι, οπότε με το αετίσιο μάτι μας, υπολογίζουμε ανάλογα.
  • Δεν τις αναποδογυρίζουμε συνέχεια, μια φορά αρκεί.
  • Όταν βγάζουν φυσαλίδες (όχι στην 1η, αλλα ούτε και στην τελευταία) τις αναποδογυρίζουμε.
  • Το κάνουμε είτε με το χεράκι μας (εάν είμαστε άντρες) ή με την σπάτουλα μας.
  • Ο βλάκας που θα προσπαθήσει να τις γυρίσει και τις 4ς με το τηγάνι στο αέρα, ας βγάλει μετά μια φωτογραφία να μας την στείλει.
  • ΔΕΝ περιμένουμε να καούν.
  • Να πάρουν ένα ωραίο πορτοκολοροδοκόκινο χρωματάκι θέλουμε.
  • Βγάζουμε τις πρώτες έξω, βάζουμε τις επόμενες μέσα, με το κουτάλι μας.
  • ΔΕΝ βιαζόμαστε, ΔΕΝ ανεβάζουμε το μάτι της κουζίνας, ΔΕΝ ρίχνουμε πολύ μείγμα.
  • Να θυμάσαι, όπως ακριβώς και στις σχέσεις, μέχρι 4ς είναι καλά.
  • Εάν είναι 3ς ή μία τεράστια δεν θα βγει ωραία (το έχω δοκιμάσει).
  • Εάν το μείγμα μας είναι τέλειο, οι pancakes μας θα βγουν αφράτες.
  • Τις αφήνουμε για λιγάκι να κρυώσουν, ρίχνουμε μέλι από πάνω ή κανέλα ή σαντιγή ή σιρόπι καραμέλας ή μερέντα.
  • ΠΡΟΣΟΧΗ είναι ήδη γλυκιές από το ζαχαρούχο ΔΕΝ ρίχνουμε παραπάνω από ένα υλικό για γαρνιτούρα.
  • Εάν θες να φας μερέντα κουκλίτσα μου, άνοιξε το βαζάκι και φάε όσο θέλεις. Οι pancakes μου δεν είναι για σένα, λιγάκι μπορείς να ρίξεις.
  • Εάν έχουμε αμύγδαλο καβουρδισμένο, ρίχνουμε λίγο από αυτά (σιγά μην έχεις!), αλλιώς και λίγο καρύδι τριμμένο ταιριάζει πολύ όμορφα.
  • Οι pancakes είναι αφράτες, το σιρόπι ή το μέλι, θα το ρουφήξουν όλο (ειδικά εάν είναι ζεστές) ΔΕΝ κάνουμε υπερβολές.

Επειδή οι δικές μου ήταν τέλειες, πάρε μια φωτογραφία από αυτές που έμειναν.

pancakes.jpg

κάνε κλικ για να τις δεις μια μεγάλη φωτογραφία

Tag(s): pancakes
    Tag: pancakes
Aug
10
2013
bind: dump named db and split it into zone files
Posted by ebal at 00:08:10 in blog, planet_ellak, planet_Sysadmin

bind has a nice command to dump all the records (cache, views and zones) of a bind dns server to a single file.


> rndc --help

  dumpdb [-all|-cache|-zones] [view ...]
                Dump cache(s) to the dump file (named_dump.db).

Our named_dump.db file has 3.5m lines.

I was looking for a simple way to parse this entire formatted file and split the content of the zones to bind formatted zone files (for another project). So i was looking to implement the exactly opposite from: rndc dump --zones

i came with this:


grep 'IN' named_dump.db | awk -F[\'\/] '/Zone dump of/ {out=$2;}{print > out;}'

PS: The reason i am doing that, is that we dont have the 41435 zones to strict formatted bind zone files.
Some of them have “A” against “IN A”, some of them dont have TTL on RR (so the master TTL is in place), some of them use ‘@’ for origin etc etc etc. This is acceptable from bind, not really hard to parse when you are programming a custom provisioning mechanism.

Tag(s): bind, awk
    Tag: bind, awk
Aug
05
2013
how to change the url search on firefox
Posted by ebal at 19:41:44 in blog

firefox_search_url.png

Tag(s): firefox
    Tag: firefox
Jun
26
2013
firefox addons
Posted by ebal at 09:03:21 in blog

I am using mostly these addons for privacy

  • https-everywhere
  • disconnect
  • uBlock Origin
  • NoScript

[updated 20180201]

Tag(s): firefox
    Tag: firefox
Apr
24
2013
Hackerspace.gr
Posted by ebal at 08:22:25 in blog, planet_Sysadmin

Hackerspace.gr [HSGR] is a physical space dedicated to creative code and hardware hacking, in Athens.

Location: Athens, Greece
320 events the last couple years

This is some of what we have accomplished

HSGR

take a look

Apr
22
2013
greek lawyer
Posted by ebal at 13:11:07 in blog

το αίτημα θα πρέπει να υποβληθεί εγγράφως μέσω φαξ … τα οποία θα φέρουν: α) Σφραγίδα της εταιρείας και Υπογραφή του νομίμου εκπροσώπου της, θεωρημένης ως προς το γνήσιό της β) το πλέον πρόσφατο ΦΕΚ από το οποίο αποδεικνύεται ποιος εκπροσωπεί νόμιμα την εταιρία.

Εάν είσαι δικηγόρος και διαβάζεις αυτό το blog post, θα ήθελα την βοήθεια σου - για να μην σκίσω το δικό μου πτυχίο:

ΠΩΣ - ΠΩΣ μπορεί κάποιος - μέσω ΦΑΞ - να αποδείξει το γνήσιο της υπογραφής/σφαγίδας και πρόσφατο ΦΕΚ ότι εκπροσωπεί νόμιμα την εταιρεία ?

Apr
16
2013
lpi greece
Posted by ebal at 08:22:47 in blog

GR this blog post is written only in greek.

Τι συμβαίνει με το LPI στην Ελλάδα?

Μέρος Α.

Είμαι ενάντια στο LPI ως τρόπο εξέτασης.
Paper test για μια linux πιστοποίηση ?
Και μάλιστα τα περισσότερα να είναι mnemonics ?

Δεν θα ξεχάσω ποτέ την 1η (και τελευταία ερώτηση) που είδα για LPI:

Ποια είναι η παράμετρος του man κατά αντιστοιχία της apropos.

ευκολάκι - δεν λέω, αλλά να γράψω σε χαρτί την απάντηση - διαλέγοντας στην τύχη ένα από τα πέντε,
ενώ θα πρέπει να θυμάμαι απέξω όλα τα man parameters?

  • Γελοίο, σωστά ?

Αλλά αυτή είναι η δική μου - εντελώς προσωπική - γνώμη.

Μέρος Β.

Το βιβλίο που καλύπτει την ύλη είναι αρκετά καλό για κάποιο που θέλει να ξεκινήσει.
Μα κι εδώ υπάρχουν αρκετά depreciated things, όπως πως να σετάρεις το Xorg και πως να ρυθμίσεις το cups.
Κι επειδή δεν πρόκειται να βρείτε linux server με Xorg & cups, θεωρώ ότι είναι γελοίο επίσης να υπάρχουν (φήμες λένε ότι έχουν αντικατασταθεί) αυτά τα κεφάλαια.

Εσύ τώρα που γκρινιάζεις με αυτά που γράφω: εάν είναι να πάρεις ένα πτυχίο για να μην το χρησιμοποιήσεις επαγγελματικά και χρειάζεται να μάθεις Xorg & cups τότε μάλλον παίρνεις την πιστοποίηση για λάθος δουλειά.

Εγώ πάντως τα τελευταία 11 χρόνια που εργάζομαι επαγγελματικά ως sysadmin, δεν έχω βρει ούτε ένα (έστω για δείγμα) linux server με Xorg & cups.

Το LPI χωρίζεται σε 3 πτυχία, χωρισμένα το καθένα σε ενότητες.
Για να πάρεις το LPI-1 (1ο πτυχίο) πρέπει να δώσεις δύο ενότητες: 101 - 102

Δεν θα αναλύσω τα πτυχία και τις ενότητες άλλο.

Στο lpi gr τα γράφουν αρκετά αναλυτικά.

Μέρος Γ.

Που θέλω να σταθώ: Στα χρήματα

Σύμφωνα με το “διεθνή” site κοστίζει περίπου 136€ το exam για το LPI1 (δύο εξετάσεις/δυο ενότητες).
Στοιχεία από το επίσημο site άρα με 270€ έχεις αποκτήσει το LPI-1

και στην fosdem [b]έχει περίπου 50% έκπτωση,
οπότε κοστίζει 90€ (δλδ 180€ το πτυχίο) δλδ 66% της αρχικής τιμής, άρα 33% έκπτωση!!

Τώρα στην Ελλάδα, τα πράγματα είναι λίγο περίεργα.

Στο faq - Ποιο είναι το κόστος της πιστοποίησης
τα πράγματα είναι μακριά από ξεκάθαρα.

Το παραθέτω copy/paste as-is σήμερα 16-04-2013

Το κόστος της πιστοποίησης ποικίλλει ανάλογα με τον τρόπο εξέτασης του υποψηφίου. Ο Master Affiliate κατα καιρούς διοργανώνει τα καθιερωμένα εξεταστικά events του LPI, τα Exam Labs, στα οποία το κόστος πιστοποίησης για τις εξετάσεις όλων των βαθμίδων είναι €80 με εξαίρεση την εξέταση 301 η οποία κοστίζει €100.

Τα εξεταστικά αυτά events πραγματοποιούνται πάντοτε γραπτά σε Paper Based Tests (PBTs). Η κανονική τιμή της αγοράς για το κόστος εξέτασης στην πιστοποίηση όλων των βαθμίδων είναι €145 με εξαίρεση την εξέταση 301 η οποία κοστίζει €225. Οι τιμές αυτές είναι αυτές που ισχύουν σε αρκετά εξεταστικά κέντρα Pearson Vue / Prometric με εξαίρεση τα εξεταστικά κέντρα που αποτελούν Pearson Vue Academic Partner και τα οποία παραδίδουν μόνο τις εξετάσεις των δυο πρώτων επιπέδων LPIC-1 και LPIC-2 στην τιμή των €95.

ας ξεκινήσουμε την αποκρυπτογράφηση:

  • το κόστος ποικίλει ανάλογα με τον τρόπο

    Κι ακριβώς από κάτω: “Τα εξεταστικά events είναι πάντα Paper Based Tests”
    άρα πως ποικίλουν ?

  • 80€ η εξέταση ανά βαθμίδα, κι ακριβώς από κάτω:
    “Η κανονική τιμή της αγοράς … είναι €145 ”

  • 301 κοστίζει €100 κι ακριβώς από κάτω:
    “εξέταση 301 η οποία κοστίζει €225.”

λίγο πιο κάτω αναφέρει: “Pearson Vue Academic Partner … LPIC-1 και LPIC-2 στην τιμή των €95”
Από την στιγμή που γίνεται αναφορά στο πτυχίο κι όχι στην ενότητα, είναι σαφές ότι είναι 95€ το κάθε πτυχίο.

Σύμφωνα με τα οικονομικά που κάναμε παραπάνω - δεν είναι λογικό.

Σταματώ σε αυτό το σημείο με το lpi gr, γιατί είναι προφανές σε όλους ότι:
είτε δεν ξερω να διαβάζω ελληνικά - είτε δεν μπορώ να καταλάβω τι συμβαίνει.

οκ, μου λείπουν πληροφορίες.

Θεωρώ όμως ότι δεν έχουν κάνει σωστή δουλειά, γιατί εάν εγώ δεν το καταλαβαίνω - τότε ίσως δυσκολεύονται κι άλλοι σαν κι εμένα.

αυτό που καταλαβαίνω είναι ότι για LPI-1 θέλω τουλάχιστον 180€

Μέρος Δ.

Πάμε λίγο στην ερχόμενη fosscomm

Αναλυτικά για το LPI μπορείτε να βρείτε εδώ: lpi fosscomm

Κόστος: €90 / ενότητα - διαγώνισμα, εκτός της ενότητας
Η προσφερόμενη τιμή είναι εκπτωτική (έκπτωση 50%)
Η κανονική τιμή ενός Paper Based Test είναι €149

πάμε ξανά με τα μαθηματικά:

150€ - 50% = 75€

άρα λοιπόν αφού 150€ είναι η κάθε ενότητα και θέλεις δύο ενότητες, θα πληρώσεις 300€
εκτός εάν το κάνεις στην fosscom που είναι τα μισά ακριβώς δλδ 150ευρώ - όχιιιιιιιιιιιιιιιιιιι
είναι 180ευρώ

Εγώ θεωρώ τίμιο (και θα είχα θετική προπαγάνδα) εάν στην fosscomm ήταν το 50% της τιμής που αναφέρει το διεθνή site:

136€ - 50% = 68€

η ενότητα.

136€ (έστω 140€) είναι αρκετά τίμια για την εποχή που ζούμε - με τέτοιο κόστος ζωής και τόσους ανέργους.

70€ η ενότητα θα ήταν κάπως τίμιο - για να βοηθήσει το lpi gr τους linux-άδες να πάρουν μια πιστοποίηση, όπως το LPI.

- Θα ρωτήσεις, τα 40€ κάνουν την διαφορά ?
και θα σου απαντήσω πως στις μέρες ΝΑΙ
δείχνουν ότι δεν πας “για τα λεφτά”, αλλά για να τιμήσεις το 50% που αναφέρεις και διαφημίζεις,
απέναντι σε ένα συνέδριο φοιτητών.

Μέρος Ε - τελευταίο

Συμπέρασμα, το δικό μου συμπέρασμα.

  • Το LPI είναι μια paper - mnemonic εξέταση
  • Η τιμολογιακή πολιτική, είναι υπερβολικά μπερδεμένη
  • Δεν υπάρχει 50% έκπτωση - είναι απλά προπαγάνδα μιας εταιρείας

Εάν θες να δώσεις μια πιστοποίηση, κάντο.

Αλλά να ξέρεις ότι όταν χρειαστεί να βρεις δουλειά,
ο επαγγελματίας θα σε βάλει μπροστά από μια (εικονική ίσως) μηχανή και θα σου πει:
Δεν δουλεύει - φτιάξτο.

ΥΓ #0: Τα comments είναι ανοιχτά - υπάρχει λογοκρισία. Δέχομαι να διορθώσω κάποια κομμάτια του blog post, εάν καταφέρει κάποιος (ευγενικά) να με πείσει. Σας ευχαριστώ.

ΥΓ #1: Γίνεται αναφορά στα σχόλια ότι τα “€90 είναι η χαμηλότερη τιμή ανα ενότητα που μπορεί να γίνει” by @boukouvalas

Tag(s): LPI, fosscomm, fosdem
    Tag: LPI, fosscomm, fosdem
  • 4 comments
Apr
12
2013
PocketMod Template
Posted by ebal at 10:13:56 in blog

You can find my gimp template here:

pocketmod gimp template

it looks like that:

pocketmod.jpg

Tag(s): pocketmod
    Tag: pocketmod
Apr
11
2013
Why i chose archlinux as my primary desktop distro
Posted by ebal at 21:12:24 in blog, archlinux, planet_Sysadmin

Why i chose archlinux as my primary desktop distro.

a non techinal approach

I am using linux for personal and work related use, from 2002 on a daily bases. I work as a unix system engineer, so i think of my self as an intermetiate user and not a newbie. Not at least on the majority of linux things, cause things are changing too fast and we must adopt to the new world. In this blog post, i will not write down my linux history but i believed that a prolog should be in place, so everybody (me and you) have the same context.

I am using archlinux from May 2009 so its almost four years now. You could say that i got around archlinux as a mistake (i was using ubuntu at that time and a space character after “rm -rf /usr /local/src/something” made me remove my /usr folder) but the test i’ve made (installing archlinux) that evening changed my life.

Why i chose archlinux ?

at that point, I had three options:
a. fedora
b. archlinux
c. freebsb

I had used fedora before 2009 and i wasnt impressed. At that time ubuntu was the only true choice for someone like me. So the next step was installing archlinux or freebsd. I chose archlinux cause it is a Linux distro and not unix.

So i took a risk.

What i did know about archlinux at that time:

  • archlinux was a binary distro
  • archlinux didnt have any configuration/automate tool
  • didnt have a nice installer but only a text based menu
  • archlinux had the best wiki i’ve ever seen
  • archlinux had a large active forum
  • archlinux had an impressive amount of packages at the default repositories
  • archlinux had an EVEN impressive amount of packages at AUR
  • archlinux had a simple text file for reconfigure a package (PKGBUILD)
  • all of the archlinux packages was as close as the upstream had just uploaded !

i didnt know much about archlinux and all of that obvious things i’ve learned them in a just a few days.

From the first day - i wanted to contribute somehow to that amazing distro.
So the first gallery of archlinux installation had been published at the next couple hours

http://balaskas.gr/ArchLinux/

What i learned in the next couple days.

  • archlinux has a simply to use/configure package manager, called by archers as pacman ! neet
  • archlinux DOESNOT setup Xorg !
  • archlinux doesnt have any configure/automate tool

wait a minute - i knew that already, but there is NONE

if you want to setup your network - you must know how to do it.
You need to read manual pages for breakfast and do it all my hand.
There isnt any tool to setup nothing.
Audio ? you must put your self in the right group and you have to read the wiki.
You have to learn.

And it was perfect for me. I’ve learned so much just by using it and i am still learning.

Any big changes ?

Yes there are some things i didnt like and the main problem is the attitube of arch devs. They are intelligent people and document everything but they make hard decisions that none of the arches around the globe appriciate - at least at the current momment.

I mean, remove tcp wrappers cause the last version was ten years ago ?
stupid, right ?

  • Change your /lib to /usr/lib
  • Convert your init to systemd
  • Remove the text base menu installer !!!
    (still pretty angy about that)
  • grub2 as a default boot loader the same day that gnu released an annouchment that grub is legacy!

and some other things that people dont get along.

There was a time that updating your linux kernel meant you had no system after that!

So what about know ?

what i know now about archlinux

  • archlinux is a binary distro
  • archlinux dont have any configuration/automate tool
  • archlinux has the best wiki i’ve ever seen
  • archlinux has a large active forum
  • archlinux has an impressive amount of packages at the default repositories
  • archlinux has an EVEN impressive amount of packages at AUR
  • archlinux has a text simple file for reconfigure a package (PKGBUILD)
  • all of the archlinux packages are as close as the upstream upload them !

so … this is the most stable linux distro i have ever use !

The feeling of understing and knowing your linux distro is underappriciate to every other linux distro user cause you need to learn linux.

What about pacman ?

Till archlinux, i had the feeling that the package manager of a distro isnt that important.
You add packages, you remove packages and every now and then you upgrade packages.
Every six or nine or 12 months you have to dist-upgrade your distro version.

And then … there is pacman !

pacman is a strong package manager that uses simply text files that describes how to build a package.
PKGBUILD are easy read and easy to hack. So you can have your own packages in just a few minutes.

Archlinux is a rolling distro. You are always on the latest version.
Is it stable ?

I dont see how it shouldnt be!

Security updates are just a momment away, as the upstream upload a new version of their software
Non free code? non opensource codex ? doesnt matter. We just want to have a desktop awesome desktop distro.

I want to use vlc to play mp3 and divx - i care enough about opensource, but i also dont care enough to be an evangelist
or make my life difficult.

Yes the stable versions of the packages arent tested enough but lets face it,
is just how the opensource word works! You find a bug - you are yelling to the internet.
Perhaps you are the first one that had a problem with this new version of program.
So its for you to contribute.

Same policy as fedora project, or unstable debian.

Are there any cons ?

yes they are, its a bleeding age linux distro.
you have to ugprade at least every week your machine.
You need to read the news section first,
you need to read the wiki,
you need to read the manual pages.

So if all of that are cons, then thats it.

You system is broken ?
You can blame Alan for that.
Everybody else does that - why not you ?
There are actual times that he blames himself too.
So everybody happy - you have someone to blame.

Learn and adopt archlinux.
You need to time to adopt - i understand that.
But you need just one evening, then its all there - at the wiki.

GReek comminuty ?

yes and no

They (we ?) keep a low profile. None of the “major” players attrack attetion.
We (they ?) just use the archlinux forum/irc/wiki to interact with others.

There is a greek site - just to translate the news section (mostly).

So give it a spin - if you have a couple hours to spare - and start using,
perhaps the last linux distro you’ll ever use.

Tag(s): archlinux
    Tag: archlinux
  • 2 comments
Apr
08
2013
html5test
Posted by ebal at 07:49:15 in blog, planet_Sysadmin

tl;dr

click here: html5test

full blog post:

I use a lot of different web browsers on a daily bases for testing and viewing company’s web applications and of course for browsing through the internet.

I use firefox cause it’s just works - without a lot of tweeks and has a huge addon library.
I dont like chromium cause i need to work through a lot of different proxies and chromium doesnt have yet a FoxyProxy plugin (or i havent found one yet).

I like working with midori web browser cause is the most light WebKit engine browser and when firefox is giving me the pain, i immediately switch to midori (till i have to work with foxyproxy).

In most cases everybody have an another web browser that they use for time to time but isnt their default browser or doesnt work perfectly as they want, but they love it as if it was their own baby project. This is my feelings about vimprobable2. It’s an amazing project - amazing.

For my line of work, i couldnt bypass internet explorer (even if i wanted to - and i want to) so in the mix i will bring up IE too.

I wanted to test their html5 capabilities and these are my results:

html5test.png

So clearly chromium is the leader and firefox Nightly with it’s gecko engine just behind.
I also loved that vimprobable2 scored better that midori.

IE version 8.0.6001.1872 scored 42/500 !
Nightly is Firefox Nightly version as of this blog post writing time

Every project tested (except IE) was in its latest version.

So test your browser with: html5test

Tag(s): html5, firefox, chromium, midori, vimprobable2
    Tag: html5, firefox, chromium, midori, vimprobable2
Apr
03
2013
git hook post-commit
Posted by ebal at 22:49:54 in blog, planet_Sysadmin

Inside your project, there is a .git directory


> cd ~/awesome_project/

> cat .git/hooks/post-commit

git show -C | mail -s "git  commit at `hostname`"  myemail@example.com

simple !

Tag(s): git
    Tag: git
Apr
03
2013
emulate right mouse click
Posted by ebal at 09:24:48 in blog, planet_Sysadmin

Install needed packages:

sudo pacman -S xbindkeys xdotool

append (or create) your .xbindkeysrc with this


"xdotool click 3"
    Mod2 + Multi_key

and run xbindkeys

your right_click_keyboard.jpg is now a right click mouse emulator

Jan
31
2013
sparse a virtual machine disk
Posted by ebal at 23:38:19 in blog, planet_Sysadmin

I’ve made a test to find the best “compressed” solution for thin provisioning on virtual machines.

f18.qcow2 is a default minimal Fedora 18 installation.


$ qemu-img info f18.qcow2
image: f18.qcow2
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 1.1G
cluster_size: 65536

Below is the result, sorted by size


1170252 f18.qcow2
 746188 f18.qcow2.spars
 253552 f18.qcow2.spars.compressed
 236860 f18.qcow2.spars.compressed.lrz
 236076 f18.qcow2.spars.compressed.xz
 151028 f18.qcow2.xz
 146172 f18.qcow2.spars.xz
 141276 f18.qcow2.spars.lrz
 141048 f18.qcow2.lrz

It seems that Con Kolivas has made an extraordinary work with lrzip

And these are the commands i’ve run (sorted by the result of above output):

f18.qcow2 qemu-kvm f18.qcow2 -cdrom Fedora-18-x86_64-netinst.iso -cpu host -usbdevice tablet -m 2048
f18.qcow2.spars virt-sparsify f18.qcow2 f18.qcow2.spars
f18.qcow2.spars.compressed virt-sparsify - -compress f18.qcow2 f18.qcow2.spars.compressed
f18.qcow2.spars.compressed.lrz lrzip f18.qcow2.spars.compressed
f18.qcow2.spars.compressed.xz xz -k f18.qcow2.spars.compressed
f18.qcow2.xz xz -k f18.qcow2
f18.qcow2.spars.xz xz -k f18.qcow2.spars
f18.qcow2.spars.lrz lrzip f18.qcow2.spars
f18.qcow2.lrz lrzip f18.qcow2

My specs are:


$ grep 'model name' /proc/cpuinfo | head -1
model name : Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz

$ grep -c processor /proc/cpuinfo 
4

$ grep MemTotal /proc/meminfo 
MemTotal:        8038060 kB

Tag(s): virt-sparsify, lrzip, xz
    Tag: virt-sparsify, lrzip, xz
Jan
21
2013
report dd status via kill
Posted by ebal at 19:45:52 in blog, planet_Sysadmin

I am doing a rather large dd and its being a long time (over 30minutes) so far.

How can i find the status of dd ?

at hsgr someone is telling me: KILL KILL KILL

searching through dd manual page, i came up with:

Sending a USR1 signal to a running ‘dd’ process makes it print I/O statistics to standard error and then resume copying.

eg.

# kill -USR1 5579

on the dd terminal:

7626752+0 records in
7626752+0 records out
3904897024 bytes (3,9 GB) copied, 2442,27 s, 1,6 MB/s

for more info

man 7 signal
Tag(s): dd, kill
    Tag: dd, kill
  • 1 comment
Jan
14
2013
Use tags in Subject
Posted by ebal at 08:51:36 in blog, planet_Sysadmin

things that make me angry:

1. Empty Subject:

Its really annoying when people are not writing a subject in their emails.
I am sure that in hell exist a circle (dante’s inferno) only for that people.

2. Irrelevant Subject:

Its as annoying to write an irrelevant subject tittle as to not write at all.

eg.

Subject: Is internet down?
Body: i am having problem login into thunderbird, but google.com is opening just fine!

3. Body test in Subject:

Another annoying thing is when people are using subject title as the begin of their body:

Subject: Yesterday one of the servers
Body: crashed but i fix it

This isnt elegant - Be lazy on the right things

4. Large subject - aka write body text into subject:

no comment on that.

eg.
Subject: “Re: Fwd: Plz investigate the problem in communication between contact.center@example.com and customer.service@example.com accounts with the domain thisisnotanexample.com”

5. RE: & FWD:

aka mail chain spam

eg.
Subject: RE: FWD: FWD: FWD: RE: FWD: RE: hello kitty

i want to punch these people really hard

6. Urgent & SOS

eg.
Subject: URGENT THIS EMAIL IS URGENT - PLZ SOS
Body: I cant login into webmail

those types of email for unknown to me reason are always on my Trash!

emailcharter

There are a gazillion other things that can drive your coworkers to spit in your coffee, so read this:
emailcharter

Suggestion:

PLz Try using tags as subjects in your emails.

There are very useful in search and keep your recipients sane.

eg.
Subject: login problem with webmail
Body: I am opening google.com (so i know i have connectivity), but i cant login into webmail.
The msg error is: Wrong Credentials

And on that i would reply instantly with:

Subject: RE: login problem with webmail
Body: We are using the wrong password, try another.

and problem solved !

Tag(s): tags, subject, mail
    Tag: tags, subject, mail
Jan
09
2013
Are you reading this? You are a SPAMMER
Posted by ebal at 13:03:19 in blog

greek version ONLY

Ένας και μόνο έλεγχος για να διαπιστώσεις εάν ο λογαριασμός σου χρησιμοποιείτε από κάποιον άλλο για να στέλνει SPAM.

Το mail συνθηματικό σου είναι το ίδιο με το username ή 123456 ή [otenet|forthnet|hol|cyta][0-9]?

(πχ username: ebal123 & password ebal1234)

Τότε στέλνει κάποιος SPAM με τα στοιχεία σου.
Δεν έχει σημασία εάν δεν έχεις λάβει εσύ κάποιο από αυτό.

Έχω λάβει ήδη εγώ (postmaster)!

Σίγουρα κατά καιρούς, σου έχουν έρθει κάποια του στυλ: “Η αποστολή απέτυχε προς το huge_penis@example.com”
Εάν ακόμα δεν το κατάλαβες, αυτό δεν ήταν SPAM. Ήταν η απάντηση του spam email που έστειλαν με τα δικά σου credentials.

-Τι μπορείς να κάνεις;
Ευτυχώς που κάνεις αυτή την ερώτηση φίλε μου, άλλαξε το mail συνθηματικό σου σε κάτι με πολλούς χαρακτήρες.

πχ. ebal1234menoakomastospititismamasmou

Τόσο απλά.

Εάν διαβάζεις αυτό το άρθρο, σε παρακαλώ πολύ, άλλαξε το mail συνθηματικό σου τώρα.
Αλλιώς θα τα ξαναπούμε … όχι τόσο όμορφα.

-ebal

ΥΓ: Μάθε εδώ πως μπορείς να φτιάξεις ένα συνθηματικό

Tag(s): spam, mail passsword
    Tag: spam, mail passsword
Dec
22
2012
Using febootstrap in archlinux with local repo
Posted by ebal at 20:41:18 in blog, archlinux, planet_Sysadmin

The last few days i am working with febootstrap.
febootstrap is a tool to build a tiny linux appliance based on your system.

To build an appliance, febootstrap downloads every package it needs from the internet, using the defined repositories on your pacman.conf file.
If you want to test different packages or you have to build libguestfs, febootstrap will try to download again and again the packages from the internet.

The main reason is that it use a custom cachedir and root dir for fakeroot to take place and setup your new appliance.

I work-around that i posted a guide a few days back here. But that guide is telling you to edit your basic pacman.conf.

The developer of febootstrap, Richard WM Jones has a great amount of tolerance so i’ve bugged him enough to think about adding at febootstrap a command option for using your own pacman.conf file.

From today we (archers) can use febootstrap (from git at the moment - PKGBUILD is here) with our own custom pacman.conf file.

Below is a quick setup of using your own local/custom-repo/mirror with febootstrap without editing /etc/pacman.conf file.

If you have already downloaded or saved your packages to a custom location, you can bypass the first step.
The whole process doesnt need root privileges.

Step One:


$ mkdir -pv /tmp/cachedir
$ cp /var/cache/pacman/pkg/*pkg.tar.xz /tmp/cachedir/
$ repo-add /tmp/cachedir/local.db.tar.gz /tmp/cachedir/*

Step Two:


$ cp /etc/pacman.conf /tmp/
$ vim /tmp/pacman.conf 

comment out the exist repo sections: core - extra - community
add the below lines


[local]
SigLevel = Never
Server = file:///tmp/cachedir/

Step three :

test it !


$ febootstrap -o /tmp/ -v --names rsync --packager-config /tmp/pacman.conf
Tag(s): febootstrap
    Tag: febootstrap
Dec
20
2012
social media and do i care?
Posted by ebal at 10:21:06 in blog

greek post - random thoughts

Τον τελευταίο καιρό, όλο και περισσότερο διαβάζω για τα παράπονα και την γκρίνια των:

  • σε ποιον ανήκουν τα tweet μου,
  • σε ποιον οι φωτογραφίες μου,
  • σε ποιον το profile μου
  • σε ποιον τα προσωπικά μου δεδομένα

κι άλλα τέτοια.

Την “δημόσια” αρχή έκανε το facebook εδώ και μερικά χρόνια, αλλά ούτε η google - αλλά ούτε και καμία άλλη εταιρεία (data mining) δεν “διευκρινίζει” ξεκάθαρα ότι τα δεδομένα που εισάγεις - τους ανήκουν!

Αλλά τους ανήκουν.

Σάλος για το archive του twitter! Όταν δεις τι έχεις αναρτήσει … θα καταλάβεις ότι το χρησιμοποιείς λάθος.

πχ στην yahoo δεν μπορείς να διαγράψεις το profile σου - όπως και στο facebook πριν από λίγο καιρό.
Πιστεύεις δλδ όταν πατάς διαγραφή - αυτό ως δια μαγείας - διαγράφεται αυτόματα από παντού - από όλα τις συσχετίσεις - από όλα τα backup files ?

Κι όταν εγώ σε “δηλώσω” πάνω σε μια φωτογραφία; Αυτό θεωρείς ότι διαγράφεται;

Δεν θέλω να μείνω στο νομικό πλαίσιο - δεν έχω καν την διάθεση να μιλήσω για αυτό.

Ας γυρίσουμε λίγα χρόνια πίσω (πριν το 1999)
Στην αρχή του internet ήταν αυτονόητο ότι θα χρησιμοποιήσεις κάποιο handle κι όχι το πραγματικό σου όνομα. Πχ. Crash Override
Ποτέ δεν συμπλήρωνες καμία σελίδα με προσωπικά δεδομένα και ποτέ μα ποτέ δεν έκανες εγγραφή σε μια λίστα για DEALS ή που σου υπόσχεται 95% έκπτωση.

Και τώρα;

Τώρα ανεβάζεις προσωπικές φωτογραφίες:

δλδ την φωτογραφία με την γυναίκα σου και το νεογέννητο παιδί σου κάτω από το χριστουγεννιάτικο δέντρο, δίπλα στο τζάκι με ανοιχτό το χρηματοκιβώτιο να φαίνονται τα λεφτά από την άλλη πλευρά η 54” τηλεόραση και στο τραπέζι οι πιστωτικές σου κάρτες να φαίνονται

κι από κάτω ως λεζάντα γράφεις: “αύριο ξεκινάμε για διακοπές μια βδομάδα στο χωριό”
ενώ η φωτογραφία έχει κρατήσει το gps στίγμα και φαίνεται ακριβώς και η διεύθυνσή σου.

Στο δρόμο για το χωριό tweetάρεις: “στο δρόμο για το χωριό - ξεκινήσαμε πριν από μια ώρα”

Μετά από μια βδομάδα - γυρνάς στο σπίτι κι ως δια - μαγείας σου έχουν πάρει την τηλεόραση, το δέντρο και σου έχουν ξηλώσει και το τζάκι από τον τοίχο!

Ακόμα αναρωτιέσαι πως;

Ούτε εγώ προσέχω ή καλύτερα ΔΕΝ προσέχω όσο θα έπρεπε.

Data Mining:

“Η πληροφορική είναι η επιστήμη που ερευνά την κωδικοποίηση, διαχείριση και μετάδοση συμβολικών αναπαραστάσεων πληροφοριών”
Φαντάσου μια εταιρεία που κατέχει yottabytes από το σύνολο του πληθυσμού χωρίς καν να τα έχει εισάγει αυτή. Τα εισάγεις εσύ για αυτούς.
Το προϊόν είσαι εσύ !

Κάνε click εδώ και να μάθεις περισσότερα: Safe Browsing

Προσθήκη: Please Rob Me via comzeradd

Tag(s): social
    Tag: social
  • 1 comment
Dec
15
2012
febootstrap with custom PKGBUILDs in archlinux
Posted by ebal at 14:25:15 in blog, archlinux, planet_Sysadmin

There is an updated blog post about febootstrap. Click here

At some point, especially if you are using libguestfs, you will end up using febootstrap.

febootstrap is a tool to build a supermin appliance to boot strap a tiny base.img with the packages you need.

febootstrap support archlinux so we (archers) can use febootstrap or libguestfs based on an archlinux boot strap tiny appliance. So no extra work for archlinux in rescue virtual-machines or mount virtual disks.

febootstrap has the ability of searching through Arch User Repository to include any extra packages that dont exist in default repositories. This isnt the right way of installing packages from aur … but for lazy people febootstrap seems to do exactly what it should be.

Yesterday i’ve sent my first tiny ocaml patch at febootstrap for changing the location of aur packages.
You can check the patch here.
Hopefully its ok.

Today i want to write down the right way of installing extra packages from aur. The main reason is that aur has a lot of flagged-out-of-date packages and some of them are really … lets say the PKGBUILDs arent up-to-date or with proper dependencies. I am not expert in archlinux packaging so this from a user perspective guide.

1.

First, download the PKGBUILD you want (or use a customize abs PKGBUILD) of the package you need to install in febootstrap.

Check the PKGBUILD, correct the version, add checksum (for package integrity), review the dependencies, make the pkg. Check it again.
This is the most important thing. Try hard not to be lazy on this.

2.

Create the package with makepkg command. You’ll need base-devel packages for this.
Check the files inside the package

pacman -Qpl *.pkg.tar.xz

binaries must be under /usr/bin, libraries under /usr/lib

Be careful

3.

Create a new directory to hold your custom build packages from aur or abs.

eg.

 mkdir -pv /opt/custom_repo/

and move your *.pkg.tar.xz file (or files) under this directory

eg.

move *.pkg.tar.xz  /opt/custom_repo/

4.

At this point you are ready to create your custom repo db file

eg.

repo-add  /opt/custom_repo/repo.db.tar.gz  /opt/custom_repo/*pkg.tar.xz

and

5.

append the below lines at your /etc/pacman.conf file

[repo]
SigLevel = Never
Server = file:///opt/custom_repo/

type

pacman -Syy

to sync your repositories and you are done!

Now you can use febootstrap without searching in aur.archlinux.org for extra packages.

Tag(s): febootstrap, aur.archlinux.org, repo-add, PKGBUILD
    Tag: febootstrap, aur.archlinux.org, repo-add, PKGBUILD
Dec
14
2012
display the disk usage on virtual machines
Posted by ebal at 13:23:17 in blog, planet_Sysadmin

using virt-df is simple as writing df on your terminal.

Below a real life example:


# virsh list --all
 Id    Name                           State
----------------------------------------------------
 1     win2003                        running
 4     win2008                        running

# virt-df -d win2008 -h
Filesystem                                Size       Used  Available  Use%
win2008:/dev/sda1                          40G        38G       1.9G   96%
Tag(s): virt-df
    Tag: virt-df
Next Page »
  -  
« Previous Page

Search

Admin area

  • Login

Categories

  • blog
  • wiki
  • pirsynd
  • midori
  • books
  • archlinux
  • movies
  • xfce
  • code
  • beer
  • planet_ellak
  • planet_Sysadmin
  • microblogging
  • UH572
  • KoboGlo
  • planet_fsfe

Archives

  • 2026
    • January
  • 2025
    • December
    • October
    • September
    • April
    • March
    • February
  • 2024
    • November
    • October
    • August
    • April
    • March
  • 2023
    • May
    • April
  • 2022
    • November
    • October
    • August
    • February
  • 2021
    • November
    • July
    • June
    • May
    • April
    • March
    • February
  • 2020
    • December
    • November
    • September
    • August
    • June
    • May
    • April
    • March
    • January
  • 2019
    • December
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2018
    • December
    • November
    • October
    • September
    • August
    • June
    • May
    • April
    • March
    • February
    • January
  • 2017
    • December
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2016
    • December
    • November
    • October
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2015
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • January
  • 2014
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2013
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2012
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2011
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2010
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2009
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
Ευάγγελος.Μπαλάσκας.gr

License GNU FDL 1.3 - CC BY-SA 3.0