This file contains 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"> | |
<title>Template</title> | |
<link rel="stylesheet" href="template.css" type="text/css" media="screen" title="no title" charset="utf-8"> | |
</head> | |
<body> | |
<header> | |
<h1>Template</h1> |
This file contains 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
Array.prototype.random = function () { | |
var self = this | |
var conteo = self.length | |
var temp, x | |
for (var i = conteo - 1; i >= 0; i--){ | |
temp = self[i] | |
x = Math.floor(Math.random() * conteo) | |
self[i] = self[x] | |
self[x] = temp |
This file contains 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
//= require jquery | |
//= require jquery-ui.min | |
//= require jquery_ujs | |
//= require ckeditor/filebrowser/javascripts/jquery.tmpl.min.js | |
//= require ckeditor/filebrowser/javascripts/fileuploader.js | |
//= require ckeditor/filebrowser/javascripts/application.js |
This file contains 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
$.QueryString = (function(a) { | |
if (a == "") return {}; | |
var b = {}; | |
for (var i = 0; i < a.length; ++i) | |
{ | |
var p=a[i].split('='); | |
if (p.length != 2) continue; | |
b[p[0]] = decodeURIComponent(p[1].replace(/\+/g, " ")); | |
} | |
return b; |
This file contains 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
/* | |
* | |
* Teclear el código en una consola de JS (en un navegador) | |
* Los comentarios de una línea (//) son conceptos | |
* Los comentarios de una línea + flecha sencilla (//->) es código que se puede teclear en la consola. | |
* Los comentarios de una línea + flecha doble (// => ) es la respuesta que se obtiene. | |
* | |
* Copyright (c) 2012 Emmanuel Ayala Mexicano | |
*/ |
This file contains 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' /> | |
<style> | |
/* Las siguientes reglas son para visualizar la etiqueta head, style y meta */ | |
head {display: block; border: 2px dotted #ccc; width: 500px; height: auto; margin: 0 auto; padding: 1em; background: black;} | |
style {display: block; width: 100%; height: auto; background: orange; color: #000; font-size: 12px;} | |
meta {display: block; width: 100%; height: auto; background: red; color: #000; font-size: 12px;} | |
meta:after {content: "/>";} |
This file contains 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
<package xmlns='http://experience.univ-lyon1.fr/advene/ns' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:tst='http://experience.univ-lyon1.fr/advene/ns/test' dc:creator='Emmanuel Ayala Mexicano' dc:date='2005-05-11' id='test'> | |
<meta> | |
<duration xmlns='http://experience.univ-lyon1.fr/advene/ns/advenetool'>80313</duration> | |
<mediafile xmlns='http://experience.univ-lyon1.fr/advene/ns/advenetool'>F:\EMMANUEL\ADVENE + VLC\proyectos\videos\objeto de deseo.mov</mediafile> | |
<title xmlns='http://purl.org/dc/elements/1.1/'>Objeto de Deseo</title> | |
</meta> | |
<imports> | |
</imports> | |
<annotations> |
This file contains 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 | |
SITIO="$1" | |
PRUEBAS="${1}-dev" | |
USUARIO="$2" | |
PUERTO="22" | |
REPOSITORIO_REMOTO="/var/repo/$SITIO" | |
SHEBANG="#!/bin/bash" | |
BRANCH='\$branch' | |
REF2='\${ref[2]}' |
This file contains 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 | |
SITIO="$1" | |
USUARIO="$2" | |
PUERTO="22" | |
REPOSITORIO_REMOTO="/var/repo/$SITIO" | |
SHEBANG="#!/bin/bash" | |
SITIO_HTDOCS="/var/www/$SITIO" | |
read -r -d '' HOOK <<EOF | |
${SHEBANG} |
This file contains 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
CONFIGURAR | |
git config --global user.name "" | |
git config --global user.email "" | |
color.ui=true | |
CREAR REPOSITORIO | |
# Iniciar repositorio en la carpeta en la que se está | |
init |