Τον τελευταίο καιρό ενδιαφέρομαι να πάρω ένα ποδήλατο.
Διαπίστωσα ότι είναι λίγο ακριβότερα από ότι πίστευα
κι έτσι προσπαθώ να κάνω λίγο οικονομία για να μαζέψω τα απαιτούμενα χρήματα.
Επειδή χρειάζεται ένα σεβαστό (για εμένα ποσό), θέλω να είμαι προσεκτικός στην αγορά μου, ώστε να μην “πετάξω” τα χρήματά μου.
Βρήκα κάποιο κι έστειλα ένα email για ρωτήσω στο support της εταιρείας κάποια στοιχεία που δεν έγραφε:
Ενδιαφέρομαι για να αγοράσω το συγκεκριμένο ποδήλατο: …..
Θα ήθελα να μου πείτε:
α. εάν υπάρχει σε άλλο χρώμα,
β. το βάρος του και
γ. εάν μπορώ να περάσω κάποιο απόγευμα να το δω από κοντά.
Απάντηση:
καλημερα σας
ησυσκευη διατιθεται αλλα δεν εκτιθεται στο φυσικο καταστημα
Ναι - ναι είναι copy/paste. Έτσι μου απάντησαν. Ανορθόγραφα (άτονα), αδιάφορα κι ασαφέστατα.
Οπότε κι εγώ:
Καλημέρα,
θα ήταν εύκολο να αναγνώσει το email μου, κάποιος που γνωρίζει ελληνικά;
Γιατί εκτός ότι δεν απαντήθηκε καμία ερώτηση μου, δεν έχει καν
νόημα και η απάντηση που έλαβα.
Είναι αρκετές οι φορές που κοιτώ το Subject ενός mail για να ελέγξω εάν είναι SPAM ή όχι.
Τι γίνεται όμως, εάν το subject δεν είναι σε ASCII ?
Γιατί γίνεται αυτό: Encoded-Word
Για να μπορώ γρήγορα κι εύκολα να διαβάσω το θέμα ενός τέτοιου email,
έγραψα ένα προγραμματάκι σε perl
#!/usr/bin/env perl
die $0 =~ /([^/]+)$/, " <base64 mail subject> n" unless @ARGV == 1;
use Encode;
use MIME::Base64 qw(decode_base64);
my @values = split ( '?', $ARGV[0] );
binmode STDOUT, ":utf8";
print decode ( $values[1] , decode_base64( $values[3] ) . "n" );
Δίνω ένα παράδειγμα:
$ ./db64.pl =?utf8?B?zqPOlc6czpnOnc6RzqHOmc6RIM6UzpnOn86ZzprOl86jzpfOoyAtIE1BUktFVElORyAtIM6gzpvOl86hzp/Ops6fzqHOmc6azpfOoyAmIM6ozqXOp86fzpvOn86TzpnOkc6jIC0gzpzOkc6qzp/OoyAyMDEx?=
ΣΕΜΙΝΑΡΙΑ ΔΙΟΙΚΗΣΗΣ - MARKETING - ΠΛΗΡΟΦΟΡΙΚΗΣ & ΨΥΧΟΛΟΓΙΑΣ - ΜΑΪΟΣ 2011
Gateway Interface: eth0
Wireless Interface: wlan0
$ vim /etc/dnsmasq.conf
interface=wlan0
dhcp-range=192.168.1.240,192.168.1.255,3h
/etc/rc.d/dnsmasq stop
ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 essid wireless key s:1234567890123
ifconfig wlan0 192.168.1.1 up
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
/etc/rc.d/dnsmasq start
pirsyncd stands for: Python Inotify Rsync Daemon.
Description:
This is an attempt of writing a daemon to watch a directory for kernel’s inotify events and then execute an rsync command to synchronize two different directories (local or remote). This is a poor man’s mirroring or an alternative (not so) real data replication mechanism and it is based on Pyinotify.
From ChangeLog:
Plz notice that this is the last version in python2
The next version of piryncd would be only in python3
- Pyinotify.py updated to 0.9.1 (20110405)
- Added ssh port parameter for synchronize of ssh
- Removed trailing slash (/) requirement for source & destination path
- Added Pyinotify.py version3 for pirsyncd.Py3k
plz try ./pirsyncd –help & ./pirsyncd –examples to see more.
Get the latest version of pirsyncd v20110412
Από το καινούριο έτος (2011) ένα νέο περιοδικό με θεματολογία γύρω από το linux και το opensource έχει ξεκινήσει κι έχει ήδη βρει τον δρόμο του στα περίπτερα κάθε γειτονιάς. Αναφέρομαι στο Linux Inside, το μοναδικό αμιγώς ελληνικό περιοδικό για linux. Συμμετέχω κι εγώ στην συγγραφή ενός δισέλιδου κάθε μήνα, με λίγο πιο τεχνικά θέματα (sshfs, https proxies, mail server). Βγαίνει κάθε δίμηνο, είναι 100σέλιδο και έχει τιμή τα 6.50 ευρώ.
Τι μου αρέσει μέχρι στιγμής:
Μου αρέσουν τα άρθρα που φιλοξενεί στις σελίδες του. Δεν μπορώ να πω ότι βρίσκω όλα τα άρθρα το ίδιο ενδιαφέρον, υπάρχουν και μερικά που με αφήνουν αδιάφορο και τα προσπερνώ. Μα μου αρέσει που καλύπτει ένα τόσο μεγάλο φάσμα στην θεματολογία του. Έχει άρθρα για πιο άπειρους χρήστες μα και για πολύ έμπειρους.
Μου αρέσει που δεν ασχολείται μονάχα με software, μα καλύπτει θέματα για Adruino & android. Έχει θέματα που αφορούν την ασφάλεια (κάτι που νομίζω έλειπε) αλλά και δωροπροτάσεις! Από tutorials...
Thank you.
Some years ago, i wrote a very simple Coin Flipper for fun.
I forgot it, till today.
This is the code behind:
<?php
$result = rand();
$i = 1;
while ( $i <= rand(1, getrandmax() ) ) {
$i++;
$result = rand();
}
if ( $result%2 )
echo "<IMG src='euro_gr_front.gif' border='0'> ";
else
echo "<IMG src='euro_gr_back.gif' border='0'> ";
?>
and this is the link: https://balaskas.gr/ … o/]Euro Coin Flipper
Την Κυριακή 20 Μαρτίου και απ’ τις 11:00 το πρωί θα είμαστε στην καφετέρια Egalite (Γ. Αβέρωφ 36, Πευκάκια, Νέα Ιωνία).
Πριν βρεθούμε αυτή την Κυριακή, οφείλω να πω μερικά πράγματα για το hackfest . Τι είναι, τι σημαίνει για εμάς και ποιο το μέλλον του.
Το hackfest είναι μια δράση, στην οποία προσπαθούμε να φέρουμε κοντά ανθρώπους με opensource ιδέες κι ενδιαφέροντα. Ο πρωταρχικός μας σκοπός είναι η συμμετοχή, η ανταλλαγή απόψεων, ιδεών και φυσικά να περνάμε καλά μεταξύ μας. Ο τελικός σκοπός μας ήταν και είναι η δημιουργία του 1ου hackerspace .
Θέλουμε να δημιουργήσουμε έναν χώρο, στα πρότυπα των hackerspace που λειτουργούν στο εξωτερικό. Θέλουμε έναν χώρο στον οποίο θα μαζευόμαστε και θα δουλεύουμε στα opensource project μας, θα δίνουμε τις δυνατ...
Thank you.
It’s super easy to setup a vpn connection over an ssh access.
You dont believe me ?
You can try it by your self in only a few seconds away.
You have to be root on your local machine and you have to ssh as root to your remote machine.
To do that, change your remote /etc/ssh/sshd_config with the below values:
AllowUsers root
PermitRootLogin yes
PermitTunnel = yes
restart your ssh daemon: /etc/init.d/sshd restart
After that, copy the below shell script : ssh.vpn.sh
This is ssh.vpn.sh code:
#!/bin/sh
# Evaggelos Balaskas < ebalaskas _AT_ ebalaskas _DOT_ gr >
To see the entire article, click uppon article's title/link.
Thank you.
Ok i have to admit that large urls are un-friendly, difficult to share and sometimes have privacy info.
Url shorteners provide anonymity and a short-friendly url to use and share.
But they are also a security risk! Browser security is something that we take very light, but we shouldn’t!
When someone sends me a url shortener i have to use a web browser to click on it and see the destination page. With simple urls i have to just mouse over (firefox 3) to see the destination.
Sometimes people send me spam or urls that i dont wish to open or see.
I believe that the design of url shorteners is just wrong!
People should be able to see or even test the urls before they click and open on them.
Browser hijacking is one form of malicious code that url shorteners make it extremely easy !
An idea:
Like google’s “Instant is on”, a similar action should be done with url shorteners.
With mouse over (or whatever else you like) the destin...
Thank you.
Very Interesting Linux Events & Confs that you should be there:
Fosdem
http://fosdem.org
05 - 06 Feb 2011
Brussels, Belgium
Open Source Days
http://opensourcedays.org
05 Mar 2011
Copenhagen, Denmark
OpenFest
http://openfest.teipir.gr
9th to 10th of April 2011
Piraeus, Greece
Linux Open Administration Days
http://loadays.org
16th - 17th April 2011
Wilrijk, Belgium
Infosecurity
http://www.infosec.co.uk
19th - 21st April 2011
London, England
Fosscomm
http://fosscomm.gr
7th - 8th May 2011
Patra, Greece
Solutions Linux OpenSource
http://www.solutionslinux.fr/?lg=en
10 - 12 May 2011
Paris, France
Linux Tag
http://www.linuxtag.org
11 - 14 May 2011
Berlin, German
Desktop Summit
http://desktopsummit.org
06 - 12th August 2011
Berlin, German
FrOSCon
http://www.froscon.de
20st - 21nd August 2011
Bonn, Germany
FrOSCamp
http://froscamp.org
17 - 18 Sep 2010
Zurich, Switzerland
T-DOSE
http://www.t-dose.org
05 - 06 November 2011
Eindhoven, Netherlands
Εμείς περνάμε όμορφα,
ανταλλάσσουμε (opensource) ιδέες, προσπαθούμε να βοηθήσουμε ο ένας τον άλλον
και να μοιραστούμε εμπειρίες γύρω από το ανοιχτό λογισμικό.
Εσείς … δεν έχετε παρά να έρθετε σε ένα από τα επόμενα hackfest.
Στο 4ο κατά σειρά hackfest είχαμε projector και είδαμε δύο mini παρουσιάσεις.
Η 1η ήταν από τον Χρήστο Νούσκα (nous) με θέμα την δημιουργία ενός PKGBUILD και
η 2η ήταν του Πιέρρο Παπαδέα περί fosdem.
Ο κόσμος αρκετός, όπως θα δείτε και παρακάτω:
hackfest3 aftermatch
The picture speaks for it self.
Same tabs - same sites - same resources - same time - same logins.
Firefox is just a memory leak before it crash your linux box! But it is the most extensible browser. You can do almost everything via Addons.
Chrome is the middle & safe solution but i cant use xmarks with a custom server and i cant use different proxies with exclusions but only shell variables (http_proxy).
Midori has the same engine as chrome (webkit, same restrictions as Chrome. Isnt extensible as chrome but uses UserScripts & UserStyles
But midori uses the least memory, its super fast and perfect for your simple needs.
My opinion is NOT to use only one web browser, but choose the browser by the need you want to cover.
A friend/colleague from work, made a keyboard prank.
So today and after 7 hours of work, i finally figured it out!
Damn blind typing.
He had changed U & Y and V & B, but i never looked once on my keyboard.
Sorry Dude, better lack next time :)
Όπως ήδη γνωρίζεται ΟΛΟΙ (όσοι τουλάχιστον είναι σε αυτόν τον γαλαξία) ότι αυτή την Κυριακή, 23 Ιανουαρίου 2011, θα πραγματοποιηθεί το 1ο hackfest για το 2011.
Το hackfest είναι ένα event - μία συνάντηση, στην οποία όσοι ασχολούμαστε με το opensource βρισκόμαστε για να ανταλλάξουμε ιδέες, να συζητήσουμε για τα projects που μας απασχολούν κατά τον ελεύθερο χρόνο μας και μη.
Αυτή την Κυριακή, όμως θα υπάρχει θεματική ενότητα!
Κι αυτή δεν θα είναι άλλη από την fosdem.
Η fosdem είναι η μεγαλύτερη ευρωπαϊκή συνάντηση opensource developers!
Γίνεται πάντα το 1ο Σαββατοκυριακο του Φλεβάρη στις Βρυξέλλες (Βέλγιο).
Ελπίζουμε να έρθουν οι “νέοι” και οι “παλιοί” συμμετέχοντες για να συζητήσουμε/ανταλλάξουμε ε...
Thank you.
hackfest is mainly for sharing opensource ideas. One of this was suggested to me by comzeradd. He told me that he is using ziproxy to compress data through his phone (story here android-ziproxy).
So i am using ziproxy from October 2010, to compress all my internet traffic.
Another proxy i am using (mostly for the chain forward ability) is privoxy. Privoxy can forward traffic through another proxy (http or a socks) but has filter...
Thank you.
You all know about identi.ca & twitter
If you dont, then perhaps your are that kind of people that have a life or even free time!
I am a newbie on both of them, but i I am already frustrate about twitter’s microblogging features.
The web layout is too complex, I cant login with my openid account but the most depressing thing is that i cant see my friends timeline via rss!
The main problem is that twitter have changed to oauth and you can use an application with twitter api.
But Why God, Why?
So i singed with gtweetapp to finally have my friend timeline to rss feed.
Then i wanted To see the entire article, click uppon article's title/link.
Thank you.
Πριν από λίγο καιρό έγραψα ένα άρθρο για να εξηγήσω πως μπορείτε να έχετε διαφορετικό συνθηματικό σε κάθε εφαρμογή και παρόλα αυτά να τα θυμάστε μέσω μοτίβων: Security & passwords via patterns. Το άρθρο ήταν αρκετά δημοφιλή κι υπήρχαν σχόλια για να το κάνουν ακόμα καλύτερο.
Σήμερα θα ήθελα να προτείνω μια εναλλακτική λύση, που αφορά κυρίως web sites & web applications.
Αποτελεί μία από τις ασφαλέστερες λύσεις και είναι εξαιρετικά εύκολη στην χρήση.
Βήμα 1ο: Secure Password Sync
Στους υπολογιστές μας (επιτραπέζιους και μη) έχουμε έναν λογαριασμό με τις δικές μας ρυθμίσεις. Χρησιμοποιούμε σχεδόν πάντα τον ίδιο web browser γιατί πολύ απλά μας βολεύει. Είτε είστε fun του firefox είτε του chrome σίγουρα έχετε επιλέξει να αποθηκεύει τα συνθηματικά των web...
Thank you.
Ok, everybody loves opensource projects!
An opensource project has many good noticeable features.
It is nice, it is beautiful, it works, it is secure and it is free of charge.
We use every day opensource projects but we always forgot to give our gratitude to people behind our favorite program.
A thank you email is just fine to express our appreciation to the lonely programmer.
But a donation is the best solution for giving our thankfulness.
I have written an opensource project myself too: pirsyncd and i’ve been grateful for all the love i am getting about it.
I have received patches, t-shirts, thank you notes, publicity via blog entries and donations.
All the above are extremely useful for someone like me. I am always trying to balance around zero on my paypal account and give money to other opensource project or services too.
So dont forget to give some money to people, even a small amount is important!
It is a known fact that gmail’s spam filters get the job done.
I am working with spamassassin on local mail setups and i want spamassasin to learn automatically from my gmail Spam folder.
So is it possible?
Of course it is possible.
First we have to get all the mails from our gmail account into a local dummy mail account (easy we’ll use getmail) and then we have to educate spamassasin from our local dummy mail account (sa-learn).
one config file and two commands via cron will do the work.
First the getmailrc (i shall not bother with the getmail & spamassassin installation or setup).
/root/.getmail/getmailrc
[options]
delete = false
To see the entire article, click uppon article's title/link.
Thank you.
Το παρόν post αφορά κυρίως sysadmins, οι υπόλοιποι διαβάστε το για να πάρετε μια ιδέα πως είναι να εργάζεσαι ως sysadmin.
Διαβάζοντας το εξής άρθρο: Henry’s Techno-Musings: Philosophy of Troubleshooting: Sea of Troubles (ξέρω, ξέρω πολύ μεγάλος τίτλος. Μα είναι στο linux gazette, οπότε δώστε του μια ευκαιρία) θυμήθηκα κάτι από το 2006 όταν ξεκίνησα να εργάζομαι στην τωρινή μου θέση.
Πριν εξιστορήσω όμως την ιστορία, θα πρέπει να τονίσω ότι κάθε sysadmin που σέβεται τον εαυτό του ή θέλει να τον σέβονται οι άλλοι, θα πρέπει να γνωρίζει τι είναι τα semaphores ειδικά δε, εάν εργάζεται με τον apache web server.
[story]
Περί το τέλος του 2006 σε ένα ξεχασμένο datacenter, ένας ταπεινός sysadmin εργά...
Thank you.