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
# Based on https://github.com/thypon/python-stripzip | |
import mmap | |
import os | |
import sys | |
from struct import Struct | |
# Remove zip metadata. | |
def zip_strip(zip): | |
# Remove extra data. | |
def remove_extra(mm, offset, length, compressed_size = 0): |
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
import os | |
import sys | |
from datetime import datetime | |
# pip download openpyxl xlrd | |
sys.path.append('./et_xmlfile.whl') | |
sys.path.append('./openpyxl.whl') | |
sys.path.append('./xlrd.whl') | |
from openpyxl import Workbook | |
import xlrd |
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
# Requires Boto3 package. | |
# pip install boto3 | |
import boto3 | |
import botocore | |
import os | |
import sys | |
# Initialize S3 client without credentials. | |
s3 = boto3.client('s3', config=boto3.session.Config(signature_version=botocore.UNSIGNED)) |
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
// Requires NPM package 'node-fetch'. | |
// npm install node-fetch@2 | |
const fetch = require('node-fetch'); | |
const fs = require('fs'); | |
const http = require('http'); | |
const util = require('util'); | |
const pipeline = util.promisify(require('stream').pipeline); | |
// Import file list. | |
let filesGot = 0; |
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
// Código basado en 'localidades_AR' por androdron. | |
// https://github.com/androdron/localidades_AR | |
// Requiere el paquete de NPM 'node-fetch'. | |
// npm install node-fetch@2 | |
const fetch = require('node-fetch'); | |
const fs = require('fs'); | |
const http = require('http'); | |
const util = require('util'); | |
const pipeline = util.promisify(require('stream').pipeline); |
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
// Requires NPM package 'node-fetch'. | |
// npm install node-fetch@2 | |
const fetch = require('node-fetch'); | |
const fs = require('fs'); | |
const http = require('http'); | |
const util = require('util'); | |
const pipeline = util.promisify(require('stream').pipeline); | |
// Import file list. | |
let filesGot = 0; |
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
// Requires NPM package 'node-fetch'. | |
// npm install node-fetch@2 | |
const fetch = require('node-fetch'); | |
const fs = require('fs'); | |
const http = require('http'); | |
const util = require('util'); | |
const pipeline = util.promisify(require('stream').pipeline); | |
// Import file list. | |
let filesGot = 0; |
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"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>FoolKey</title> | |
</head> |
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
// Requires NPM package 'node-fetch'. | |
// npm install node-fetch@2 | |
const fetch = require('node-fetch'); | |
const fs = require('fs'); | |
const http = require('http'); | |
const util = require('util'); | |
const pipeline = util.promisify(require('stream').pipeline); | |
// Import file lists. | |
const filesRes1 = require('./netres.json'); |
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
// Requires NPM package 'node-fetch'. | |
// npm install node-fetch@2 | |
const fetch = require('node-fetch'); | |
const fs = require('fs'); | |
const http = require('http'); | |
const util = require('util'); | |
const pipeline = util.promisify(require('stream').pipeline); | |
// Import file list. | |
let filesGot = 0; |
NewerOlder