Absolvent*innen 2021/2022
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
http://acapulco.gob.mx | |
http://av.sectur.gob.mx | |
http://cancun.gob.mx | |
http://celaya.gob.mx | |
http://cepropie.gob.mx | |
http://chimalhuacan.gob.mx | |
http://cnegsr.salud.gob.mx | |
http://coahuila.gob.mx | |
http://coyoacan.df.gob.mx | |
http://culiacan.gob.mx |
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
# coding: utf-8 | |
import os | |
import csv | |
import pandas as pd | |
import unidecode | |
directory = '2017-10-03/' | |
estados = ['CDMX','CHIAPAS','EDOMEX','GUERRERO','HIDALGO','MICHOACAN','MORELOS','OAXACA','PUEBLA','TLAXCALA'] | |
files = [f for f in os.listdir(os.path.join(directory, 'csv'))] |
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 | |
DIR="./myfolder/" | |
# Cleanup | |
rm "${DIR}/csv/*" | |
# Convert XLSX to CSV | |
# https://wiki.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Filter_Options | |
# CSV, DoubleQuotes, UTF8, NoSkipping, NoCellFormats, NoLangId, QuoteAll, NumbersAsNumbers, SaveCellsAsShown |
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 | |
# prerequisites: | |
# libs: xsv, curl, dity, xpath, sed, paste | |
# files: procesado.csv contains in column 1 the ID for the DRO and column 3 the url of the popup | |
for line in `xsv select 1,3 --no-headers procesado.csv`; do | |
# skip first line, need to research if theres an option for it | |
if [ "${line}" != "No.,Datos" ]; then | |
# split $line into $data array[id,url] |
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
# coding: utf-8 | |
import requests | |
import sys | |
# Replace these values | |
instance='REPLACEME.arcgis.com/REPLACEME' | |
document='REPLACEME' | |
layer='REPLACEME' #usually 0 | |
baseURL='https://'+instance+'/ArcGIS/rest/services/'+document+'/FeatureServer/'+layer |
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
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
// MIT license | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; |
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
server { | |
listen 80; | |
server_name {domain} {domain}.localhost; | |
root /var/www/{domain}; | |
include /etc/nginx/conf.d/common.conf; | |
include /etc/nginx/conf.d/php.conf; | |
#include /var/www/{domain}/app.conf; | |
location / { | |
try_files $uri $uri/ /index.php; | |
} |
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
index index.php index.html; | |
location ~ \.php { | |
fastcgi_split_path_info ^(.+\.php)(.*)$; | |
fastcgi_param GATEWAY_INTERFACE CGI/1.1; | |
fastcgi_param SERVER_SOFTWARE nginx; | |
fastcgi_param QUERY_STRING $query_string; | |
fastcgi_param REQUEST_METHOD $request_method; | |
fastcgi_param CONTENT_TYPE $content_type; | |
fastcgi_param CONTENT_LENGTH $content_length; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |
NewerOlder