Skip to content

Instantly share code, notes, and snippets.

@AlexKott
AlexKott / gist:ba43547cbc3f5171007de3eb434592fa
Last active January 7, 2020 09:21
Export links from Google Spaces
/*
Inspired by https://gist.github.com/daniele-rapagnani/2e7372210726b28aec8f0d2d1d149ffb
This script selects all links on a Google Spaces page with url, title and date.
Reload the page for every space and scroll down to the end (until it says
"The end is just a new beginning.").
Open the browser's console (right click -> inspect -> "Console") and paste these lines.
It then logs it to a HTML string which you can copy and save as "spaces-exports.html".
When changing to another service (e.g. Dropmark, Pocket ...) you can use the html file
@rafecolton
rafecolton / Golang-binary-versioning.md
Last active July 27, 2017 11:15
Copypasta for easy versioning for your Go binaries

Golang Binary Versioning Trick

To use, place the code in version_trick.go in your project. Don't forget to change the namespace to match yours to the actual name of your package.

In addition to version_trick.go, there's a makefile-snippet, that includes the secret sauce for making this trick work. Be sure to change the package name there as well.

Enjoy!

P.S. Special thanks to @meatballhat by way of @syscomet for showing me this trick!