Skip to content

Instantly share code, notes, and snippets.

View jorgeatgu's full-sized avatar
🔮
Es imposible no puede ser!

Jorge jorgeatgu

🔮
Es imposible no puede ser!
View GitHub Profile
@ferblape
ferblape / index.html
Last active May 19, 2020 14:12
Demo Leaflet
<html>
<head>
<title>Secciones Censales Getafe</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
<style>
#map { height: 100%; width: 100%; }
</style>
</head>
<body>
@ntkog
ntkog / covid19.sh
Created March 19, 2020 15:05
Bash function para descargarse el último informe de COVID-19 en España y convertir los datos a CSV
function covid19 () {
# Descargar informe
curl -sS -k $1 -O
PDF_FILENAME=`echo "$1" | cut -d'/' -f 10`
CSV_FILENAME=`echo $PDF_FILENAME | sed -r 's/\.pdf//'`
NOW=`date +%d_%m_%Y_%Hh`
# Convertir a texto
pdftotext -f 1 -l 1 -layout ${PDF_FILENAME}
# Convertir a CSV
@ntkog
ntkog / Get all geojson countries
Last active November 19, 2019 15:57
GeoGrep - Para cuando quieres filtrar csv's espacialmente por países sin una geodatabase.
cd data/countries
time parallel -j+0 curl -sS -o '{}.json' '"https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/World__Countries_Generalized_analysis_trim/FeatureServer/0/query?where=ISO_3DIGIT+%3D+%27{}%27&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&resultType=none&distance=0.0&units=esriSRUnit_Meter&returnGeodetic=false&outFields=ISO_3DIGIT&returnGeometry=true&returnCentroid=false&featureEncoding=esriDefault&multipatchOption=xyFootprint&maxAllowableOffset=&geometryPrecision=&outSR=4326&datumTransformation=&applyVCSProjection=false&returnIdsOnly=false&returnUniqueIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&returnQueryGeometry=false&returnDistinctValues=false&cacheHint=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&having=&resultOffset=&resultRecordCount=&returnZ=false&returnM=false&returnExceededLimitFeatures=true&quantizationParameters=&sqlFormat=none&f=geojson&token="' :::: <(cat list.txt)
@gimenete
gimenete / readme.md
Last active March 9, 2024 16:36
Notas para orientación profesional como programador

Tras este tweet que publiqué

He sido freelance, emprendedor y trabajo desde hace años para empresas USA de diversos tamaños en remoto como programador fullstack. Ahora en GitHub. Si puedo ayudar a alguien en orientar su carrera, mis DMs están abiertos. Ask me anything.

he recibido muchos mensajes y escribo aquí algunos de los consejos que he dado en resumen. Nota: algunas cosas son concretas de trabajar en España. Si vas a trabajar desde Sudamérica sólo una nota: tienes la ventaja de la zona horaria para trabajar con EEUU.

Inglés

Tener un buen nivel de inglés es fundamental para poder trabajar con clientes extranjeros. El conocimiento del idioma tiene que mantenerse en el tiempo. Es como mantenerse en forma física; si lo dejas, lo pierdes. Personalmente aunque trabajo 100% en inglés desde hace bastantes años, intento crearme un entorno diario con el idioma para no perderlo:

@Viroide
Viroide / pre-commit
Last active October 10, 2017 10:04
#!/bin/sh
if [[ $(ag '\.only|debugger') ]]; then
echo 'Ups, you should remove your 💩 !'
ag '\.only|debugger'
exit 1
else
echo 'no 💩 , here is your 🎖'
exit 0
fi

Libros de la charla iniciación al diseño

Sistema de retículas por Josef Muller-Brockmann

Manual de tipografía por John Kane

Interacción del color por Josef Albers

Design for Hackers: Reverse Engineering Beauty por David Kadavy

@wdickerson
wdickerson / .block
Last active May 10, 2021 10:51
Force Layout to Place Labels
license: mit
height: 650
@AmeliaBR
AmeliaBR / svg-tips-tricks-notes.md
Last active October 20, 2023 02:55
SVG Tips and Tricks (presentation at SVG Summit 2017)