- http://dochub.io_ (Manuales de referencia técnicos interactivos)_
- javascript-style-guides-and-beautifiers_ (Guías de estilos)
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
@ECHO OFF | |
setLocal EnableDelayedExpansion | |
@REM ************************************************************************* | |
@REM Purpose: Runs BI Publisher Catalog Utility on Windows OS | |
@REM Author: Dmitry Nefedkin ([email protected]) | |
@REM Description: script is based on BIPCatalogUtil.sh | |
@REM found in $MW_HOME\Oracle_BI1\clients\bipublisher\ of Oracle BI EE 11.1.1.6 installation | |
@REM Last changed: Oct, 25, 2012 18:00 | |
@REM Version: 0.1 | |
@REM ************************************************************************* |
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
@ECHO OFF | |
setLocal EnableDelayedExpansion | |
@REM ************************************************************************* | |
@REM Purpose: Runs BI Publisher Catalog Utility on Windows OS | |
@REM Author: Dmitry Nefedkin ([email protected]) | |
@REM Description: script is based on BIPCatalogUtil.sh | |
@REM found in $MW_HOME\Oracle_BI1\clients\bipublisher\ of Oracle BI EE 11.1.1.6 installation | |
@REM Last changed: Oct, 25, 2012 18:00 | |
@REM Version: 0.1 | |
@REM ************************************************************************* |
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
<!-- ==================================== | |
Colors for git annotation | |
====================================== --> | |
<dict> | |
<key>name</key> | |
<string>Git Modified Line</string> | |
<key>scope</key> | |
<string>git.changes.x</string> | |
<key>settings</key> | |
<dict> |
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
def force_unicode(string, codecs=['utf8', 'cp1252']): | |
""" Force use unicode when you don't know correct codec of the string """ | |
for i in codecs: | |
try: | |
return unicode(string, i) | |
except: | |
pass |
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
# encoding=utf-8 | |
# Idea of a Custom data types for validate the Chilean RUT in Flask-RESTful | |
# by @lacosox | |
from itertools import cycle | |
#rut='XXXXXXXX-X' | |
def chilean_rut(rut_text): | |
rut_text.upper().strip().replace(".", "").replace("K", "10") | |
(rut, dv)=rut_text.split('-') |
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
## 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 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 | |
# | |
# 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 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 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 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 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;" /> |