This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gist.github.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ = jQuery | |
| $.fn.inputClear = (options={}) -> | |
| @each (i, input) -> | |
| input = $(input) | |
| clearButton = input.data("clear-button") | |
| init = -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| BINDIR=$(dirname "$(readlink -fn "$0")") | |
| cd "$BINDIR" | |
| #cambia al directorio bindir sirver para cambiar al directorio de donde corre el script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select x , | |
| (select array_to_json(array_agg(row_to_json(t))) from (select asistentes.apellido as evaluador, evaluacion from evaluadoresxresumen left join asistentes using(idasistente) where idresumen=resumenes.idresumen) t) as evals2 | |
| from xxx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| fecha=`date +%Y-%m-%d_%H_%M` | |
| mkdir $fecha | |
| cd $fecha | |
| echo "copia base de datos dbname" | |
| ssh -C desarrollo@remoto.com 'export PGPASSWORD=clave_postgresql; /usr/lib/postgresql/9.5/bin/pg_dump -v -Uusuario -hlocalhost -p5432 dbname '>archivo.sql | |
| echo "comprimiendo" | |
| gzip -f -9 *.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Bibliotecas() { | |
| } | |
| let b = new Bibliotecas(); | |
| b.nombre = 'uno' ; | |
| console.log(b); | |
| console.log(b.__proto__) ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git log --pretty='format: %an el %ai %n modific贸 : >>%s<<%n' -10>/tmp/cambios.txt | |
| xed /tmp/cambios.txt | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.tmuxinator/tportal.yml | |
| name: tportal | |
| #ruta del proyecto laravel | |
| root: /datos/webs/portalesrevistas | |
| #definici贸n de ventanas | |
| windows: | |
| - portales: | |
| layout: tiled | |
| #secciones de la ventana | |
| panes: |
OlderNewer