Archivo del Autor: carlosap

screen practico

ctrl a + c CREATE WINDOW ctrl a + n where N is a number from 0 to 9, to switch to the corresponding window. ctrl a + p previous window ctrl + a + A NAME SESSION ctrl + a + » interactive list ctrl +a + w  non interactive list   ctrl a +… Leer más »

Categoría: Nix

Better Cygwin Terminal

mintty is an option — http://code.google.com/p/mintty/ Better Cygwin Terminal mintty is an option — http://code.google.com/p/mintty/ «Mintty is a terminal emulator for Cygwin and Cygwin derivatives such as MSYS. It can be downloaded from here or it can be installed through Cygwin’s setup.exe program, where it can be found in the Shells category. The Cygwin installer… Leer más »

Parallel gzip for modern multi-processor, multi-core machines

A parallel implementation of gzip for modern multi-processor, multi-core machines   You can download the latest source code right here: pigz source code version 2.1.6 (17 Jan 2010) in tar.gz format (51K, MD5 checksum cbe9030c4be3d0ef2438ee5f8b169ca4) pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and… Leer más »

Categoría: Nix

Persistent reverse SSH tunnel

A little while ago, I found myself with the desire to access my home machine when I’m not at home. (I was mostly looking for the ability to do things like set off an OpenSolaris «nightly» build from work so that it would be done before I was at home in front of my computer… Leer más »

Categoría: Nix

Reverse tunneling

What is the usage for reverse tunneling? Let say I have my server open ssh port to public, which means remote host from the Internet can access to my server through ssh. Another side, my friend’s machine do not open ssh port to public or his machine is behind the firewall. With this condition, my… Leer más »

Categoría: Nix

nohup Execute Commands After You Exit From a Shell Prompt

Most of the time you login into remote server via ssh. If you start a shell script or command and you exit (abort remote connection), the process / command will get killed. Sometime job or command takes a long time. If you are not sure when the job will finish, then it is better to… Leer más »

Categoría: Nix

_Lock VST table

Default Re: Reading _Lock hangs???? Reading _Lock is especially tricky There are no indexes on VSTs and they mostly mirror C data structures rather than actual database tables. Many VSTs (including _Lock) should be read in a manner that excludes key values of ? as these indicate unused entries in fixed arrays inside the db… Leer más »

oracle vs progress

I’ll give you 10 quick features of Oracle 10g, that I seriously doubt that we will even see by the time Progress gets to version 15. 1) database reorgs online (the equivelent of a dump & load online) 2) Database level, Table level, row level or transaction level rewind. (not rollback – you can literally… Leer más »

listar con ruta ls

Listar con ruta for i in `ls`; do echo $PWD/$i ; done Con parametros para logs for i in `ls *.log`; do echo $PWD/$i ; done Este es el bueno ls -dlR $PWD/*