Skip to content

Instantly share code, notes, and snippets.

View eferbarn's full-sized avatar
:atom:
Atom addicted

MΞHDI eferbarn

:atom:
Atom addicted
View GitHub Profile
@eferbarn
eferbarn / Sorted_Scores.csv
Created July 31, 2023 18:03
Gitcoin Passport Scores (Descending Sorted Version)
Stamp Corresponding Score
HolonymGovIdProvider 4
SnapshotProposalsProvider 2.82
GnosisSafe 2.65
Lens 2.45
Linkedin 2.45
EthGasProvider 2.4
GitcoinContributorStatistics#numGrantsContributeToGte#10 2.3
CivicLivenessPass 2.25
CivicUniquenessPass 2.25
@eferbarn
eferbarn / 2048_BIP_39_words.csv
Last active July 20, 2022 19:16
Complete list of 2048 BIP-39 Seed Recovery Phrase Words
Row Word
1 abandon
2 ability
3 able
4 about
5 above
6 absent
7 absorb
8 abstract
9 absurd
@eferbarn
eferbarn / SVG_NFT_extractor.js
Last active October 28, 2023 13:56
NFT attributes extractor (SVG based NFTs)
function cyrb53(str, seed = 0) {
let h1 = 0xdeadbeef ^ seed, h2 = 0x41c6ce57 ^ seed;
for (let i = 0, ch; i < str.length; i++) {
ch = str.charCodeAt(i);
h1 = Math.imul(h1 ^ ch, 2654435761);
h2 = Math.imul(h2 ^ ch, 1597334677);
}
h1 = Math.imul(h1 ^ (h1>>>16), 2246822507) ^ Math.imul(h2 ^ (h2>>>13), 3266489909);
h2 = Math.imul(h2 ^ (h2>>>16), 2246822507) ^ Math.imul(h1 ^ (h1>>>13), 3266489909);
return 4294967296 * (2097151 & h2) + (h1>>>0);
@eferbarn
eferbarn / orbit.html
Created March 11, 2022 13:54
Orbit (SVG Animation - An intro)
<style>
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}