Skip to content

Instantly share code, notes, and snippets.

View andrewarrow's full-sized avatar
💭
https://andrewarrow.dev/

Andrew Arrow andrewarrow

💭
https://andrewarrow.dev/
View GitHub Profile
@andrewarrow
andrewarrow / gist:5d5a554e4308d7fa5fe9abaeedd2dfea
Created March 27, 2017 01:51
stack overflow urls for kidbank v105 iOS app
http://stackoverflow.com/questions/27517632/how-to-create-a-delay-in-swift
http://stackoverflow.com/questions/2654281/how-to-remove-exif-data-without-recompressing-the-jpeg
http://stackoverflow.com/questions/37432580/how-to-remove-exif-data-from-image-but-keep-the-orientation
http://stackoverflow.com/questions/16142366/perform-selector-after-delay-only-called-once
http://stackoverflow.com/questions/8284647/mysql-how-to-store-phone-numbers
http://stackoverflow.com/questions/27593290/why-is-performselector-not-present-in-swift
http://stackoverflow.com/questions/24097826/read-and-write-data-from-text-file
http://stackoverflow.com/questions/25424831/cant-convert-nsdata-to-nsstring-in-swift
http://stackoverflow.com/questions/31105798/show-keyboard-automatically-when-uisearchcontroller-is-loaded
http://stackoverflow.com/questions/25488162/getting-optional-when-trying-to-get-value-from-keychain
```
~/src/github.com/btcsuite/btcd $ ./btcd
22:30:36 2017-05-29 [INF] BTCD: Version 0.12.0-beta
22:30:36 2017-05-29 [INF] BTCD: Loading block database from '/Users/aa/Library/Application Support/Btcd/data/mainnet/blocks_ffldb'
22:30:36 2017-05-29 [INF] BTCD: Block database loaded
22:30:36 2017-05-29 [INF] CHAN: Recalculating threshold states due to definition change. This might take a while...
22:30:36 2017-05-29 [INF] CHAN: Chain state (height 0, hash 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, totaltx 1, work 4295032833)
22:30:36 2017-05-29 [INF] RPCS: Generating TLS certificates...
22:30:36 2017-05-29 [INF] RPCS: Done generating TLS certificates
22:30:36 2017-05-29 [INF] RPCS: RPC server listening on 127.0.0.1:8334
.wrapper {
display: flex;
flex-wrap: wrap;
}
.wrapper {
display: grid;
margin: 0 auto;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-auto-rows: minmax(150px, auto);
+------------------------------------+-----------------+-------------+----------+---------------------+
| 137.74.198.100:14265 | tcp | 1.4.1.4 | IRI | 2017-12-22 18:13:30 |
| 176.9.3.149:14265 | tcp | 1.4.1.4 | IRI | 2017-12-22 18:13:30 |
| 5.9.118.112:14265 | tcp | 1.4.1.4 | IRI | 2017-12-22 18:13:30 |
| 5.9.137.199:14265 | tcp | 1.4.1.4 | IRI | 2017-12-22 18:13:31 |
| 5.9.149.169:14265 | tcp | 1.4.1.4 | IRI | 2017-12-22 18:13:31 |
| 88.198.230.98:14265 | tcp | 1.4.1.4 | IRI | 2017-12-22 18:13:36 |
| astra2261.startdedicated.net:14265 | tcp | 1.4.1.4 | IRI | 2017-12-22 18:13:37 |
| fakefake.net:14265 | tcp | 1.4.1.4 | IRI Test | 2017-12-22 18:13:37 |
| cryptoiota.win:14265 | tcp | 1.4.1.4 | IRI | 2017-1
Q. What is the tangle?
A. The real tangle is how transactions in the iota crypto currency are stored. Think of it like a giant family tree where each transaction has a mom and dad all the way back to the very first transaction called the genesis transaction.
Q. Is it better than the blockchain and bitcoin?
A. Yes, it's a better way to store crypto currency and lots of people are switching from bitcoin to iota.
Q. How do I get started learning how to move money around the tangle?
A. We created simplecoin for this purpose, it's tangle school and graduates can move on to the real tangle with confidence that they understand where their money really is.
Q. Is simplecoin complicated or simple?
INT. COURTROOM -- DAY
Will stands before JUDGE MALONE (40) being arraigned. It is
fairly unceremoniuous, the coutroom nearly empty, save Will
and the PROSECUTOR. Lambeau walks in from the back.
WILL
There is a lengthy legal precedent,
Your Honor, going back to 1789, whereby
a defendent may claim self-defense
seconds events days
2003 January 2 20:25 UTC
1347840 2003 January 18 10:49 UTC 15.60
1209660 2003 February 1 10:50 UTC 14.00
1342980 2003 February 16 23:53 UTC 15.54
1219440 2003 March 3 2:37 UTC 14.11
1324740 2003 March 18 10:36 UTC 15.33
1241040 2003 April 1 19:20 UTC 14.36
1296960 2003 April 16 19:36 UTC 15.01
@andrewarrow
andrewarrow / gist:a4d74d0f76b9e4d3d1245463dc7a30b8
Last active October 3, 2022 01:55
fedora 32 install everything needed for coqui-ai / TTS
# https://github.com/coqui-ai/TTS
dnf install python3-devel.x86_64
dnf install espeak
pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 torchaudio===0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install jieba
dnf groupinstall 'Development Tools'
pip install TTS
tts --text "Hello coqui ai fans this is a voice you can make say what you desire." --model_name "tts_models/en/ljspeech/speedy-speech-wn" --vocoder_name "vocoder_models/universal/libri-tts/wavegrad" --out_path foo.wav
# List of 2021 Chains
net.(*netFD).Read(0xc002527e00, 0xc046250280, 0x1, 0x1, 0xffffffffffffffff, 0x0, 0x32)
/home/aa/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc05e5458d8, 0xc046250280, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/aa/go/src/net/net.go:183 +0x91
io.ReadAtLeast(0x166c860, 0xc05e5458d8, 0xc046250280, 0x1, 0x1, 0x1, 0xdc8d7aa575c67d21
, 0xa38d, 0x32)
/home/aa/go/src/io/io.go:328 +0x87
io.ReadFull(...)
/home/aa/go/src/io/io.go:347
github.com/bitclout/core/lib.ReadUvarint(0x166c860, 0xc05e5458d8, 0x3, 0x478160, 0xc058