Dec
27
2011
ebalaskas: Thank you Santa! Our…

identica.pngThank you Santa! Our mail queues are at normal ranges. This is a Christmas miracle.

from Updates from ebalaskas on Identi.ca!

Dec
27
2011
ebalaskas: simple explained when the…

identica.pngsimple explained when the browser has too many tabs opened: http://ur1.ca/703v3

from Updates from ebalaskas on Identi.ca!

Dec
24
2011
ebalaskas: In less than 5…

identica.pngIn less than 5 min you can set up a ftp server with anonymous read/write using pyftpdlib # For security I’ve used a tmpfs for home dir

from Updates from ebalaskas on Identi.ca!

Dec
15
2011
ebalaskas:
Dec
13
2011
ebalaskas: Dear Postmasters: another holiday…

identica.pngDear Postmasters: another holiday is in the corner (again). I hope your configuration of spamassassin (amavis/postfix) may prove you right!

from Updates from ebalaskas on Identi.ca!

Dec
12
2011
ebalaskas: #python tip using inspect…

identica.png# tip using inspect http://ur1.ca/6mj9g can make you crazy. My autoreferential call: inspect.stack(-1)[0][3])

from Updates from ebalaskas on Identi.ca!

Dec
10
2011
ebalaskas: Developers that use a…

identica.pngDevelopers that use a dictionary word for naming a project must be shoot on sight

from Updates from ebalaskas on Identi.ca!

Dec
10
2011
ebalaskas: A simple GTK+ disc…
Dec
06
2011
ebalaskas: pkgstats
Dec
06
2011
ebalaskas:
Dec
06
2011
ebalaskas: Definitive List of Web-Based…

identica.pngDefinitive List of Web-Based Server Control Panels http://ur1.ca/6epkc

from Updates from ebalaskas on Identi.ca!

Nov
29
2011
ebalaskas: #Hotot A Microblogging Client…

identica.png# A Microblogging Client http://hotot.org Impressive

from Updates from ebalaskas on Identi.ca!

Nov
29
2011
ebalaskas: #python tip …

identica.png# tip import webbrowser webbrowser.open("http://balaskas.gr“)

from Updates from ebalaskas on Identi.ca!

Nov
29
2011
ebalaskas: Collabedit is an online…

identica.pngCollabedit is an online code editor that lets people collaborate in real-time. http://collabedit.com/

from Updates from ebalaskas on Identi.ca!

Nov
28
2011
Respect

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.

Nov
27
2011
How to setup Http Authentication on a mercurial project

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

Tag(s): mercurial
Nov
24
2011
ebalaskas: PAC Manager, Perl/Gtk approach…

identica.pngPAC Manager, Perl/Gtk approach to connections managing http://ur1.ca/61fnb

from Updates from ebalaskas on Identi.ca!

Nov
24
2011
ebalaskas: is it wrong to…

identica.pngis it wrong to DISCARD undisclosed-recipients ? #

from Updates from ebalaskas on Identi.ca!

Nov
22
2011
ebalaskas: Geek on EyeDoctor …

identica.pngGeek on EyeDoctor

from Updates from ebalaskas on Identi.ca!

Nov
22
2011
ebalaskas: https://www.xkcd.com/ AWESOMENESS