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
// PDF FILES | |
gs \ | |
-sDEVICE=pdfwrite \ | |
-sPDFSETTINGS=prepress \ | |
-sCompatibilityLevel=1.4 \ | |
-r300 \ | |
-r300x300 \ | |
-sDownScaleFactor=3 \ | |
-sProcessColorModel=DeviceGray \ |
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
Realizar proyecto en NodeJS donde muestres si es numero par o impar | |
Detalle: | |
El numero se lo mandaras a través de la URL (Sera una api en NodeJS). | |
donde tendrás que hacer la operación para saber si es numero par o impar mostrando el siguiente mensaje: | |
- El numero "X" es un numero [par | impar] | |
Ejemplo de URL: | |
http://localhost:8080/ejemplo?numero=10 |
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 | |
# | |
# v1.0.0 | |
# [LINK]: https://github.com/markogresak/cloud-ignore-files | |
# Usage: | |
# - Call script to register sync script with launchd. | |
# - Call with `--no-logs` to disable logging. | |
# - Call with `--uninstall` or `--remove` to unregister from launchd and clean up files. | |
# Adjust the paths to match your system (do not end the path with /). |
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
// Old | |
function Poligono(height, width) { | |
this.height = height; | |
this.width = width; | |
} | |
Poligono.prototype.area = function() { | |
return this.height * this.width; | |
}; |
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
const path = require('path'); | |
require('fs').readdirSync(__dirname).forEach((file) => { | |
/* If its the current file ignore it */ | |
if (file === 'index.js') return; | |
const MODULE = require(path.join(__dirname, file)); | |
module.exports[path.basename(file, '.js')] = MODULE.default || MODULE; | |
}); |
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
import fs from 'fs'; | |
export default class X12 { | |
constructor(file) { | |
if (file.includes('/')) { | |
fs.readFile(file, 'utf8', (err, contents) => { | |
return this.parseTextToJSON(contents); | |
}); | |
} else { |
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
----------------------------134606074717522154894905 | |
Content-Disposition: form-data; name="fake"; filename="940.edi" | |
Content-Type: application/octet-stream | |
ISA*01*0000000000*01*0000000000*ZZ*ABCDEFGHIJKLMNO*ZZ*123456789012345*101127*1719*U*00400*000003438*0*P*> | |
GS*OW*7705551212*3111350000*20000128*0557*3317*T*004010UCS | |
ST*940*0001 | |
W05*N*538686**001001*538686 | |
N1*ST*GRITS BREAD COMPANY*ZZ*00046349 | |
N3*2100 SOUTHEAST AVE |
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
Almacena los paquetes de Atom en GitHub con Sync-Settings |