Skip to content

Instantly share code, notes, and snippets.

@loyalvares
loyalvares / DeleteOverlayButton.js
Last active November 20, 2021 11:53
This is a custom library to add a Delete Button ( x mark) to a Google Maps v3 Circle or Polygon when drawn. This is the working JSFiddle link [ https://jsfiddle.net/foobarbazz/vn763fu7/ ] to see it in action.
/**
* author: Loy Alvares
* This utility was written to handle deletion of circles and polygons in Google Maps V3.
*
* Also thanks to Chris Veness for the distance calculation formulae from pointA to pointB
* ( Latitude/Longitude spherical geodesy formulae & scripts )
at http://www.movable-type.co.uk/scripts/latlong.html
(c) Chris Veness 2002-2010
*/
@alexeds
alexeds / move-stashes.md
Created September 5, 2012 18:00
Move your stashes from one repo to another

Move your stashes from one repo to another


This was useful for me when we created a new branch for a new major release, but were still working on our current version as well. I cloned our repo again and kept the new project on our new branch, but also wanted to get my stashes there.

Download your stashes

git stash show -p > patch

You'll have to specify your stash and name your file whatevery you want. Do this for as all your stashes, and you'll have patch files in your pwd.