Skip to content

Instantly share code, notes, and snippets.

View jipexu's full-sized avatar

jipexu

  • France
View GitHub Profile
@Joonalai
Joonalai / globe_view.py
Last active January 16, 2020 18:26
Simple script to have load countries in a globe view similar to the globe image in https://www.gispo.fi/en/blog/the-power-of-community-30daymapchallenge/
'''
Open the script in QGIS Python Console editor window, run it and run the command load_globe_view() in the
QGIS Python console.
Inspired by blog posts at http://www.statsmapsnpix.com/2019/09/globe-projections-and-insets-in-qgis.html
and https://www.gispo.fi/en/blog/the-power-of-community-30daymapchallenge/.
'''
NATURAL_EARTH_BASE_URL = "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/"
def load_natural_earth_data():
@joyrexus
joyrexus / README.md
Last active June 19, 2024 09:35 — forked from liamcurry/gist:2597326
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//