Skip to content

Instantly share code, notes, and snippets.

View augustoproiete's full-sized avatar
👨‍💻
shipping it :shipit: from home 🏠

C. Augusto Proiete augustoproiete

👨‍💻
shipping it :shipit: from home 🏠
View GitHub Profile

Creating an ord compatible wallet with Sparrow Wallet

Users who cannot or have not yet setup the ord wallet can receive inscriptions and ordinals with alternative bitcoin wallets, as long as they are very careful about how they spend from that wallet.

This guide gives some basic steps on how to create a wallet with Sparrow Wallet which is compatible with ord and can be later imported into ord

⚠️⚠️ Warning!! ⚠️⚠️

As a general rule if you take this approach, you should use this wallet with the Sparrow software as a receive-only wallet. Do not spend any satoshis from this wallet unless you are sure you know what you are doing. You could very easily inadvertently lose access to your ordinals and inscriptions if you don't heed this warning.

Wallet Setup & Receiving

@augustoproiete
augustoproiete / augustoproiete-cla.md
Created June 4, 2021 13:45
C. Augusto Proiete Individual Contributor License Agreement

C. Augusto Proiete Individual Contributor License Agreement

Thank you for your interest in contributing to open source software projects ("Projects") made available by C. Augusto Proiete or his affiliates ("C. Augusto Proiete"). This Individual Contributor License Agreement ("Agreement") sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to C. Augusto Proiete in respect of any of the Projects (collectively "Contributions"). If you have any questions respecting this Agreement, please contact hello@augustoproiete.net.

You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.

Copyright License. You hereby grant, and agree to

Keybase proof

I hereby claim:

  • I am augustoproiete on github.
  • I am augustoproiete (https://keybase.io/augustoproiete) on keybase.
  • I have a public key whose fingerprint is 75C7 661C 8E38 4448 3727 0E05 EDAB B285 2A92 ECE5

To claim this, I am signing this object:

@augustoproiete
augustoproiete / ValidateSelfSignedCertificate.cs
Created December 6, 2019 18:55
Send e-mail validating self-signed SSL certificate
// Copyright 2019 Caio Proiete & Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
public class PhatomReferenceQueue<THandle>
{
private BlockingCollection<THandle> _queue = new BlockingCollection<THandle>();
private ConditionalWeakTable<object, PhatomReference> _refs = new ConditionalWeakTable<object, PhatomReference>();
public void Register(object instance, THandle handle)
{
_refs.Add(instance, new PhatomReference(this, handle));
}
@augustoproiete
augustoproiete / GitHub-Forking.md
Created January 25, 2018 04:08 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@augustoproiete
augustoproiete / github-wiki-how-to.md
Created August 24, 2017 14:33
GitHub Wiki How-To

How do I clone a GitHub wiki?

Any GitHub wiki can be cloned by appending wiki.git to the repo url, so the clone url for the repo https://myorg/myrepo/ is: git@github.com/myorg/myrepo.wiki.git (for ssh) or https://github.com/my/myrepo.wiki.git (for https).

You make edits, and commit and push your changes, like any normal repo.

How do I add images to a wiki page?

You need to clone the wiki repo and edit it on your system.

@augustoproiete
augustoproiete / ReadingPortableExecutable_PE_header.cs
Created December 6, 2016 04:03
Reading the Portable Executable (PE) header in C#
// Credits: John Stewien
// From: http://code.cheesydesign.com/?p=572
/*
Reading the Portable Executable (PE) header in C#
My job consists of writing fully custom applications for groups of people. The time pressure of these projects is quite high, so generally people start using the application while I’m still writing it, which means I write it modularly and add features as I go along. I also fix bugs as they are discovered. My clients are 2 tiered where expert users get a new build first, they test if for a while, and if they think it’s acceptable they then pass it on to others.
This method of distribution is quite ad-hoc so when a client rings me up and asks me to view their screen to look at something, it’s useful to know what build they are running. To facillitate this I print the link date in the main Window Title so I instantly have an idea about how old the version is that I am looking at. This date is calculated at run time. To do this requires reading in the Portable Executable (PE) header from th
@augustoproiete
augustoproiete / ExcelHelper.cs
Created December 5, 2016 19:27 — forked from garethhayter/ExcelHelper.cs
Get version, filepath, bitness of installed versions of Excel
/**** Requires PeHeaderReader to determine bitness: http://code.cheesydesign.com/?p=572 ****/
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.AccessControl;
/// <summary>
/// See: http://support.microsoft.com/kb/240794
@augustoproiete
augustoproiete / detectfx.cpp
Created November 29, 2016 00:00
Detect .NET Framework installed on the machine (Credits: Aaron Stebner, October 24, 2016)
#include <stdio.h>
#include <windows.h>
#include <tchar.h>
#include <strsafe.h>
#include <mscoree.h>
// In case the machine this is compiled on does not have the most recent platform SDK
// with these values defined, define them here
#ifndef SM_TABLETPC
#define SM_TABLETPC 86