Skip to content

Instantly share code, notes, and snippets.

@pfinkbeiner
pfinkbeiner / markerclusterer.js
Created May 24, 2023 06:28 — forked from alexmccabe/markerclusterer.js
Fix Google Maps markerclusterer on mobile devices when pinching clusters
// ==ClosureCompiler==
// @compilation_level ADVANCED_OPTIMIZATIONS
// @externs_url http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/maps/google_maps_api_v3_3.js
// ==/ClosureCompiler==
/**
* @name MarkerClusterer for Google Maps v3
* @version version 1.0.3
* @author Luke Mahe
* @fileoverview

Backup repositories

The idea of this script is to backup all repositories from a remote SSH server.

It will search for ´.git´ directories inside the home directory of the "git" user. By default it is the current user, but can be configured by changing the $GIT_USER variable at the top of the script.

All repositories will be cloned into the current working directory.

If there is a previous clone of the repository at the given destination, it will obviously only make a new pull.