February 2012
1 post
3 tags
Javascript Simple Internationalization
Simple Javascript library that provides internationalization functions.
http://pmav.eu/stuff/javascript-simple-internationalization/
August 2011
1 post
4 tags
Random Word Generator
Random Word Generator picks random words from a list of 58 000 english words.
http://pmav.eu/stuff/random-word-generator/
July 2011
1 post
4 tags
Javascript N-Queens
This page presents a Javascript program that solves the N-Queens problem using a very simple Genetic Algorithm.
http://pmav.eu/stuff/javascript-nqueens/
May 2011
1 post
6 tags
procvm
procvm is a linux shell script that list VM size, PID and comand for each process.
Download at github: https://github.com/pmav/procvm
April 2011
1 post
7 tags
Semantic Youtube Links
Semantic Youtube Links is a Greasemonkey script that appends Youtube video titles to their link.
Project page: http://pmav.eu/stuff/semantic-youtube-links/
Example:
Before: http://www.youtube.com/watch?v=AVbzsRxB5aU
After: http://www.youtube.com/watch?v=AVbzsRxB5aU#universal-declaration-of-human-rights-in-passports
You can get it here: http://userscripts.org/scripts/show/63795
Compatible...
October 2010
1 post
3 tags
Insert data into PostgreSQL using command line in...
Insert data into PostgreSQL using command line in Linux:
sudo -u postgres psql <Database>
\i <SQL File>
September 2010
1 post
July 2010
3 posts
3 tags
Create an executable JAR with dependencies using...
Add to pom.xml:
<build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>fully.qualified.MainClass</mainClass> </manifest> ...
May 2010
5 posts
2 tags
bookdepository.*
bookdepository.co.uk & bookdepository.com - Same service, different prices?
.co.uk
.com
5 tags
Failed to load JavaHL Library
How to solve the “Failed to load JavaHL Library.” problem in Mac OS X when running Aptana (Eclipse).
Failed to load JavaHL Library. These are the errors that were encountered: no libsvnjavahl-1 in java.library.path no svnjavahl-1 in java.library.path no svnjavahl in java.library.path java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
...
3 tags
Virtual Hosts on Mac OS X (Apache)
How to solve?
[emerg] (13)Permission denied: couldn’t grab the accept mutex
Add AcceptMutex flock to your httpd.conf.
3 tags
4 tags
April 2010
1 post
2 tags
March 2010
2 posts
3 tags
5 tags
Javascript Web Workers
A new version of my Javascript Web Workers example is now online: http://pmav.eu/stuff/javascript-webworkers/.
This new version is compatible with:
Firefox, since 3.5;
Chrome, since 4;
Safari, since 4.0.4.
Source code can be found here: Javascript Web Workers Source Code.
Suggestions are welcome: pedrovam@gmail.com
February 2010
5 posts
4 tags
5 tags
pmav.eu →
Current projects.