Skip to content

Instantly share code, notes, and snippets.

@michaelsync
michaelsync / recommended-routine.md
Created August 25, 2021 06:25 — forked from sgup/recommended-routine.md
Recommended Routine - Reddit BodyweightFitness
@michaelsync
michaelsync / github-app-jwt.sh
Created December 7, 2020 09:19 — forked from carestad/github-app-jwt.sh
Script to generate JWT for use with Github apps
#!/usr/bin/env bash
# Generate JWT for Github App
#
# Inspired by implementation by Will Haley at:
# http://willhaley.com/blog/generate-jwt-with-bash/
# From:
# https://stackoverflow.com/questions/46657001/how-do-you-create-an-rs256-jwt-assertion-with-bash-shell-scripting
thisdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@michaelsync
michaelsync / gist:7f58041b92f49f16a14b23c61c74e68e
Created November 15, 2016 01:51 — forked from carlspring/gist:6762356
TeamCity REST API Commands
package main
import (
"os"
"fmt"
)
type Fetcher interface {
// Fetch returns the body of URL and
// a slice of URLs found on that page.
@michaelsync
michaelsync / git-fork-sync
Created December 15, 2015 02:36 — forked from ianmariano/git-fork-sync
Syncs your repo fork with the upstream master and then pushes the synced master to origin. Presumes you have an 'upstream' remote which is from whence your fork was created. Put on your path and chmod a+x it then do: git fork-sync
#!/bin/bash
VERSION="20150504"
usage() {
cat << __EOF
$0 usage:
$0 [options]