Skip to content

Instantly share code, notes, and snippets.

View lukehedger's full-sized avatar
🍵
(ू˃̣̣̣̣̣̣︿˂̣̣̣̣̣̣ ू)

Luke Hedger lukehedger

🍵
(ू˃̣̣̣̣̣̣︿˂̣̣̣̣̣̣ ू)
View GitHub Profile
@lukehedger
lukehedger / SketchSystems.spec
Created January 14, 2020 13:47
My Awesome Sketch
My Awesome Sketch
Untouched
focus -> Invalid
Invalid
blur -> Valid
Valid
@lukehedger
lukehedger / git-commit-signing.md
Last active December 14, 2020 16:21
Config for automatically signing Git commits

Git Commit Signing

Windows

.gitconfig

[user]
	signingkey = <GPG_KEY_ID>
[commit]
	gpgsign = true
@lukehedger
lukehedger / SketchSystems.spec
Created March 7, 2019 17:04
My Awesome Sketch
My Awesome Sketch
First State
some event -> Second State
Second State
@lukehedger
lukehedger / SketchSystems.spec
Last active December 24, 2018 07:07
Single-lever mixer tap
Single-lever mixer tap
Closed*
flip lever -> Open
Open
flip lever -> Closed
Hot
turn tap -> Cold
Cold
turn tap -> Hot
Arguments:
/usr/local/bin/node /usr/local/Cellar/yarn/1.3.2/libexec/bin/yarn.js
PATH:
/Users/luke/go/src/github.com/meta-network/go-meta/bin:/Users/luke/go/bin/geth:/Users/luke/go/bin/swarm:/Users/luke/go/bin/geth:/Users/luke/go/bin/swarm:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/luke/go/bin:/usr/local/go/bin
Yarn version:
1.3.2
Node version:
0x6c8Ac91C398b3a47E6548685e18E0838C301B7a5
@lukehedger
lukehedger / HelloYou.sol
Created November 23, 2017 15:49 — 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 https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.18+commit.9cf6e910.js&optimize=undefined&gist=
pragma solidity ^0.4.18;
// import './SomeContract.sol';
contract HelloYou {
event Hello(address you);
function sayHello() public {
address _person = msg.sender;
@lukehedger
lukehedger / Echo.sol
Created November 23, 2017 12:00
Solidity contract that echoes a number
pragma solidity ^0.4.18;
contract Echo {
event Echoed(uint echoValue);
function echo(uint _value) public returns (uint) {
Echoed(_value);
return _value;
}
signatures[_targetmetaid][_metadataitemidhash] = [
{ signer, item_digest, signature_digest }
]
signatures[sha3('beyonce.id.meta')][sha3('aux/twitter')] = [
{ namehash(sony.id.meta), sha3('@beyonce'), sign(sha3('@beyonce') }
]
@lukehedger
lukehedger / found-basename-stack-trace.js
Created October 26, 2017 10:27
Found basename stack trace
compose.js:30 Uncaught TypeError: b.apply is not a function
at eval (webpack:///./node_modules/redux/es/compose.js?:30:18)
at eval (webpack:///./node_modules/redux/es/compose.js?:30:14)
at eval (webpack:///./node_modules/redux/es/compose.js?:30:14)
at eval (webpack:///./node_modules/redux/es/applyMiddleware.js?:43:100)
at eval (webpack:///./node_modules/farce/lib/createHistoryEnhancer.js?:57:51)
at configureStore (webpack:///./app/core/store/index.js?:60:15)
at eval (webpack:///./app/core/containers/Root.js?:34:65)
at Object.<anonymous> (http://localhost:3000/bundle.js:3010:1)
at __webpack_require__ (http://localhost:3000/bundle.js:20:30)