Skip to content

Instantly share code, notes, and snippets.

View yazeed's full-sized avatar

Yazeed Al Oyoun yazeed

View GitHub Profile
@metasikander
metasikander / NIP-05_Simple_Guide.md
Last active February 13, 2024 20:09
A small minimal guide on setting up NIP-05 identifier on branle/nostr

This is a very basic guide, just to understand what's needed to set it up.
If you have any questions you can find me at https://nostr.com/8355095016fddbe31fcf1453b26f613553e9758cf2263e190eac8fd96a3d3de9

Prerequisite

Setup static file on server

Create a file that resolves to <domain>/.well-known/nostr.json, and fill it out like this (enter the name you want to use, and input your own public key, make sure its the HEX-key):

{

L2 protocols

Trust protocols (not always auditable)

  • Full custody (Coinbase)
  • 2-of-3 arbitration / DLC
  • Threshold multisig (ecash, Liquid)
  • Off-chain peg-out tx (statechains)
  • Collateralized custody

Payment channels

@atodev
atodev / sniper.js
Last active November 22, 2021 17:49
[Sniper] # MEV
https://explore.flashbots.net/
https://github.com/alchemistcoin/alchemist
--How to make $1m per month as a Solidity developer
https://www.youtube.com/watch?v=lXq0eU8viFQ
--Flashbots
https://github.com/flashbots/pm
https://github.com/flashbots/simple-arbitrage
https://docs.flashbots.net/
@Kuki145
Kuki145 / migrate.sh
Last active December 27, 2019 22:50
Steps to update a Mariner node to Freedom-Gemini node
# ================================================================================================
# IMPORTANT NOTE
# These commands should only be used to migrate your ot-node from version 2.0.59 to version 4.0.0
# They could cause problems if your node has already been running on version 4.0.0 for some time
# ================================================================================================
mkdir ~/Node_2_0_59_backup/
docker cp otnode:/ot-node/data/kademlia.crt ~/Node_2_0_59_backup/
docker cp otnode:/ot-node/data/kademlia.key ~/Node_2_0_59_backup/
@mtunjic
mtunjic / disable.sh
Last active March 31, 2024 18:12
Disable bunch of #$!@ in Catalina
#!/bin/bash
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it!
# IMPORTANT: You will need to run this script from Recovery. In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS.
# This script needs to be run from the volume you wish to use.
# E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
@mareks77
mareks77 / 001-Tradingview-Watchlist.md
Last active April 24, 2024 17:27 — forked from cryppadotta/001-Tradingview-Watchlist.md
Tradingview Watchlist Import Files for Crypto Exchanges

Tradingview Watchlist Import Files for Binance

The files below can be imported into a Tradingview watchlist.

Tradingview Watchlists

List is sorted by volume

@bayareawebpro
bayareawebpro / deployer.php
Created May 28, 2018 23:49
Laravel Deployer Config
<?php
return [
/*
|--------------------------------------------------------------------------
| Default deployment strategy
|--------------------------------------------------------------------------
|
| This option defines which deployment strategy to use by default on all
@bretton
bretton / improved-lnd-bitcoind-mainnet.md
Last active November 15, 2022 18:53
Detailed guide to installing LND and Bitcoind on Ubuntu 16.04 LTS for Mainnet

Intro

This guide is specific to getting LND 0.5-beta and Bitcoind running on Ubuntu 16.04 LTS for mainnet. It is aging rapidly and includes steps not necessary on newer versions of LND. As of April 2021 it is very out of date for bitcoind. As of December 2021 it is outdated for LND too.

Original installation guide:

This guide is broken into the following sections:

  • Install bitcoind and set to start automatically
  • Install development tools and dependancies
@cryppadotta
cryppadotta / 001-Tradingview-Watchlist.md
Last active January 13, 2024 07:16
Tradingview Watchlist Import Files for Crypto Exchanges

Tradingview Watchlist Import Files for Crypto Exchanges

Below you'll find Tradingview import files for Bittrex and Binance BTC-base markets

Ordered by CMC's Market Cap

I use Tradingview and I like to quickly click through all coins on a particular exchange. The files below can be imported into a Tradingview watchlist.

★ ★ ★ If you use these, leave a comment or a star above ★ ★ ★