Andrew has release a litle method to hide a email in a HTML page look at Exit66 for more infos.
Anyways, we should take care on how long will this works, since spammers are script kiddies too.
Andrew has release a litle method to hide a email in a HTML page look at Exit66 for more infos.
Anyways, we should take care on how long will this works, since spammers are script kiddies too.
I always used Emacs for Python editing. And usually i use the ‘dabbrev-expansion’ to use auto-complete feature. After a talk w/ Phil I discover http://www.python.org/cgi-bin/moinmoin/EmacsPythonCompletion (py-complete lisp module).
This seems to be a cool stuff but i get the same error as Phil:
>>> Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name '__py_complete_string' is not defined
So I need to look at this another day..
Ever think of sniffing or forging packet in Python ? I spent a part of time hacking some UDP packet for my work and building Ethercap rules is a bit hard now you can do this with :
After a lot of trouble w/ my PCI linksys card WMP54G, I need to install a pcmcia netgear WG511 on my notebook. I usually use a Cisco Aironet but the new one is a 54g so.
It only takes 10 minutes to figure that this kind of cards are well supported in Linux.
To install:
You should get something like this:
Loaded prism54 driver, version 1.0.2.2 eth0: prism54_mib_init() eth0: islpci_open() eth0: resetting device... eth0: uploading firmware... eth0: firmware uploaded done, now triggering reset... eth0: prism54_mib_init() eth0: done with prism54_mib_init()! -- Client Managed mode
Latest point the README say that Ad-hoc mode for 2.4 kernel is a work in progress .. and it seems to work.
Update: You can get the firmware here . Take care that most recent WG511 sold now are WG511T which doesn’t use prism54 drivers but the Madwifi one.
First it’s my birthday today (19/12) .. I am 29 years old .. Oh my god and still playing w/ computer like a kid :)
So my playground today was SQLObject. Despite Big (author of Modeling is one of my best friend, and I have been for a long time the only debugger of this stuff (i work with him during 1year), today I decided to try SQLObjet.
And I really enjoyed this game play:) Modeling is far more complex because it use a hard model described in XML. SQLObject is really more fun, adding some row to the db is a piece of cake. Beside i really like the Editing Context used in Modeling ( ripped of EOF and used in MiddleKit too ), SQLObject is more simple and better fit for projet that take care finer to db .. And it is thread safe.
If i have 10 min i will look why the SQLLiteConnection seems buggy. it looks like trouble is in fetchInsterID() ..
Have a nice Birthday Jerome :) and now patch your linux kernel to use the new NetGear your girlfriend give you for the turn.
Ho, i miss it ..
Yesterday, it tested the HttpAdapter for Webware. This is a nice, easy to use (no need to use the cgi or tweak the httpd.conf) Adapter for Webware.
To test: Just copy the WebKit/Adapters/HTTPAdapter.py in your current Webware instance, edit this file to feet w/ your need ( mainly the 2 first vars ), and run it directly.
Now point your mozilla to http://localhost:8080/ and enjoy :)
I haven’t play w/ Webware since a while.. and i don’t know the real difference between this and ‘Standalone Webkit’ .. but this is pretty kool ..
Now i need to look at the URLHandler as Ian tell me..
Pam_USB is a pam_module that allow you to log in w/ a usb-key (or a cdrom/ floppy .. any removable device w/ a serial number or a free space to hold DSA keys.)
This is pretty kool since, this kind of stuff can be usefull. I think about:
Anyway i will install this on my notebook since I use it a lot and I can’t always trust the potential users. ( I usually leave it w/ xlock at my work. )
I spent a part of the day hacking reST and Alinéa and i’m in a issue. In fact i usually write a lot of things like tutorials, FAQ and tips lying around, so i decide to put this in my blog because i don’t want to have too much trouble writing stuff at 10 different place.
So i have been hacking a Zope system which is a bit like a CMS and a bit at a blog, but this is not so easy because blog is (by definition) not hierarchical as opposite of CMS.
Despite i managed to do several good things i need to fix this:
I’m a bit confuse tonight since a lot of work have be done, but now I’m wondering how i will use it without emacs, and need a lot to do again.
I really think that this kind of system should be easy to use, and pybloxmon seems to be fine cause we can use simple tools. but the main lack is that you can’t easily organise it.. for example finding the right stuff on a lot python website is awfull.
Right now it got a lot of questions in my head:
And guess what i won’t use Plone :)
The main problem w/ my webcam script, is that it always take a shot even when nothing is on the desk, by night for example or when i’m at work. Beside i can use something like monitor, it isn’t the best way since i use a huge amout of CPU. So i decide to save picture only if the previous one is not the same. But how to compare two pictures ? After a little googling I found this:
import Image h1 = Image.open(filename1).histogram() h2 = Image.open(filename2).histogram() rms = math.sqrt(reduce(operator.add,map(lambda a,b: (a-b)**2, h1, h2))/len(h1))
So now i only save the picture in my snapshot folder if the RMS is greater that 100, so no more 10 times the same one.
After using the same email address since 1996, i haven’t receive a lot of spam. But since I open this weblog, every days my mailbox is full of junk mail and other f*cking spam.
So yesterday i try this: http://spambayes.sourceforge.net/
It’s took me about ~10 min to install / train it. And YES ! it works perfectly, now il just have to train it again … so please send me some spam :)
Update: A lot of people spam this blog to unsure to receive spam in return.. But don’t be stupid, email on this website are cyphered, so they won’t be used by spambot.. If you really want to receive some spam, simply put your email on a free porn website. Believe me you will receive a huge amount of spam by this way