Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
int main(int argc, char** argv)
{
std::cout << "Hello, World!" << std::endl;
return 0;
}
17,19d16
< d0b11d1d27fe425bc91ea51fab74ad45e428753796f0392e446e8b2450293255 accountsservice_0.6.45-1ubuntu1_amd64.deb
< 7664041a35332febccd6c2c13d384c0bad6b0af63c7250f70d6c29477e5e5754 acl_2.2.52-3build1_amd64.deb
< f2afba152b0c82ec2be80a455f7757d2e778e7322ce53dae10c00a685bda4623 acpid_1%3a2.0.28-1ubuntu1_amd64.deb
22,25d18
< 724111c4e9831d9422631f5c7446b1af318aeea98ac3384c7cc02323a82c69fc apparmor_2.12-4ubuntu5.1_amd64.deb
< 014f0a1fbe238342efc4eacba64c431271de5c01ab1e9dbea5e831b958136c1c apport-symptoms_0.20_all.deb
< cdb1829179f75d9c57b508fceae3f244f3f9d1ff874d6c08011a4cf43f03c178 apport_2.20.9-0ubuntu7.15_all.deb
< 2630dd875d2279bd168fd2abd691cf6cebbf5f9f11af802f3314cf02261dd1c8 apt-utils_1.6.12ubuntu0.1_amd64.deb
27d19
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF/im9QBEADccQ6y8ZquYCYt8gPk0a6b81WoUh6Dx2/Jg1IKWpp5lcpUBY1U
GCMW3ghT422Ug1KsRz1BOmFBPbFXBLNZsaJ2y0NvkthrdQCjwn6kVn6+//GC1eiH
MJ3SmWHKVxNL4e+ppr/ZEJ3MVBbsx2nFJgeWI4p76ussY5SZiXTn+tiuCRLghi8A
qZ9dPBpIKPVlDoCUk8cpsxTh2E3NnDVqNAR6bfNW2GmYWlplwKwcfgUU1IjHso5+
GYd0lcepwGnPgmYg04JjfKLgn5TFOfgqvu6+oaps0f7mcZAyPK73ZSlGWwwY+WmA
QCwdyEshNO26QV/f9N0f007fVwbw/v3evOMC8Z+ufXtvuHqLYCuUDglDRWwI4kVy
IopVpseivCYp1cD9JNQZB2FAv1WWkqML9kJ01c7D93f5gayKPcduSS6oWukXZJIJ
+P003YaVV5APEtXOeilQFrzNhcmSw3HHa5mkC2fYeERHOrqu/PEa1xzlJQe80ZKe
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for Bitcoin Core 21.99.0.
#
# Report bugs to <https://github.com/bitcoin/bitcoin/issues>.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#
@justinmoon
justinmoon / test.rs
Last active November 25, 2020 20:04
#[test]
fn global_xpub() {
// "PSBT with `PSBT_GLOBAL_XPUB`" test vector from BIP 174
let raw = "70736274ff01009d0100000002710ea76ab45c5cb6438e607e59cc037626981805ae9e0dfd9089012abb0be5350100000000ffffffff190994d6a8b3c8c82ccbcfb2fba4106aa06639b872a8d447465c0d42588d6d670000000000ffffffff0200e1f505000000001976a914b6bc2c0ee5655a843d79afedd0ccc3f7dd64340988ac605af405000000001600141188ef8e4ce0449eaac8fb141cbf5a1176e6a088000000004f010488b21e039e530cac800000003dbc8a5c9769f031b17e77fea1518603221a18fd18f2b9a54c6c8c1ac75cbc3502f230584b155d1c7f1cd45120a653c48d650b431b67c5b2c13f27d7142037c1691027569c503100008000000080000000800001011f00e1f5050000000016001433b982f91b28f160c920b4ab95e58ce50dda3a4a220203309680f33c7de38ea6a47cd4ecd66f1f5a49747c6ffb8808ed09039243e3ad5c47304402202d704ced830c56a909344bd742b6852dccd103e963bae92d38e75254d2bb424502202d86c437195df46c0ceda084f2a291c3da2d64070f76bf9b90b195e7ef28f77201220603309680f33c7de38ea6a47cd4ecd66f1f5a49747c6ffb8808ed09039243e3ad5c1827569c50310000800000008
$ cargo --version
cargo 1.29.0 (524a578d7 2018-08-05)
$ cargo test
error: unable to get packages from source
Caused by:
failed to parse manifest at `/home/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.62/Cargo.toml`
Compiling druid-shell v0.6.0 (/home/justin/druid/druid-shell)
warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links`
--> druid-shell/src/lib.rs:29:9
|
29 | #![deny(intra_doc_link_resolution_failure)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
error[E0433]: failed to resolve: could not find `enums` in `gdk`
$ cargo build
Compiling openpnp_capture_sys v0.2.5 (/Users/justin/dev/openpnp-capture-rs/sys)
warning: unreachable statement
--> sys/build.rs:15:9
|
13 | panic!("help");
| --------------- any code following this expression is unreachable
14 | // Compile the included library distribution
15 | let out = cmake::build("vendor");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
= note: "cc" "-m64" "-arch" "x86_64" "-L" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.14lalwhs456uo3mc.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.18hdx1myzb6uuy8r.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.1aa58atoiqqwdyrz.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.1st5vv7sy1qdrup4.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.290sabh49czkww6g.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.2h2cvsc4dhzjj7y3.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.2sgouyb2wmi816z.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.2v9vn80i4l8ra1iv.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.2ywlodutsyfc7p97.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/d
@justinmoon
justinmoon / basic.txt
Last active October 6, 2020 21:22
error.txt
error: failed to run custom build command for `openpnp_capture_sys v0.2.5`
Caused by:
process didn't exit successfully: `C:\Users\justin\dev\openpnp-capture-rs\target\debug\build\openpnp_capture_sys-9ea0caa12db65e95\build-script-build` (exit code: 101)
--- stdout
running: "cmake" "C:\\Users\\justin\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\openpnp_capture_sys-0.2.5\\vendor" "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64" "-DCMAKE_INSTALL_PREFIX=C:\\Users\\justin\\dev\\openpnp-capture-rs\\target\\debug\\build\\openpnp_capture_sys-eb7127e5d878c1fb\\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_BUILD_TYPE=Debug"
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
-- The C compiler identification is MSVC 19.26.28806.0
-- The CXX compiler id