Skip to content

Instantly share code, notes, and snippets.

View hebasto's full-sized avatar
🇺🇦
Bitcoin, Math

Hennadii Stepanov hebasto

🇺🇦
Bitcoin, Math
View GitHub Profile
@hebasto
hebasto / carbon
Created March 21, 2020 23:28 — forked from fanquake/carbon
dyld: bind: bitcoin-qt:0x10A9BB198 = CarbonCore:_LocaleRefFromLocaleString, *0x10A9BB198 = 0x7FFF3400E559
dyld: bind: bitcoin-qt:0x10A9BB278 = LaunchServices:_ReleaseIconRef, *0x10A9BB278 = 0x7FFF34302CD8
dyld: bind: bitcoin-qt:0x10A9BB298 = CarbonCore:_UCCompareText, *0x10A9BB298 = 0x7FFF33FB5FCB
dyld: bind: bitcoin-qt:0x10A9BB2A0 = CarbonCore:_UCCreateCollator, *0x10A9BB2A0 = 0x7FFF33FB5A14
dyld: bind: bitcoin-qt:0x10A9BB2A8 = CarbonCore:_UCDisposeCollator, *0x10A9BB2A8 = 0x7FFF33FB8C62
dyld: bind: bitcoin-qt:0x10A9BB2B0 = CarbonCore:_UCKeyTranslate, *0x10A9BB2B0 = 0x7FFF33FBBBD0
@hebasto
hebasto / ask.sh
Created July 27, 2018 17:45
Bash General-Purpose Yes/No Prompt Function ("ask")
# This is a general-purpose function to ask Yes/No questions in Bash, either
# with or without a default answer. It keeps repeating the question until it
# gets a valid answer.
ask() {
# https://djm.me/ask
local prompt default reply
while true; do