Skip to content

Instantly share code, notes, and snippets.

View aretche's full-sized avatar

Gabriel Arellano aretche

View GitHub Profile

Keybase proof

I hereby claim:

  • I am aretche on github.
  • I am aretche (https://keybase.io/aretche) on keybase.
  • I have a public key whose fingerprint is 63E7 9F5C DD3F 9A12 CACF 3A42 A294 BD54 3D68 579A

To claim this, I am signing this object:

@aretche
aretche / bitacora_docker.txt
Created May 13, 2015 23:50
Bitácora de Uso de Docker
Instalación:
- sudo apt-get update
- sudo apt-get install wget
- wget -qO- https://get.docker.com/ | sh
- sudo usermod -aG docker usuario
!!! REINICIAR !!!
Para reiniciar el servicio (si se comporta raro)
@aretche
aretche / testredir.pas
Created February 18, 2015 23:43
Ejemplo de redirección de salida estándar en FreePascal
program TestRedir;
{$mode objfpc}
uses
Sysutils, baseunix;
var
FOUT : ^File;
TempHOut : longint;
@aretche
aretche / gist:10758324
Created April 15, 2014 18:47
Convertir los registros de una tabla PostgreSQL a CSV (incluyendo campos en el encabezado)
COPY your_table_name to '/tmp/your_table_name.csv' delimiters',' CSV HEADER;