Skip to content

Instantly share code, notes, and snippets.

@hdoverobinson
hdoverobinson / ubxconfig.sh
Last active Jul 8, 2021
Configure u-blox GPS/GNSS modules with Bash
View ubxconfig.sh
#!/bin/bash
###AUTHOR###
#Harry Dove-Robinson 5/8/2017
#harry@doverobinson.me
#https://gist.github.com/hdoverobinson
#https://github.com/hdoverobinson
###USAGE###
#This is a script used to configure u-blox GPS/GNSS modules from a text file generated by u-center.
@justjanne
justjanne / Price Breakdown.md
Last active Apr 6, 2021 — forked from kylemanna/price.txt
Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:
View Price Breakdown.md

Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:

Permalink: git.io/vps

$5/mo

Provider Type RAM Cores Storage Transfer Network Price
@ryaninvents
ryaninvents / unsubmodule.md
Created May 5, 2016
Convert git submodule to regular directory
View unsubmodule.md

From Stack Overflow.

# Fetch the submodule commits into the main repository
git remote add submodule_origin git://url/to/submodule/origin
git fetch submodule_origin

# Start a fake merge (won't change any files, won't commit anything)
git merge -s ours --no-commit submodule_origin/master
@streeter
streeter / pelican_deployer.py
Created Mar 10, 2016 — forked from marksteve/pelican_deployer.py
Push-to-deploy static sites with Pelican, Flask and Github
View pelican_deployer.py
"""
Simple web server that listens for Github webhooks to implement push-to-deploy
with Pelican static sites
Settings are loaded from a json file except for SECRET which should be an
environment variable
Example `deployer.json`
{
@marksteve
marksteve / pelican_deployer.py
Last active Jan 25, 2019
Push-to-deploy static sites with Pelican, Flask and Github
View pelican_deployer.py
"""
Simple web server that listens for Github webhooks to implement push-to-deploy
with Pelican static sites
Settings are loaded from a json file except for SECRET which should be an
environment variable
Example `deployer.json`
{
@aras-p
aras-p / preprocessor_fun.h
Last active Jul 28, 2021
Things to commit just before leaving your job
View preprocessor_fun.h
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,