divendres, 15 de juny del 2012

Installing task warrior in Ubuntu

Taskwarrior is a command-line todo list manager.

In a world with a lot of virtualized and remotes servers, we need a Post-It alternative ;-)

To install Task Warrior, execute:

sudo add-apt-repository ppa:ultrafredde/ppa
sudo apt-get update
sudo apt-get install task


Quick steps in task:

List tasks
task

Add a task
task add "task to do"

Add a note to a task
task #n annotate "a note"

Done a task
task #n done

There are a lot of commands, you can found them at task warrior wiki


Example:


task
[task next]

ID Project Pri Due A Age Urgency Description
2 4m 0.9 Instal·lar OrientDB
6/15/2012 http://www.orientdb.org
6/15/2012 PHP connector https://github.com/congow/Orient
1 5m 0.8 Instal·lar doophp
6/15/2012 http://doophp.com/

2 tasks



There are plans to release a task warrior server, interesting.

dijous, 14 de juny del 2012

Quick steps with postgres for MySQL admins

Connect (really we are login with postgres user):
su - postgres

show databases:
psql -l
or after connect without a database selected
\l

Connect to database:
psql [database] [username]

Show tables:
\d

Describe table:
\d+ table

Show rows per table:
SELECT schemaname,relname,n_live_tup
FROM pg_stat_user_tables
ORDER BY n_live_tup DESC;


Quit:
\q

dimecres, 8 de febrer del 2012

sudoer warning message in Red Hat 6.2

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.


World-Wide-Web Spiderman Quotes ;-)

dimecres, 18 de gener del 2012

Els desenvolupadors d'IBM i, incondicionals d'IBM

A l'enquesta el·laborada per Zend el novembre del 2011 a 3.335 desenvolupadors de PHP, que podeu trobar a aquest enllaç:

http://venturebeat.com/2012/01/11/what-developers-will-be-doing-learning-listening-to-in-2012-survey-results/

Developer Pulse (PDF)

Observem que un 3% dels enquestats respon que durant el 2012 emprarà regularment RPG, el llenguatge de programació per excel·lència del sistema IBM i (AS/400).



Coincideix en número amb el percentatge de desenvolupadors que indiquen que el 2012 faran servir la cloud pública d'IBM, la recent IBM Smart Cloud.



Era previsible, els desenvolupadors d'IBM i som poquets, però incodicionals d'IBM :)

dimarts, 17 de gener del 2012

PHP vs Ruby vs Python [infographic]

A udemy (actualment estan fent canvis en el seu servidor i es trenquen tots els enllaços) han fet un inforgraphic força interessant que compara PHP, Ruby i Python en quant a acceptació, ofertes laborals, corva d'aprenentatge, etc...

Si sou desenvolupadors PHP, no oblideu de posar 'PHP Developer' en alguna banda del vostre perfil LinkedIn, i així comptar a les estadístiques. Una dada: a 15 de desembre del 2.011, segons udemy, hi havia 18.950 perfils LinkedIn a la cerca 'PHP Developer', a dia d'avui 229.597!


dimarts, 3 de gener del 2012

Incredible Things That Happen Every 60 Seconds On The Internet

In a single minute there are over 695,000 status updates on Facebook. That's just one example of the mind boggling scale of online activity.

The following infographics show a bunch of other incredible things that happen in 60 seconds (via Barry Ritholtz).



Read more: http://www.businessinsider.com/incredible-things-that-happen-every-60-seconds-on-the-internet-2011-12#ixzz1iOTof7Qj

dimarts, 15 de novembre del 2011

Network Upgrade for Ubuntu Servers

  1. Ensure you're up to date with latest release:

    sudo apt-get update
    sudo apt-get upgrade
  2. Install update-manager-core if it is not already installed:

    sudo apt-get install update-manager-core
  3. edit /etc/update-manager/release-upgrades and set Prompt=lts

Note: The minumum contents of /etc/update-manager/release-upgrades should be

[DEFAULT] Prompt=lts
  1. Launch the upgrade tool:

    sudo do-release-upgrade
  2. Follow the on-screen instructions.
  3. At the end of the upgrade process you will be required to restart the server in order to boot into the new kernel. If you do not have access to the console of the system you are upgrading, you may need to edit /boot/grub/menu.lst and change the default boot kernel to the newly installed 10.04 kernel. If this step is not performed your server may attempt to boot into the 8.04 LTS kernel and will hang.