Skip to content

Instantly share code, notes, and snippets.

View dmp1ce's full-sized avatar
😃
Enjoying life

David dmp1ce

😃
Enjoying life
View GitHub Profile
david@bar:/mnt/gramps_media/photos$ snap run --strace=--raw superproductivity
execve("/usr/lib/snapd/snap-confine", ["/usr/lib/snapd/snap-confine", "--base", "core18", "snap.superproductivity.superprod"..., "/usr/lib/snapd/snap-exec", "superproductivity"], 0x7fffc1790870 /* 84 vars */) = 0
access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
brk(NULL) = 0x55619e4bb000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffce9c3c560) = -1 EINVAL (Invalid argument)
fcntl(0, F_GETFD) = 0
fcntl(1, F_GETFD) = 0
fcntl(2, F_GETFD) = 0
access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
@dmp1ce
dmp1ce / move_zfs_child_datasets.bash
Last active February 6, 2022 03:41
Move all ZFS child datasets to a new parent dataset
#!/bin/bash
# Move all ZFS child datasets to a new parent dataset
# See post about problematic Docker datasets:
# https://daveparrish.net/posts/2020-11-10-Managing-ZFS-Snapshots-ignore-Docker-snapshots.html
if [ ! $# -eq 2 ]; then
echo "Please supply a source and destination ZFS dataset as the first and second parameter"
echo "Example: ./move_zfs_child_datasets.bash zpool/ROOT/default zpool/docker"
exit;
$ bisq-desktop
Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/david/snap/bisq-desktop/common
Mar-20 20:47:47.725 [main] INFO bisq.core.setup.CoreSetup:
Log files under: /home/david/snap/bisq-desktop/common/.local/share/Bisq/bisq
Mar-20 20:47:47.737 [main] INFO bisq.common.util.Utilities: System info: os.name=Linux; os.version=5.5.9-arch1-2; os.arch=amd64; sun.arch.data.model=64; JRE=11.0.6+10-post-Ubuntu-1ubuntu118.04.1 (Ubuntu); JVM=11.0.6+10-post-Ubuntu-1ubuntu118.04.1 (OpenJDK 64-Bit Server VM)
Mar-20 20:47:47.739 [main] INFO b.c.s.CoreNetworkCapabilities: Set Capability.RECEIVE_BSQ_BLOCK
Mar-20 20:47:47.850 [main] INFO bisq.common.app.Version: Version{VERSION=1.2.9, P2P_NETWORK_VERSION=1, LOCAL_DB_VERSION=1, TRADE_PROTOCOL_VERSION=2, BASE_CURRENCY_NETWORK=0, getP2PNetworkId()=10}
Mar-20 20:47:47.851 [main] INFO bisq.core.setup.CoreSetup: Path to Bisq jar file: /snap/bisq-desktop/x6/usr/lib/common.jar
@dmp1ce
dmp1ce / gist:b149381d9d3f194f431e3f79a612ade7
Last active February 19, 2020 01:17
diffutils compile errors on Arch Linux (error=stack-protector)
$ make
Making all in lib
make[1]: Entering directory '/home/david/Workspace/diffutils/lib'
GEN alloca.h
GEN ctype.h
GEN fcntl.h
GEN iconv.h
GPERF iconv_open-aix.h
GPERF iconv_open-hpux.h
GPERF iconv_open-irix.h
tryCommand h p c = do
re <- try (sendCGMinerCommand h p c)
let r = case re of
Right a -> a
Left (SomeException e) -> error $ "sendCGMinerCommand error: " ++ (show e)
-- How do I match network timeout here?
return r
<title>AntennaPod Subscriptions</title>

AntennaPod Subscriptions

  1. Ask Noah Show [Website] [Feed]
  2. Bitcoin & Markets with Ansel Lindner [Website] [Feed]
@dmp1ce
dmp1ce / bitcoin_opensource_projects.md
Last active April 19, 2019 01:21
Bitcoin related opensource projects

Open source projects related to bitcoin.

Bitcoin

Store of value layer. Nodes for maintaining the network and wallets for managing keys and ledger changes.

Bitcoin node software

  • bitcoin-core: Primary software for maintaining the bitcoin network. release feed
  • btcd: Alternative full node software written in Go language. Often used by developers for developing Lightning network.
Verifying my Blockstack ID is secured with the address 1P9fESGa3vaa1Qv1Vqg5G2dM5aFNYKEjB7 https://explorer.blockstack.org/address/1P9fESGa3vaa1Qv1Vqg5G2dM5aFNYKEjB7
@dmp1ce
dmp1ce / docker-compose.yml
Created March 16, 2017 02:23
docker-compose.yml for Deluge service
version: "2"
services:
deluge-openvpn:
restart: always
image: binhex/arch-delugevpn
cap_add:
- NET_ADMIN
ports:
- "8112:8112"
# - "8118:8118"