Skip to content

Instantly share code, notes, and snippets.

@cleot
cleot / keybase.md
Created January 10, 2025 18:33
keybase-atweb3

Keybase proof

I hereby claim:

  • I am cleot on github.
  • I am atweb3 (https://keybase.io/atweb3) on keybase.
  • I have a public key ASCl_BQTagxfXekAXxi0uGDj_TbHSv2cYq1zV2JkCXfCIgo

To claim this, I am signing this object:

@cleot
cleot / pass.md
Created December 9, 2024 18:51 — forked from abtrout/pass.md
Using password-store with git repository synching

Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store. For more information about GPG, consult the GNU Privacy Handbook.

Getting started

To get started, install pass and generate a keypair.

$ brew install pass
$ gpg --gen-key
$ gpg --list-keys
@cleot
cleot / ms-01-proxmox-cluster.md
Created September 19, 2024 11:27 — forked from thaynes43/ms-01-proxmox-cluster.md
Proxmox MS-01 Cluster w/ Ceph Ring Network

Shopping List

I was looking for mini PCs with SFP+ and found a lot of fairly expensive small servers that were tempting. Then I got lucky and saw a new product coming out from minisforum, the MS-01, which had everything I needed at a much lower pricepoint.

image

image

I went with the 20 core intel i9-13900H but I think any of the three would have been fine for my needs.

>D
>B
smlj=0
=>sensor53 r
R
smlj=0
S
if upsecs>22
then
smlj|=1
@cleot
cleot / atweb3-validator-metadata.json
Created September 30, 2022 02:20
atweb3-validator-metadata
{"claims":[{"url":"https://attestation1.celo.atweb3.io","timestamp":1664503249,"type":"ATTESTATION_SERVICE_URL"},{"name":"atweb3-validator","timestamp":1664504210,"type":"NAME"}],"meta":{"address":"0xe17B899D1Ba93249BE07aFa6ca670FE165Bc5d17","signature":"0xc10982818c29d598b58093c6d0ea2705ec2131280d3a17aea70bc19c4f9da9f7305db57af7947e5c73aeddec70093d4ca60f0de7157a7d994c7a45ceaf4fffb51b"}}
@cleot
cleot / tmux-cheatsheet.markdown
Created September 4, 2022 22:37 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@cleot
cleot / self.id.txt
Created October 12, 2021 10:36
self.id
did:3:kjzl6cwe1jw145ep2iwffs7iu16k8u58vmshg401v6h9m2yaqx191tns2r0d9n0
@cleot
cleot / 3Box.txt
Created September 15, 2021 12:43
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreif6zajehdxrn6hcobgexpaaqgsy6uxbl6bc5r3xuxdetzg33knzqu ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@cleot
cleot / disable_recaptcha-wpcf7.php
Last active April 10, 2021 19:34
Disable reCaptcha Badge & Plugin for all pages except for pages with contact forms (Wordpress, Contact Form 7, Google reCAPTCHA v3)
add_action( 'wp_enqueue_scripts', 'gbol_remove_wpcf7_resources_if_no_contact_form', 1 );
function gbol_remove_wpcf7_resources_if_no_contact_form() {
global $post, $gbol_css_dependencies, $abcf7;
if ( isset( $post ) && is_singular() && has_shortcode( $post->post_content, 'contact-form-7' ) ) {
return;
}
add_filter( 'wpcf7_load_js', '__return_false' );
add_filter( 'wpcf7_load_css', '__return_false' );
pragma solidity 0.4.24;
import "https://github.com/smartcontractkit/chainlink/evm/contracts/ChainlinkClient.sol";
import "https://github.com/smartcontractkit/chainlink/evm/contracts/vendor/Ownable.sol";
contract ATestnetConsumer is ChainlinkClient, Ownable {
uint256 constant private ORACLE_PAYMENT = 1 * LINK;
uint256 public currentPrice;
int256 public changeDay;