Realize that people define you, as you define your self. Respect your self to gain respect by others. Respect others and you gain respect of your self.
Mercurial has an excellent built-in extension for serving your code to other via http.
hg help serve
but hasnt have any authentication method.
You can, of course, use ssh to control access to your project, a http server (or wsgi).
Searching on Extensions wiki page, i’ve came up with hg-textauth!
In a few minutes i had textauth extension in my linux box.
Lets get started with:
A.
~/.hgrc
[extensions]
textauth = /FULL_PATH/textauth.py
[textauth]
file= /FULL_PATH/text.auth
B.
touch /FULL_PATH/text.auth
hg authedit -v -c ebal
Enter password: ******
Verify password: ******
That’s it!
Now test it
C.
hg serve
And in another shell (machine/whatever):
D.
hg clone http://example.com:8000 myproject.hg
requesting all changes
http authorization required
realm: mercurial
user: ebal
password: ******
adding changesets
adding manifests
adding file changes
added 1 changesets with 4 changes to 4 files
updating to branch default
resolving manifests
getting ToDo
getting help.html
getting image.png
getting myproject.py
4 files updated, 0 files merged, 0 files removed, 0 files unresolved
This afternoon at hackerspace we’ve booted up via PXE, tinycorelinux on alix3d3!
we didnt have any usb keyboard, so we used xvkbd for screen keyboard and then we downloaded firefox, openssh-server, x11vnc & mpd. Using mpc from our laptops we were listening streamed music from alix.
And all of that in only a 500Mhz cpu with only 256Mb Ram!!!
See some pictures
Η μητέρα μου, βρίσκεται σε συγγενικό σπίτι. Εκεί έρχεται σε γνωριμία με κάποιον από τον χώρο της μουσικής και πιο ειδικά από τον χώρο του marketing. Γνωρίζονται και μπλα μπλα μπλα
-Τι δουλειά κάνει ο γιος σας.
-Πληροφορική.
-Ενδιαφέρεται να φτιάχνει site για συγκροτήματα; Είναι τεχνικός ή προγραμματιστής;
-Κάνει τα πάντα, έχει γράψει προγράμματα μπλα μπλα μπλα (μια μάνα καμαρώνει για τον γιο της).
Μετά από δύο/τρεις ώρες μιλάω με την μητέρα μου.
-Σου έκλεισα δουλειά, να φτιάξεις ένα site να κονομισεις.
-Μα δεν φτιάχνω sites, ΔΕΝ κάνω αυτή την δουλειά!
-Τι? Δεν θες να βγάλεις λεφτά; Θα σε γνωρίσουν κι εκεί κι εκεί και μπλα μπλα μπλα μπλα
Οκ, εργάζομαι ως διαχειριστής Unix/Linux συστημάτων σε ISP. Δεν περιμένω ο στενός μου οικογενειακώς κύκλος να ξέρει τι ακριβώς κάνω. Τόσα χρόνια ούτε καν οι φίλοι μου δεν γνωρίζουν με τι ασχολούμαι επαγγελματικά.
Δεν νιώθω απογοήτευση, ούτε μνησικακία. Ίσως λίγο μοναξιά (ώρες ώρες), αλλά από την άλλη υπάρχει και το Twitter. Αλλά ρε γαμώτο να με γειώνει η μάνα μου γιατί δεν φτιάχνω site!!!
Για αυτό από εδώ και πέρα θα απαντώ
-Πιανίστας σε μπουρδέλο
Υγ: δεν απέχει και πολύ από την πραγματικότητα. Μόνο ότι δεν ξέρω πιάνο!
Richard WM Jones is the man behind redhat & fedora Virtualization projects.
One of his recent invention is guestmount!
With guestmount you can mount a live virtual machine and not only you can read the contents but also …. (wait for it) … write into the mounted virtual machine!
So, you can take incremental backups from your host and not your guest operating system!
Redhat has put all of it’s money to virtualization.
Lets see what’s next!
See also guestmount man page
and take a look on guestfs-browser too.