Skip to content

Instantly share code, notes, and snippets.

View dannykath's full-sized avatar

Danny Katherin Aiquipa Pacheco dannykath

View GitHub Profile
### Configuracion de Emmet en Sublime Text para escribir codigo mas rapido
#### Pasos
- Instale Sublime Text, desde [aqui](http://www.sublimetext.com/3)
- Instale package control [aqui](https://packagecontrol.io/)
##### Pasos
- Click en View
- Show Console
- Copiar el siguiente codigo en la consola
> import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
- Presione enter
@dannykath
dannykath / EmmetST.md
Last active January 13, 2016 15:38
Configuracion de Emmet en sublime text

Configuracion de Emmet en Sublime Text para escribir codigo mas rapido

Pasos

  • Instale Sublime Text, desde aqui
  • Instale package control aqui
Pasos
  • Click en View
  • Show Console
  • Copiar el siguiente codigo en la consola

Per voice with / @lxbarth,@rodowi While working on Dallas We found some problems for mapping turn lanes , because the Satellite images is not good , for example https://www.openstreetmap.org/#map=19/32.81253/-96.86055 example We would if you found new images for Dallas , if you foun new images for adding turn lanes @camillacaros

@dannykath
dannykath / 0_reuse_code.js
Created December 5, 2016 14:28
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@dannykath
dannykath / readme.md
Last active February 2, 2018 16:04
readme.md

osm-tasking-import

We created this app as a preparations for the OSMGeoWeek. Our idea is import Peru school opendata into OpenStreetMap, but without a handler data tool it would be difficult and messy.

This app works similar to tasking manager, the differences is that you can setup each block to an url of data and download into JOSM to evaluate the data there, each block should have: progress, done and validated stage as the progress import is going.

Link of task

You can find this task in https://osm-pe.github.io/schools-import/#11.82/-13.1675/-74.2395

Import Schools in Peru

This repo focuses on the Peru import schools.

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“highway=motorway_junction”
Cribbed from Jinal Foflia, https://mail.google.com/mail/u/0/#inbox/1547604887901ecc
*/
[out:json][timeout:225];
(
@dannykath
dannykath / gist:e044c90939ae19b9fcce7fcf4ad99996
Last active June 6, 2018 17:21
¡Más de 75, 000 escuelas fueron importadas en Perú!

Hasta el mes de noviembre del 2017, en OpenStreetMap habían alrededor de 700 instituciones educativas en Perú, la mayoría de éstas presentes en áreas urbanas y casi ninguna en el área rural, la información acerca de las instituciones educativas que se tenía era incompleta y no se podía saber realmente cuántas instituciones educativas existían en una ciudad o en qué ciudades no habían instituciones educativas. Tener la información completa de instituciones educativas existentes en Perú, permite al gobierno tomar mejores decisiones como: mejorar el acceso a la educación, mejores políticas educativas así como los servicios y la calidad de la educación del país. Como parte de este esfuezo colectivo hicimos coordinaciones con el Ministerio de Educación del Perú, para poder usar los datos de las instituciones educativas que ellos manejan a través del Mapa de escuelas - SIGMED y poder importarlos a OpenStreetMap.

Para realizar este proceso, seguimos las directrices de i

@dannykath
dannykath / gh-pages.md
Created October 16, 2018 14:14 — forked from ramnathv/gh-pages.md
Creating a clean gh-pages branch

Creating a clean gh-pages branch

This is the sequence of steps to follow to create a root gh-pages branch. It is based on a question at [SO]

cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dannykath
dannykath / atajosEclipse.textile
Created June 6, 2019 20:39 — forked from bertocq/atajosEclipse.textile
Atajos de teclado para Eclipse

Atajos de teclado para Eclipse (y derivados como ZendStudio)

Para editar un comando: Window → Preferences → General → Keys

Edición

Ctrl+D elimina la línea actual (en la que se encuentra el cursor)
Ctrl+Shift+F formatear código (tabulaciones, saltos de línea,…)