- http://dochub.io_ (Manuales de referencia técnicos interactivos)_
- javascript-style-guides-and-beautifiers_ (Guías de estilos)
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
## This is a directory/file filter for WinMerge | |
## This filter is a helper for compare 2 laravel proyects in Windows | |
name: Exclude Laravel useless | |
desc: Exclude additional data from Laravel Proyects | |
## This is an inclusive (loose) filter | |
## (it lets through everything not specified) | |
def: include | |
## Filters for filenames begin with f: |
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 | |
# | |
# This file echoes a bunch of color codes to the | |
# terminal to demonstrate what's available. Each | |
# line is the color code of one forground color, | |
# out of 17 (default + 16 escapes), followed by a | |
# test use of that color on all nine background | |
# colors (default + 8 escapes). | |
# |
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 lang="en"> | |
<head> | |
<title>Prueba Canvas</title> | |
<script type="text/javascript"> | |
function dibujar() | |
{ | |
var canvas=document.getElementById('miCanvas'); | |
var ctx=canvas.getContext('2d'); | |
ctx.fillRect(100,100,200,50); |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>SVG</title> | |
</head> | |
<body> | |
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"> | |
<rect x="100" y="100" width="200" height="100" style="stroke:#FF0000; fill:#FF0000;"/> | |
<polygon points="100,100 150,50 200,100 250,50 300,100" style="stroke:#FF0000; fill:#FF0000;" /> |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Web SQL</title> | |
<script type="text/javascript"> | |
function almacenar() | |
{ | |
var db=openDatabase('Mibbdd','1.0','mi base de datos', 2*1024*1024); | |
db.transaction(function(tx) |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Web Storage</title> | |
<script type="text/javascript"> | |
function almacenar() | |
{ | |
if (typeof(Storage)!=='undefined') | |
{ |
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
help='translate <text> [[<source language>] <target language>] | |
if target missing, use DEFAULT_TARGET_LANG | |
if source missing, use auto' | |
# adjust to taste | |
DEFAULT_TARGET_LANG=en | |
if [[ $1 = -h || $1 = --help ]] | |
then | |
echo "$help" |
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
extract () { | |
if [ -f $1 ]; | |
then | |
case $1 in | |
*.tar) tar -xvf $1 ;; | |
*.tgz) tar -xvzf $1 ;; | |
*.tar.gz) tar -xvzf $1 ;; | |
*.tbz2) tar -xvjf $1 ;; | |
*.tar.bz2) tar -xvjf $1 ;; | |
*.gz) gunzip $1 ;; |
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
var Persona = { | |
nombre: "", | |
getNombre: function(){ | |
this.pensar('Entrego mi nombre<br/>'); | |
return this.nombre; | |
}, | |
setNombre: function(nombre){ | |
this.pensar('Cambio mi nombre<br/>'); | |
this.nombre=nombre; | |
}, |