Skip to content

Instantly share code, notes, and snippets.


Ulises Vázquez Espinoza espinozaulises

View GitHub Profile
View ajustaMontos
ajustaMontos(datos: NcDevolucion, rel: NcRelDevolucion, valor: number) {
/* Calculamos el saldo por facturar de el doc relacionado actual */
let id =;
let saldoFactura = rel.montoPorPagar - valor;
rel.saldoFactura = saldoFactura;
let totalNc = - valor;
var r = datos.relacionados;
for (const prop in r) {
View OpenSans.css
Open Sans
@fontPath: '../fonts'; /* LESS Syntaxis. Replace this in CSS */
@font-face {
font-family: 'OpenSansLight';
src: url('@{fontPath}/OpenSans-Light-webfont.eot');
src: url('@{fontPath}/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('@{fontPath}/OpenSans-Light-webfont.woff') format('woff'),
url('@{fontPath}/OpenSans-Light-webfont.ttf') format('truetype'),
espinozaulises / csv_to_array.php
Created Sep 20, 2012 — forked from jaywilliams/csv_to_array.php
Convert a comma separated file into an associated array.
View csv_to_array.php
* Convert a comma separated file into an associated array.
* The first row should contain the array keys.
* Example:
* @param string $filename Path to the CSV file
* @param string $delimiter The separator used in the file
* @return array
espinozaulises / fonts.css
Created Sep 9, 2012
Style Sheet Open Sans @font-face kit
View fonts.css
Open Sans
@font-face {
font-family: 'Open Sans';
src: url('fontPath/OpenSans-Light-webfont.eot');
src: url('fontPath/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('fontPath/OpenSans-Light-webfont.woff') format('woff'),
url('fontPath/OpenSans-Light-webfont.ttf') format('truetype'),
url('fontPath/OpenSans-Light-webfont.svg#OpenSansLight') format('svg');
You can’t perform that action at this time.