pmav

Random Word Generator

Random Word Generator picks random words from a list of 58 000 english words.

http://pmav.eu/stuff/random-word-generator/

Words.

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/

Chess Pieces

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

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/

Linked Data (Semantic Web) candies

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 with Firefox and Chrome.

Insert data into PostgreSQL using command line in Linux

Insert data into PostgreSQL using command line in Linux:

sudo -u postgres psql <Database>

\i <SQL File>

A Javascript + Canvas implementation of John Conway’s Game of Life.

http://pmav.eu/stuff/javascript-game-of-life-v3.1.1/

Praia da Barra, Aveiro, Portugal (Google Maps).

Praia da Barra, Aveiro, Portugal (Google Maps).

Praia da Consolação, Peniche, Portugal (Google Maps).

Praia da Consolação, Peniche, Portugal (Google Maps).

Create an executable JAR with dependencies using Maven

Add to pom.xml:

<build>
    <plugins>
        <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <configuration>
                <archive>
                    <manifest>
                        <mainClass>fully.qualified.MainClass</mainClass>
                    </manifest>
                </archive>
                <descriptorRefs>
                    <descriptorRef>jar-with-dependencies</descriptorRef>
                </descriptorRefs>
            </configuration>
        </plugin>
    </plugins>
</build>

Run with:

mvn assembly:assembly

Source: stackoverflow.

bookdepository.*

bookdepository.co.uk & bookdepository.com - Same service, different prices?


.co.uk

bookdepository.co.uk

.com

bookdepository.com

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

Go to Preferences > Team > SVN > change the SVN interface to SVNKit (PureJava).

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.

Cool book, Rework.

Cool book, Rework.

Great series, Survivors.

Great series, Survivors.

Javascript Microbars! Code will be available soon.

Javascript Microbars! Code will be available soon.