Skip to content

Instantly share code, notes, and snippets.


Luke Hedger lukehedger

Block or report user

Report or block lukehedger

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lukehedger / ffmpeg-compress-mp4
Last active Nov 15, 2019
Compress mp4 using FFMPEG
View ffmpeg-compress-mp4
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
lukehedger /
Created Oct 28, 2019
Config for automatically signing Git commits

Git Commit Signing



	signingkey = <GPG_KEY_ID>
	gpgsign = true
lukehedger /
Last active Mar 17, 2019
Kill Jekyll server

Stopping a Jekyll server with ctrl-z can cause issues as the process is not stopped fully. To kill it:

$ lsof -wni tcp:4000
$ kill -9 <PID of process>

And next time, use crtl-c to stop.

View SketchSystems.spec
My Awesome Sketch
First State
some event -> Second State
Second State
lukehedger / SketchSystems.spec
Last active Dec 24, 2018
Single-lever mixer tap
View SketchSystems.spec
Single-lever mixer tap
flip lever -> Open
flip lever -> Closed
turn tap -> Cold
turn tap -> Hot
lukehedger / react-render-html-tags.js
Last active Oct 7, 2018
Render HTML elements defined in JSON to JSX
View react-render-html-tags.js
import React from 'react';
const Component = (props, context) => {
const { elements } = this.props;
return (
{ (element, i) => {
lukehedger / HelloYou.sol
Created Nov 23, 2017 — forked from anonymous/HelloYou.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at
View HelloYou.sol
pragma solidity ^0.4.18;
// import './SomeContract.sol';
contract HelloYou {
event Hello(address you);
function sayHello() public {
address _person = msg.sender;
lukehedger /
Last active Aug 9, 2018
Setup VNC between Raspberry Pi and OSX
View yarn-error.log
/usr/local/bin/node /usr/local/Cellar/yarn/1.3.2/libexec/bin/yarn.js
Yarn version:
Node version:
You can’t perform that action at this time.