According to Tweak Firefox 3 full screen mode • Mozilla Links, in about:config, you need to change the value of browser.fullscreen.autohide to "False".
Pour afficher la barre des tabs en mode plein écran, d'après Tweak Firefox 3 full screen mode, vous devez changer un réglage en entrant about:config dans la barre d'adresse, puis modifier la valeur de browser.fullscreen.autohide à "False".
Wednesday, August 25, 2010
Tuesday, August 17, 2010
When software patents become conter-productive
Oracle attacks Google and Android developers
The way the US patent system is currently set up, it’s difficult if not impossible to write a sizable body of code without unknowingly infringing on somebody’s patent. Your best hope seems to be to waste a lot of time filing as many patents as you can of your own, and hoping that anybody who sues you is unknowingly infringing on one of yours. That gives you a bargaining chip so you can do some kind of cross licensing deal. It’s a stupid, wasteful, unproductive government-created system that achieves the exact opposite of what was intended when it was first started. But, what can you do.
Friday, August 06, 2010
Python CGI scripts under wamp
If you want to run cgi script using wamp server on windows, you need to edit the Apache configuration file httpd.conf. Use the command line as administrator and run
C:\wamp\bin\apache\Apache2.2.11\conf>notepad httpd.conf
Then search for the line containing "addhandler" and write:
Then the first line of your script should contain the path to the python program:
Place your script in C:\wamp\bin\apache\Apache2.2.11\cgi-bin\myscript.py and you're done.
The output of the script can be accessed at
The script works but there are restrictions on the modules I can import. I can import native python modules, but not the module I made myself in other places outside the cgi-bin folder. I don't know how to solve that yet. (This is probably a security restriction)
C:\wamp\bin\apache\Apache2.2.11\conf>notepad httpd.conf
Then search for the line containing "addhandler" and write:
AddHandler cgi-script .pyFor python scripts (for any other scripting language, just use the relevant extension).
Then the first line of your script should contain the path to the python program:
#!c:/Python26/python.exe -uAccording to python cgi on windows.
Place your script in C:\wamp\bin\apache\Apache2.2.11\cgi-bin\myscript.py and you're done.
The output of the script can be accessed at
http://localhost/cgi-bin/myscript.py
The script works but there are restrictions on the modules I can import. I can import native python modules, but not the module I made myself in other places outside the cgi-bin folder. I don't know how to solve that yet. (This is probably a security restriction)
pyodbcs connection strings
Pyodbc conncetion strings gives a useful piece of advice concerning ODBC connection to Excel.
DSN (Data Source Names) are defined in the ODBC data source administrator of the control pannel in windows (in the section administrative tools).
I wasn't able to establish a DSN-less connection.
The Excel driver does not support transactions, so you will need to use the autocommit keyword:
cnxn = pyodbc.connect('DSN=test', autocommit=True)
DSN (Data Source Names) are defined in the ODBC data source administrator of the control pannel in windows (in the section administrative tools).
I wasn't able to establish a DSN-less connection.
Tuesday, August 03, 2010
Link to a specific part of a YouTube video
Matt cuts blog
If you want to link to a specific part of a video on YouTube, you can. For example, http://www.youtube.com/watch?v=PjDw3azfZWI#t=31m08s
Notice the “#t=31m08s” on the end of the url? That link will take you 31 minutes and 8 seconds into that video.
Monday, August 02, 2010
Write tests in programming
In this lecture, Richard Buckland says that tests should be written before the functions.
Subscribe to:
Posts (Atom)