Skip to content

Instantly share code, notes, and snippets.

View magalhini's full-sized avatar

Ricardo Magalhães magalhini

View GitHub Profile
@monostere0
monostere0 / GlobalEvents.js
Last active February 19, 2020 08:10
Fire events between different browser windows using localStorage.
(function(window){
var EVENT_EXISTS = 'GlobalEvents: Event already exists.';
var eventIsRunning,
_eventStack,
_findByName,
stackEvent,
removeEvent,
eventListener,
@maryrosecook
maryrosecook / ...
Last active September 13, 2018 18:17
Reminders to myself to help me get better at programming. I don't always manage to do these things, but I try. Please feel free to add your own reminders to yourself in the comments below!
We couldn’t find that file to show.
@rjvdboon
rjvdboon / sports-tracker-download.js
Last active November 2, 2020 17:21 — forked from anonymous/sports-tracker-download.js
Download all workouts from sports-tracker
// based on this blog post:
// http://druss.co/2016/04/export-all-workouts-from-sports-tracker/
// then based on this gist implementation:
// https://gist.github.com/anonymous/9abc8d9c376bbc6aa853b477a50e8932
//
// I've changed it so you don't need to do the "Load More Workouts" (it is downloaded through the API)
// Added possible customizations (easy to switch between curl and powershell)
// Get the url to use from the current document
// Fix the token parsing, it failed because there is no trailing ';'
// Added a # token at the end of the download command so you don't need to post-process when using firefox