Skip to content

Instantly share code, notes, and snippets.

{
"name": "Raekwon",
"description": "The Chef",
"image": "https://i.pinimg.com/originals/ca/a7/70/caa770e81425f2bdafa8c90ed5c6652b.jpg",
"external_url": "https://testnets.opensea.io/assets/0x71936d0ff6f85da677c29408eb76d7dd2080c6f5/0",
"attributes": {
{
"trait_type": "streetCred",
"value": 62
},
export function abbrieviate(value: number): string {
const suffixes = ['', 'K', 'M', 'B'];
const suffixNum = Math.min(Math.floor(('' + value).length / 3), 3);
const shortValue = parseFloat(
(suffixNum !== 0 ? value / Math.pow(1000, suffixNum) : value).toFixed(2),
);
return shortValue + suffixes[suffixNum];
}
export function round(value: number, precision: number): number {
In defense of optimism
Yesterday, I woke to a flurry of activity on Twitter. A prominent member of the bitcoin community had decided to a message to me that many perceived as critical. The tweet pointed out that had I managed my money better I would be wealthy and wouldn't need the support of patrons.
It was in response to a message I posted on Twitter a week earlier, to once again dispel the impression that I am a bitcoin millionaire. It is hard for many to accept that someone who has been involved since 2012 has not amassed a great fortune in bitcoin. The truth, however, is that due to circumstances and some poor choices I made, I was not able to benefit as much from the rise of bitcoin as some others have.
At the end of 2012, when I heard about bitcoin, I had been working as a freelance consultant for about a year after burning out of my previous work as a partner in a research firm. I had a modest retirement fund, a small amount of credit card debt and enough income to make ends meet. I was really in li
Verifying my Blockstack ID is secured with the address 1H3ifRVWWLLV1BNasKtffcYGQmCZ43i6N4 https://explorer.blockstack.org/address/1H3ifRVWWLLV1BNasKtffcYGQmCZ43i6N4
@diranl
diranl / Kovan
Created September 3, 2017 20:07
0x6Df34855d5c62e69b058Ded8b748b892ECD1115D