Skip to content

Instantly share code, notes, and snippets.

Avatar
🍵
(ू˃̣̣̣̣̣̣︿˂̣̣̣̣̣̣ ू)

Luke Hedger lukehedger

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

Git Commit Signing

Windows

.gitconfig

[user]
	signingkey = <GPG_KEY_ID>
[commit]
	gpgsign = true
View SketchSystems.spec
My Awesome Sketch
First State
some event -> Second State
Second State
@lukehedger
lukehedger / SketchSystems.spec
Last active Dec 24, 2018
Single-lever mixer tap
View SketchSystems.spec
Single-lever mixer tap
Closed*
flip lever -> Open
Open
flip lever -> Closed
Hot
turn tap -> Cold
Cold
turn tap -> Hot
View yarn-error.log
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:
@lukehedger
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 https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.18+commit.9cf6e910.js&optimize=undefined&gist=
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
lukehedger / Echo.sol
Created Nov 23, 2017
Solidity contract that echoes a number
View Echo.sol
pragma solidity ^0.4.18;
contract Echo {
event Echoed(uint echoValue);
function echo(uint _value) public returns (uint) {
Echoed(_value);
return _value;
}
View meta-id-signature-storage.js
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') }
]
View found-basename-stack-trace.js
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)
You can’t perform that action at this time.