Instantly share code, notes, and snippets.

# Josh Lehman jalehman

Created March 22, 2022 16:53 — forked from galenwp/galaxy-attestation.md
~2020.1 Galaxy Attestation

Here are the instructions for signing an attestation for your planet on behalf of your galaxy:

1. Go to https://app.mycrypto.com/sign-message
3. If you're not using a Ledger, go to (4). If you are using a Ledger, you’ll need to change the default derivation path that MyCrypto uses. Follow these steps to select the correct one:
• Click the drop down arrow next to “address”
• Scroll down to the bottom, and select “custom”
• Enter the following: m/44'/60'/0'/1
• This should sort your public addresses, such that the one you’re using is ranked first.
Created February 2, 2021 17:43
3rd-party Software Distribution Scholarship
Last active April 3, 2017 01:48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 :: Conway's game of life: http://urbit.org/docs/hoon/exercises/life/ :: Solution up to prompt 7. !: :: =< |= times/@ (life times) :: => |% ++ spot {r/@ c/@} ++ row (list ?)
Created January 11, 2016 22:13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 // 1. Compute the sum of squares up to `n`, where n is 10. var n = 10; var i = 0; var result = 0; while (i < n) { result = result + (i * i); i++; } console.log(result);
Created November 12, 2015 07:01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 var makeStopwatch = function() { var elapsed = 0; var intervalId; var increase = function() { elapsed++; }; var stopInterval = function() { clearInterval(intervalId); };
Created November 12, 2015 03:45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 function longerThan(word1, word2) { if (word2.length > word1.length) { return word2; } else { return word1; } } function reduce(array, f, acc) { var start = acc;
Last active November 7, 2015 01:50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 function each(array, f) { for(var i = 0; i < array.length; i++) { f(array[i]); } } function map(array, f) { var acc = []; each(array, function(x) { acc.push(f(x));
Created October 15, 2015 03:39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 Telegraph Prep Week 2