Skip to content

Instantly share code, notes, and snippets.

View PolMrt's full-sized avatar
🚀
Working from everywhere

Pol Marnette PolMrt

🚀
Working from everywhere
View GitHub Profile
@PolMrt
PolMrt / vscode Github ssa
Last active March 24, 2020 14:10
In order to resolve `[email protected]: Permission denied (publickey)`on VSCODE.
ssh-add -K ~/.ssh/id\_rsa
@PolMrt
PolMrt / Belgium Provinces Highmaps Highcharts Data.json
Created March 15, 2020 07:48
Library of Belgium map to use in Highcharts Highmaps.
[
{
"type": "map",
"data": [
{
"name": "flanders",
"path": "M570,-1000L578,-998L585,-992L586,-985L583,-973L585,-966L574,-971L571,-971L570,-966L575,-964L593,-964L608,-958L613,-960L620,-966L629,-981L633,-992L637,-993L645,-988L650,-978L650,-971L647,-965L646,-956L648,-952L657,-943L663,-928L667,-925L682,-926L687,-921L687,-906L693,-906L701,-908L731,-908L737,-910L747,-918L752,-920L758,-920L764,-916L769,-910L772,-893L778,-888L792,-885L801,-878L816,-880L824,-878L833,-868L845,-870L848,-863L845,-859L844,-855L850,-849L845,-846L840,-845L842,-840L837,-828L832,-830L830,-820L834,-816L830,-805L821,-789L826,-791L831,-789L825,-775L820,-769L814,-766L797,-745L798,-736L802,-730L806,-727L794,-714L772,-706L773,-700L766,-693L762,-692L757,-697L755,-690L749,-689L742,-692L739,-700L735,-701L723,-697L719,-692L717,-687L709,-692L701,-686L699,-691L697,-687L682,-688L685,-682L682,-678L664,-682L664,-682L658,-681L654,-683L649,-688L649,-695L643,-699L633,-706L620,-696L617,-695L613,-698L614,-705L595,-703L596,-707L589,-708L584,-717L5
@PolMrt
PolMrt / Months Abbreviations Array
Last active March 9, 2020 17:05
Array of months abreviations anf full months names.
let monthsAbbreviations = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
@PolMrt
PolMrt / Explaination.md
Last active October 26, 2019 21:34
🔃 An easy way to add a callback for sharethis.com

Callback for ShareThis

If you want to make an action when a social share button is pressed by the user, this should help you.

Configuration

You only need to add your custom shareThis url in the first line var shareThisUrl = "". Then you can add your custom code for the callback at the line 28.