Skip to content

Instantly share code, notes, and snippets.

View LeonardoDSSilva's full-sized avatar
:octocat:
Focusing

Leonardo Silva LeonardoDSSilva

:octocat:
Focusing
View GitHub Profile
@niw
niw / fetch_nike_puls_all_activities.bash
Last active November 8, 2025 23:39
A simple NikePlus API description to fetch past run metrics
#!/usr/bin/env bash
# fetch_nike_puls_all_activities.bash
# A simple bash script to fetch all activities and metrics from NikePlus.
# See `nike_plus_api.md` for the API details.
readonly bearer_token="$1"
if [[ -z "$bearer_token" ]]; then
echo "Usage: $0 bearer_token"
exit
@Ashwinning
Ashwinning / AddBashonUbuntuonWindowsToContextMenu.md
Last active April 11, 2022 14:31
Add Bash on Ubuntu on Windows to context menu #gistblog #ubuntu #bash #windows

Add Bash on Ubuntu on Windows to context menu

Bash on Ubuntu on Windows (installation instructions) is a Linux Subsystem for Windows.

To add it to the Windows right click context menu, perform the following steps:

  • Open regedit from the run menu Win + R.
@mesgarpour
mesgarpour / appsScript_ListFilesFolders_ver.2.js
Last active December 20, 2025 16:25
[Google Apps Script] List all files & folders in a Google Drive folder, & write into a speadsheet
/*
* Copyright 2017 Mohsen Mesgarpour
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@capesean
capesean / README.md
Last active November 27, 2024 14:47
TopoJSON Property Editor

TopoJSON Property Editor

  1. Supply the tool with some topoJSON data (via url or direct input), and it will draw the map.
  2. Click one of the shapes and you can view and edit the properties of the topoJSON object.
  3. Click the Output tab and you can copy the full, modified topoJSON.

View on http://bl.ocks.org/

@sloria
sloria / bobp-python.md
Last active December 8, 2025 02:37
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens