Skip to content

Instantly share code, notes, and snippets.

View cardonacoder's full-sized avatar
🎯
Focusing

Andrés Felipe Cardona cardonacoder

🎯
Focusing
View GitHub Profile
@jupaneira
jupaneira / README.md
Last active March 9, 2021 19:51
Administrative divisions of Bogotá

This is an interactive Map of the Administrative divisions of Bogotá, made with TopoJSON and D3.

Inspired by the Mexican municipalities map, it shows the Administrative division of Colombia's capital city.

Bogotá has 20 localities and each of them is compound of smaller divisions called Barrios. There are 1900 Barrios in Bogotá

It uses TopoJSON to diferentiate the Departments boundaries through the function topojson.mesh and a special filter.

To obtain the TopoJSON, first I converted the .shp file of the Municipality divition of Colombia by Maurix Suárez to GeoJSON, using:

@marlonramirez
marlonramirez / HolidayUtil.java
Last active April 18, 2024 16:33
Gestión de fechas en colombia, días habiles, festivos, etc.
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
public class HolidayUtil {
private int year;
private int easterMonth;
private int easterDay;
private ArrayList<String> holidays;