Entries Categorized as 'linux'

node-ping and node-portchecker available on npm

Date November 23, 2011

My two simple opensource nodejs libraries “ping” and “portchecker” are available on npm.
Ping - is a simple wrapper for the system ping utility
Portchecker - allows you to perform some checks on open ports in a given host. you can use it for availability testing, getting a random non used port from a given range and [...]

a port checker / scanner library for nodejs

Date September 29, 2010

I am working on a bigger system monitoring application and one of things I had to create for this project, it’s a just published tcp port checker / scanner library for nodejs.
This little utility allows you to:
- check if a given port is being used
- get the first available port from a given range (useful [...]

one line http server

Date September 7, 2010

Sometimes I find myself doing some simple html project. Usually, it could be seen right from the hd using file://, but there are some stuff, that doesn’t necesarily work this way.
Instead of creating a new apache account etc. etc.. I found this simple line to create a http static server that server files from the [...]

automating openvpn configuration with php

Date July 21, 2010

Virtual Private Networks can be very handy, but even with easy-rsa scripts it’s a little time taking to add new computers to the network, especially if you frecuently add new machines.
With this handy php script you can automate this process a little bit - you could for example publish it on a web server and [...]

google releases a high quality video codec

Date May 19, 2010

This is some good news for the cross-browser video support in html5. As you might already know, there is a video tag, that allows videos to be played in browsers without any third party plugins (like flash player, for example).
The problem was that browser developers could not agree on which codec should be used for [...]

TVMallorca a través TDT en Kaffeine (Ubuntu)

Date November 17, 2009

Hace algún tiempo escribí como configurar Kaffeine para poder recibir IB3 usando TDT.
Desde hace unos días otra televisión local, TVMallorca (a la cual, por cierto, ayudamos en su día configurar la emisión a través de internet), está emitiendo en el formato digital.
Desgraciadamente, Kaffeine, al no tener configuradas las frecuencias, no encuentra este canal. Para remediarlo [...]

El Aire - (III Jornada sobre Soluciones Open Source para PYMES)

Date November 12, 2009

Estamos tan rodeados por el software libre y tan acostrumbrados a estar acompañados por él, que casi no nos damos cuenta de la cantidad de open source en todos los sitios. Como el aire, es esencial para la vida, pero ¿quién lo habrá notado antes de verse privado de él?
Quizás esa es la razón por [...]

how to convert powerpoint to flash (or another format) on linux

Date October 22, 2009

Importing a powerpoint presentation into a web application has been always a huge headache for a web developer, especially if your everyday environment is labeled with a penguin. I have seen dozens of converters for windows desktop, but they could not be used in our case.
Unfortunately, the old friend OpenOffice combined with some open source [...]

Problems with punjab in a local network (solved)

Date September 12, 2009

I have been using punjab for a while as an interface for BOSH protocol between my browser Strophe applications and other xmpp clients. This worked perfectly until the (sad) day I had no internet connection. Suddenly I could not connect through punjab with a local ejabberd server and got very confusing “not authorized” error messages.
I [...]

installing punjab xmpp http client interface on ubuntu-server

Date March 23, 2009

Punjab allows to connect to an xmpp server like ejabberd, from a client that supports http requests only (for ex. javascript / ajax). It uses some clever parallel connections to handle input and output streams, so there is very little latency when sending and receiving messages.
First, install needed libraries:
apt-get install python python-twisted
then, download the source [...]