What type of music do you listen? Funny email I received in spanish

ETAPAS EN EL TRABAJO

Recién llegado (just arrived)



Escuchas  a Mana, Juanes o una de esas cursilerias
(Es el primer día de trabajo y todo es maravilloso)

Después de 6 meses…

Escuchás música POP
(Estás completamente metido en lo que estás haciendo y quieres ser el mejor en tu área)

Después de 1 año meses…

Escuchás Heavy Metal
(Tu día laboral comienza a las 08.00 am y termina a las 8.00 pm, te estás poniendo histérico de tener todos los días los mismos problemas, con la misma gente)

Después de 3 años…

Escuchás Hip Hop
(Engordaste por culpa del estress, y sufres de estreñimiento.
Te diste cuenta de que no puedes salvar al mundo, ya te da igual, total… igual te pagan)

Después de 5 años…

Escuchás GANGSTA RAP
(Te duele la cabeza, olvidaste el significado de ‘buenos días’, te sientes como si
recién te hubieras caído de la cama y vives sólo de cafeína!! que nadie cuestione tu trabajo porque lo mandás a la mierda)

A partir del 5 º año…

Escuchás Voces en tu cabeza !!!
y te volviste un poco … looooooco! se te olvida en donde estacionaste el coche, como llegaste a
la oficina, si te pusiste anti-transpirante y que día de la semana es.
Te dice una voz en tu cabeza que la única manera de solucionar los problemas en el trabajo es matándolos a todos
!!

Basic Linux administration

Just a quick Reference for linux dedicated server administration

Basic Administration:

I got out of the initial release nearly as soon as I started using the server.
And have had a hard time working a lot of things out, so I just thought I share a few basic administration technics. Maybe, this will just be for myself. Maybe it will be of use for someone, one day.

Basic comands:
See what is going on with the machine:

Processes:
>> top
>> ps -aux

Space left on disks
>> df -h
-h is the option, which you tend to use to see the memory in human readable format
>> du -h –max-depth=1

you can move some folder from your /system/ partition to an other with more space by replacing the folder by a symbolic link. I am not sure this is best pratice, but if you run out of space, then this can be a life saving task.

Exemple:
>> mv /var/log /home/system/var/log ; ln -s /home/system/var/log /var/log

Virtual Memory
>> free

Server information
>> uname -a
>> hostname
>> ifconfig

Data manipulation

>> history | less

Finding data

>> which php
>> whereis php

Users and privileges:

>> chpwd
>> chown
>> chmod
>> chgrp

File Content:

>> cat filename | less
>> head filename
>> tail filename
>> vim filename

>> echo “whaterver you want to add” >> filename

Putting text in a file
>> history > filename.txt

Database:

>> mysql -h localhost -u username -p database_name < filename.sql
>> mysqldump -h localhsot -u username -p database_name –add-drop-table > filename.sql

Usefull queries:

database sizes:

SELECT table_schema "Data Base Name", sum( data_length + index_length) / 1024 / 1024
"Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema ;

Archive:

unpack
>> tar xvfz archivename.tar.gz
pack
>> tar cvfz archivename.tar.gz folder1 folder2 …

But there is nothing really specific to gentoo here, and there is much more to linux administration than this. You should also find many much better manuals arround, which will cover this in much more detail.

Updating Hardware clock

Checking the time:
>> date

Checking the time on a time server:
>>htpdate -d -q www.linux.org www.freebsd.org

Update the time, simply replace the -q with -s
>> htpdate -ds www.linux.org www.freebsd.org

Web development team

It is worldcup frenzy time.

And watching all these matches really makes me think “a football” team works just like a web development team.

If we strip off the context, then at the end of it we get exactly the same thing. A team playing their best for a simple objective. Put the ball in a goal

For a start a football team:

11 players all specialised in their own speciality (goal, keeper, striker, wing, defender). & Coach a trainer, manager, all playing with one objective: Win as many matches as possible ..etc.

A web development team works in the same way.

Many players (systems, expert, developper), the project manager would be the coach, manager, trainer. All playing with one objective. Put the website online.

These all have their similarities. We need to select the best specialist for the task which we are doing. We need to train them. We need the developpers to run the sprints as fast and as well as possible. The coach is there to bring support to the team., and make money (satisfied customers or supports on the other).

There are a huge amount of similarities between these 2 fields (catering, building, police, hospitals), but at the same time this can be said for almost any other job. It is just simple management really.