Entries in the ‘Tips’ Category:
filed in Tips on Jan.08, 2013
Just bough a Edimax EW-7811Un wifi dongle to use on my RaspberryPi. It´s a media center so its running Raspbmc ( which is based on rasbian ). First of all, from my experience, raspberry needs to be powered by an ( at least ) 1A power source for the dongle to work as expected. No drivers needed [...]
Tags: linux, raspberrypi
filed in Tips on Jan.08, 2013
If you have python installed, change to your static file directory and $ cd /files/html/ $ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 … This will start an http server on port 8000 that serves all files in the current directory. All the debug is written to console including incomming requests and the [...]
Tags: python
filed in Tips on Jan.08, 2013
Recently i needed to test the network troughput between my file server and one of the file server clients. I came across iperf, its a client-server command line utility that sends data between the server ( one of the machines of the pair you want to test ) and the client ( the other machine [...]
Tags: linux, network
filed in Tips on Jul.20, 2010
If you ever need to get a integrated data report for multiple profiles you can get one here: http://gaevolution.appspot.com Simple webinterface that aggregates multiple profiles from your GA account and produces a tabular report. .. or you can always script arround the Data API
Tags: analytics
filed in Tips on May.11, 2010
Tags: linux, Tips, ubuntu
filed in Tips on Dec.09, 2008
If you hope that a simple copy will make it.. it doesn’t. Apparently the unique disk indentifier (UUID) is embbeded in the image file. $ VBoxManage clonevdi sourceimage.vdi destimage.vdi
filed in Tips on Dec.03, 2008
For some time now i started to notice the amount of time i wasted in solving version conflicts. The GNU diff works great with small change sets, but having a visual diff tool helps a lot when you’re dealing with long files with lots of diffs. I used several visuall-diff-editors whit the several version-control software [...]
Tags: git, linux, svn
filed in Tips on Oct.10, 2008
Some modules like XML::Simple export some functions by default into your namespace. Normally you don’t want this functions since the module has a OO interface; so, how to avoid the auto-export from taint your namespace ? You can, at include time, be careful and explicitly tell the module not to export anything by doing this: [...]
Tags: perl
filed in Tips on Oct.06, 2008
… you really should ckeck out HttpFox : https://addons.mozilla.org/en-US/firefox/addon/6647 It provides all the information that Live HTTP Headers do (and more, like request time tracking ) but with better organization.
filed in Tips on Oct.03, 2008
I still use svn for some projects, some of them are python. Python pre-compiles the python files, so, the first time i run one of this projects i end up with a bunch of .pyc files that i don’t want to add to the repository. Since svn doesn’t know this files the svn status generates [...]
Tags: python