Skip to content

Instantly share code, notes, and snippets.

@Koff
Koff / bitcoin_core_0.20.0.bash
Last active Jul 30, 2021
Bitcoin core 0.20.0 on Ubuntu 19.10
View bitcoin_core_0.20.0.bash
# Assuming a fresh install of Ubuntu 19.10, 400+Gbytes of free HDD, and that you are logged in as root.
# More detailed instructions available in https://www.fsanmartin.co/running-a-bitcoin-node-on-ubuntu-19-10/
# Update packages
apt update
apt upgrade -y
# Add bitcoin_user user non-interactively
adduser --gecos "" bitcoin_user
View gist:45c1a6ba4b2c28bd16d4d81db5f1c6d9
from abc import ABC
from typing import List
import torch.nn as nn
import torch.optim as optim
import torch.utils.data.dataset
from matplotlib import pyplot as plt
from sklearn.preprocessing import OneHotEncoder
@Koff
Koff / error.log
Created Apr 5, 2018
OnePlus 5T (Open Beta 5) Android 8.1 aospUI ERROR
View error.log
04-04 21:32:49.633 1249-2757/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
04-04 21:32:49.633 1249-2757/? E/ANDR-IOP: IOP HAL: Received pkg_name = com.google.android.googlequicksearchbox pid = -1
04-04 21:32:49.638 1249-4654/? E/ActivityManager: applyOptionsLocked: Unknown animationType=0
04-04 21:32:49.670 26211-26211/? E/ContextIntentStarter: No activity found for any of the 0 intents
04-04 21:32:49.672 26211-26211/? E/LegacyNowServiceClient: skipping logEndstates, service is null
04-04 21:32:49.673 26211-26211/? E/LegacyNowServiceClient: skipping logEndstates, service is null
04-04 21:32:49.796 26211-26211/? E/PBSessionCacheImpl: sessionId[115278720005264840] not persisted.
04-04 21:32:49.880 1249-1368/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
04-04 21:32:49.880 1249-1368/? E/ANDR-IOP: IOP HAL: Received pkg_name = com.google.android.googlequicksearchbox pid = 26211
04-04 21:32:50.067 777-26341/? E/voice: voice_is_call_state_active:call_state
View gist:da7e6fa57cc114eb52b1
<vxml version="2.1">
<form>
<block>
<prompt>Hello.</prompt>
<audio src="http://www.freesfx.co.uk/rx2/mp3s/9/10778_1380921485.mp3"/>
<prompt xml:lang="es-mx-female">Hola.</prompt>
</block>
</form>
</vxml>