(25) playing with bash autocompletion

Updated: as Blaxter notes, it’s necessary to open a new terminal after editing the bashrc file for the changes to take effect. Also, I’ve replaced the tail -n+2 with the -ss option. Thanks Baron Schwartz! One of the things I’ve been doing lately is doing some cleanup on my laptop. There are two things I’m constantly using on the shell: Open a project folder Connect to a MySQL Database Bash Functions I first made a bash function to help me with the projects paths:...

2011-03-10 · 3 min · 484 words · Víctor Jiménez Cerrada

My day yesterday 2009

This is an experiment I discovered thanks to my friend eckelon. You have to record one day of your life, create a 90 sec video without editing the sound, and upload it to the facebook group (My Day Yesterday). So, this was my day yesterday :D

2009-10-23 · 1 min · 46 words · Víctor Jiménez Cerrada

Blaapps 0.5.0 Released

After 21 months of sporadic work, I’ve finished the application for my “Thesis”. Today I’m proud to announce the release of Blaapps Application Framework version 0.5.0. I’ve done lots of work transforming rudder Application Server, a previous project, into an Application Framework. The Kernel of Blaapps is based on core Subsystems. Two of them are the most important: Deployer Messaging The Deployer reads components called Modules, and loads them into memory....

2009-08-24 · 2 min · 252 words · Víctor Jiménez Cerrada

Importing times in MySQL

One of the ways to import data into MySQL is using the LOAD DATA INFILE. It is a faster method than recovering from a dump, as it’s raw data instead of SQL sentences. The import time depends on the table engine, for example, MyISAM can be 40 times faster than Innodb. Let’s benchmark this: Preparation I’m gonna make some benchmarking using MySQL 5.1.36 (64 bits MacOS X). I’ll need a big table, so I’ll take City from the World Database and create a huge table called “city_huge”:...

2009-07-29 · 3 min · 520 words · Víctor Jiménez Cerrada

Warptlalk: Testing MySQL cluster with ANSTE

This month we’ll deliver this season’s last warptalk. Koke and me will repeat our talk from MySQL Users Conference. Title: Testing MySQL cluster with ANSTE Time: 18:00 CEST Place: Justin.tv Updated News: Twitter Our talks are recorded and uploaded to Vimeo and presentations are available on Slideshare. PD: Starring a chicken and a monkey.

2009-06-02 · 1 min · 54 words · Víctor Jiménez Cerrada

I'm twitting again

Yeah!! Twitter have reactivated my account :D. Good news!! I’ve written a patch for my wordpress theme and now it reads the caption from twitter :D. I still have to fix some performance problems, but… here it goes: require_once 'XML/Feed/Parser.php'; $feeds = fopen('http://twitter.com/statuses/user_timeline/26378338.atom','r'); $source = ""; if ($feeds) { while ($s = fread($feeds, 1024)) { $source .= $s; } } $feed = new XML_Feed_Parser($source,false,true,true); $first_entry = $feed->getEntryByOffset(0); $title = $first_entry->title; $little_title = substr($title, 13, 30); $little_title ....

2009-04-29 · 1 min · 105 words · Víctor Jiménez Cerrada

MySQL Conference 2009: I'm speaking

This wenesday I’ll be at the MySQL Conference & Expo 2009 as speaker :): koke and me will show how ANSTE can be used to test the MySQL Cluster. ANSTE is a testing tool for complex scenarios. It allows to run tests loading some virtual machines, configuring it’s network interfaces and runing some scripts on them.

2009-04-20 · 1 min · 56 words · Víctor Jiménez Cerrada

gems - Terminal Broadcasting

We had a issue for the next Warp Talk. All the talk will be done with a shell as presentation tool. But people won’t see the text on the shell trough the cam, as it resolution is limited. Isaac have found vía Debian package of the day Gems. Gems allows exactly what we need, broadcast a terminal by tcp/ip. Screen would be the first thought, but a ssh connection from unknown people was needed :S....

2009-02-19 · 1 min · 157 words · Víctor Jiménez Cerrada

Apache Authentication with eBox openLDAP

I’m using eBox to manage my server. eBox was mind for enterprise networks, but dns and email modules are very useful for a internet server. eBox manages email users with openLDAP (slapd), so I wanted all the services in my server to use the same authentication. This is the general configuration for apache authenticating with eBox, wich I use for my SVN repositories: # LDAP Authentication & Authorization is final; do not check other databases AuthzLDAPAuthoritative on # Do basic password authentication in the clear AuthType basic AuthBasicProvider ldap # The name of the protected area or "realm" AuthName "Triangulo de las merluzas Subversion Repositories" # Active Directory requires an authenticating DN to access records # This is the DN used to bind to the directory service # This is an Active Directory user account AuthLDAPBindDN "cn=admin,dc=ebox" # This is the password for the AuthLDAPBindDN user in Active Directory AuthLDAPBindPassword "secret" # Group Configuration AuthLDAPGroupAttributeIsDN off AuthLDAPGroupAttribute memberUid # The LDAP query URL AuthLDAPURL "ldap://localhost:389/ou=Users,dc=ebox?...

2009-01-31 · 1 min · 184 words · Víctor Jiménez Cerrada

RSS Chaos

I updated my Wordpress today and it looks like there’s some chaos with the rss feed. Sorry if it gets some spamming behaviour, I’m working on it.

2009-01-30 · 1 min · 27 words · Víctor Jiménez Cerrada