Skip to content

Instantly share code, notes, and snippets.

@realslacker
realslacker / Nextcloud Icon Add.reg
Last active February 20, 2022 16:15
Add or remove Nextcloud/OwnCloud icon to Explorer file navigation (like Dropbox/OneDrive/G-Drive) for a shortcut to your Nextcloud folder.
Windows Registry Editor Version 5.00
; NOTE, this file uses a GUID generated here
; https://www.guidgenerator.com/online-guid-generator.aspx
; IF you are going to have multiple Nextcloud folders in your tree you
; will need to make a new GUID for each folder and find/replace the
; value "38d6662b-09f4-4e73-bf61-b0e512ec41e1" with your unique GUID
[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\\{38d6662b-09f4-4e73-bf61-b0e512ec41e1}]
; Name of the folder, also see last line below
@cvan
cvan / gmaps.js
Created March 24, 2015 07:46
Google Maps multiple destinations sorted by shortest path
require('es6-promise').polyfill();
var request = require('request');
const API_KEY = process.env.GOOGLE_MAPS_API_KEY || '';
var places = [
'steins, mountain view, CA',
'st. stephens green, mountain view, CA',