PostgreSQL en MAC OSX

Descargar el paquete de acá:http://www.kyngchaos.com/software:postgres Y si queres tambien la extensión PostGIS. Esto descarga un dmg. Instalaro nomás. Ojo que por lo menos debes tener osx 10.6 y cpu de 64 bits. Ver el log:   sudo tail -f /usr/local/pgsql/var/postgresql-2012-09-21.log Probar si te podes conectar estando logueado con tu user:   psql -U postgres -h localhost Tuve […]

Usando gzip

The following examples illustrate typical uses of the command gzip for compressing (or “packaging”) a file into an “archive file”. gzip archivefile1.txt This command compresses the file archivefile1.txt and replaces it with the compressed version named “archivefile1.txt.gz”. If you want to keep the uncompressed version, you can use the -c option, which writes to standard out, and then […]

Trabajando con Mango en Ecplipse

Instalarlo en el eclipse Descargar el proyecto desde http://mango.serotoninsoftware.com/download.jsp  Descomprimirlo Add empty subdirectories “lib”, “src_gen” and “src_test” to the extracted forlder. In file build.properties, edit tomcat.home to point at the tomcat location on your system.  For windows, make sure forward slashes “/” are used in the tomcat.home path. In my case:  /Users/gonzo/Applications/apache-tomcat-6.0.35 Get axis-ant.jar from somewhere […]

Usando rsync

Para copiar a una maquina remota: rsync -avz /root/temp [email protected]:/home/thegeekstuff/ -v: vervose-a: archive mode-z: compress–progress: mostrar progreso para cada archivo nota: en este ejemplo crearía la carpeta temp en destino. Archive mode es lo mismo que ingresar todos estos params: -r, –recursive recurse into directories-l, –links copy symlinks as symlinks-p, –perms preserve permissions-t, –times preserve […]

Parallax Effect

DEMOhttp://www.ianlunn.co.uk/demos/recreate-nikebetterworld-parallax/ EXPLANATIONhttp://www.ianlunn.co.uk/blog/code-tutorials/recreate-nikebetterworld-parallax/