Tweeter buttonFacebook buttonLinkedin button
December
8
2009

Wicd: Alternative for NetworkManager

It is an alternative for a NetworkManager who some time makes me crazy when it doesn’t work as I like. And I have to kill it for work.

Wicd is an open source wired and wireless network manager for Linux which aims to provide a simple interface to connect to networks with a wide variety of settings.

Some of Wicd’s features include:

1. No Gnome dependencies (although it does require GTK), so it is easy to use in XFCE, Fluxbox, Openbox, Enlightenment, etc.
2. Ability to connect to wired (Ethernet only, no PPPoE/DSL support yet) and wireless networks
3. Profiles for each wireless network and wired network
4. Many encryption schemes, some of which include WEP/WPA/WPA2 (and you can add your own)
5. Remains compatible with wireless-tools
6. Tray icon showing network activity and signal strength
7. A full-featured console interface

There are instructions for installing Wicd on Ubuntu, Debian, Arch, Fedora, Slackware, and Gentoo on the downloads page, although it should work on any Linux distro.

Source:
http://wicd.sourceforge.net/

December
7
2009

Fork alternative in PHP

This is an alternative of fork in PHP with exec() function:

exec("/bin/ping 192.168.0.1 -c 12 2>/dev/null >&- <&- >/dev/null &");

Sources:
http://joseph.randomnetworks.com/archives/2005/10/21/fake-fork-in-php/
http://immike.net/blog/2007/04/08/fork-php-and-speed-up-your-scripts/

November
23
2009

Open1X – IEEE 802.1X open source implementation

Open1X is an open source implementation of the IEEE 802.1X protocol. This project includes support for the supplicant, while other projects (e.g., FreeRADIUS) provide support for the authentication server.

Source:
http://open1x.sourceforge.net

November
18
2009

LiVES – Because the media should be open

LiVES is a Video Editing System. It is designed to be simple to use, yet powerful. It is small in size, yet it has many advanced features.

And the most important thing is … LiVES is a Free, Open Source video editor *and* a VJ tool.

Source:
http://lives.sourceforge.net/

September
23
2009

Scribus – Open Source Desktop Publishing

Scribus is an Open Source program that brings award-winning professional page layout to Linux/UNIX, Mac OS X, OS/2 Warp 4/eComStation and Windows desktops with a combination of “press-ready” output and new approaches to page layout. Underneath the modern and user friendly interface, Scribus supports professional publishing features, such as CMYK color, separations, Spot Colors, ICC color management and versatile PDF creation.

Manual (Spanish) written by Antonio Cobo Cuevas, Profesor of informatics in I.E.S. Fuente de la Peña (jaen)

September
22
2009

What’s shebang?

shebang/hashbang/haspling is…

#! <- The first two characters used in Unix-like in a script file, they're read by the program reader looking for the interpreter of this script, that is specified after the shebang. For example:

#! /bin/sh

August
21
2009

4000 Km de cable submarino



August
20
2009

Set UTF-8 encoding in VIM

Edit your .vimrc settings file to include the following line:

set enc=utf-8

And you should be able to edit a UTF-8 file in Windows using gvim.
For Linux, just set the locale to utf-8 such as:

export LANG=en_SG.UTF-8

Source: http://research.mosuma.com/faq/howto/vim-utf8

June
20
2009

Bandwidth limit

Some times we need to limit the traffic that uses some applications. In my case, when I download big files. So:

If we use wget, It is doted with –limit-rate option that permits set the limit of traffic.

Example:
# wget –limit-rate=50k http://lexo.lx-networks.net/testingfile.gz

This example limits wget to uses 50KBps maximum of download traffic.

But … ¿what’s up when we need use other application that it hasn’t the same option like this? Don’t worry, looking for it option I found a solution to do it. :D

trickle: is a portable lightweight userspace bandwidth shaper. It can run in collaborative mode (together with trickled) or in stand alone mode.

It works by taking advantage of the unix loader preloading. Essentially it provides, to the application, a new version of the functionality that is required to send and receive data through sockets. It then limits traffic based on delaying the sending and receiving of data over a socket. trickle runs entirely in userspace and does not require root privileges.

Example:
# trickle -s -d 120 -u 100 firefox

This example limits to firefox uses 120KBps for download and 100KBps for upload of traffic.

These are simple methods, because we can use traffic control at kernel level.

May
10
2009

Depeche Mode – Enjoy the silence Mixes

1. Enjoy The Silence (Future Mix)
2. Enjoy The Silence (Joachim Garraud Remix)
3. Enjoy The Silence (D’azzo At Night Exeteded GuiEh)
4. Enjoy The Silence (Gasparian 2008 Mix)
5. Enjoy The Silence (Growling Machines Remix 2008)
6. Enjoy The Silence (DJ Aptekar’ Crazy 2008 Edit)
7. Yvan & Dan Daniel – Enjoy The Silence (Minimal Chic 4 Big Room Remix)
8. Enjoy The Silence (Léo Master Private Mix)
9. Enjoy The Silence (Tony Costa House Mix)
10. Yvan & Dan Daniel – Enjoy The Silence

Download here

May
8
2009

Desktop Integration plugin for aMSN

If you’re vexed of see the classic Tcl/Tk dialogs windows, now with this plugin you can forget some classic dialogs( Open File, Save As, Info Boxes and Yes-No Questions) wen you use aMSN.


*KNOWN ISSUES:

Only a dialog can be opened at a time.
It’s for KDE or GNOME.

Download plugin here.

April
30
2009

Richie Hawtin Live Sets

These are good minimal live sets that you should download.

Richie Hawtin @Aztek Festival Slovakia 2008

Richie Hawtin @538 Dance Department 11-25-2007

Richie Hawtin @Bedroom 04-02-07, Essential Minimal Mix

April
28
2009

BASH I/O stdout, stdin, and stderr

Some times we don’t want that command print out messages, and we need to clean all out messages (error or standard out) that it generates. For to solve this, we are going to use the I/O facility provided by BASH.

BASH provide 3 file descriptors, and they are:
0 – stdin – Used for get data.
1 – stdout – Used for write standard data into screen.
2 – stderr – Used for write error messages into screen.

So, using redirector (>) we can redirect(obviously) this data/messages wherever we want and also files.

Examples:
¿How to redirect error messages(stderr) to standard out(stdout)?

ls this.file.doesnt.exist 2>&1

¿How to redirect error messages(stderr) to limbo(/dev/null)?

ls this.file.doesnt.exist 2> /dev/null

¿How to redirect error(stderr) and standard out(stdout) messages to limbo?

ls this.file.doesnt.exist &> /dev/null
or
ls this.file.doesnt.exist 2> /dev/null 1>&2

April
27
2009

Lasgo – Something



- Download it here: Lasgo – Something – (Club Mix).mp3

April
16
2009

DAHDI Linux 2.1.0.4 with OSLEC

Today I was installing DAHDI Linux 2.1.0.4 with OSLEC support and this is my little experience with it…

I needed modify drivers/dahdi/Kbuild

# Only enable this if you think you know what you’re doing. This is not
# supported yet:
obj-m += dahdi_echocan_oslec.o
#
# A quick and dirty way to build OSLEC, if you happened to place it
# yourself in the dahdi source tree. This is experimental. See README
# regarding OSLEC.
#obj-m += ../staging/echo/
obj-m += ../staging/echo/echo.o

After I did it, I needed copy echo directory from the kernel linux-2.6.28.7 sources indahdi-linux-2.1.0.3/drivers/staging

cd dahdi-linux-2.1.0.3/
mkdir drivers/staging
cp -r /usr/src/linux-2.6.28.7/drivers/staging/echo drivers/staging

So… I installed the package and enabled the card with OSLEC echo canceller.