Skip to content

Instantly share code, notes, and snippets.

View m1guelpf's full-sized avatar

Miguel Piedrafita m1guelpf

View GitHub Profile
@m1guelpf
m1guelpf / keybase.md
Created January 24, 2017 07:42
Keybase verification

Keybase proof

I hereby claim:

  • I am m1guelpf on github.
  • I am m1guelpiedrafita (https://keybase.io/m1guelpiedrafita) on keybase.
  • I have a public key whose fingerprint is C1F1 3895 7683 57BF 8B11 1CB4 6EA7 8C37 1E92 CE7A

To claim this, I am signing this object:

@m1guelpf
m1guelpf / file
Created February 18, 2017 16:54
freedom_public
{"0.5946903310239156":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMETSeSoxa05hrbSDv5gmdDXghhkHWezJyb\r\nReYUADRle+Mu7TQCr+suHAL4h7I+wp5xT0hxCRUSG9Tb+73dTGgLcM3/AAAACDxn\r\naXRodWI+wv8AAACOBBATCABA/wAAAAWCWKh8U/8AAAACiwn/AAAACZBx6mDF20EK\r\nQP8AAAAFlQgJCgv/AAAABJYDAQL/AAAAApsD/wAAAAKeAQAAfNwA/RzayQNDifcS\r\nw0hxvCkd/3qBP2VujO/qTcxgxwBWzux0AQDOkNbZfzfsMVFmodMzyDb8aZBE/FBH\r\n/XDgJ4qXPxPKO87/AAAAVgQAAAAAEggqhkjOPQMBBwIDBKf9nO0jWn9F3Ksp5qxu\r\nxqL7/MfGh4JRktpsk5gLaMGcPgRu4czHjb6wgNWnye8OutYkh+Fnic9Q5njvktbf\r\nze8DAQgHwv8AAABtBBgTCAAf/wAAAAWCWKh8U/8AAAAJkHHqYMXbQQpA/wAAAAKb\r\nDAAAQc4BAKx7jVm/oZiGjZz1fZeIryRO8lBRel9bAJ3Q2hrvryapAP4wrB/Eh9pp\r\nVtdPvAKoQCi1f4sqPC8ZIhN5Gfsq/pWA6w==\r\n=YMP8\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n"}

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Description

Related Issue

@m1guelpf
m1guelpf / test.md
Last active May 11, 2018 15:55
Example Markdown document for playing with UnMarkDocs
title description next
Rendered Example
Example gist to showcase the possibilities of UnMarkDocs
url copy
What are you waiting for? Create an UnMarkDocs account!

How it Works

@m1guelpf
m1guelpf / mysql.sh
Last active May 11, 2018 15:28 — forked from mahemoff/mysql.sh
circleci mysql upgrade
#!/bin/bash
set -x
set -e
export DEBIAN_FRONTEND=noninteractive
sudo apt-get --purge autoremove -y mysql-server-5.6
curl -LO https://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb
echo mysql-apt-config mysql-apt-config/select-product select Apply | sudo debconf-set-selections

Keybase proof

I hereby claim:

To claim this, I am signing this object:

This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreigic2vtnqmiryifjotq73punydb3wsio3y3r4vagonxu2h7g5l2wq ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@m1guelpf
m1guelpf / PRMTVS.sol
Last active January 3, 2022 20:03
A lil identity namespace contract in response to jsngr's tweet: https://twitter.com/jsngr/status/1478090387101302789
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
contract PRMTVS {
struct Identity {
string name;
string bio;
string email;
string website;
}
@m1guelpf
m1guelpf / Leaderboard.sol
Created January 20, 2022 05:22
An optimized version of nnnnicholas.eth's leaderboard contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import 'solmate/utils/SafeTransferLib.sol';
/**
* @title Leaderboard
* @author @nnnnicholas, tweaked by @m1guelpf
* @dev Receive ETH and associate contributions with contract addresses.
*/