Skip to content

Instantly share code, notes, and snippets.

View sharp2448's full-sized avatar
🎯
AI & Automation Engineer | Blockchain | Web 3

0xSharp sharp2448

🎯
AI & Automation Engineer | Blockchain | Web 3
View GitHub Profile
@guest271314
guest271314 / harmony.md
Last active December 25, 2025 23:57
Why I use node, deno, bun, qjs, tjs at the same time

Why I use node, deno, bun, qjs, tjs at the same time.

Winds up being a (not the) rather comprehensive JavaScript toolbox. The idea being for the modern JavaScript programmer can use all of the tools available for a given requirement, task or job, without preference for any. No external bundlers or compilers are needed. No frameworks are needed. I can use qjs or tjs for systems with minimal RAM and disk space; and when I want to use Web API's deno makes an effort to provide those interfaces. In some cases I can run the exact same code in bun, deno, and node, which provides a means to perform 1:1 testing as to performance.

There's probably a few things I am unintentionally omitting below. These are just a brief synposis. I'll update accordingly.

@usr-ein
usr-ein / Dockerfile
Last active August 1, 2025 13:41
Optimal multistaged Dockerfile for poetry
# syntax=docker/dockerfile:1
# Keep this syntax directive! It's used to enable Docker BuildKit
# Based on https://github.com/python-poetry/poetry/discussions/1879?sort=top#discussioncomment-216865
# but I try to keep it updated (see history)
################################
# PYTHON-BASE
# Sets up all our shared environment variables
################################
@MBrassey
MBrassey / Match_Addresses.md
Last active May 9, 2025 14:57
Match Crypto Wallet Addresses (REGEX)

Match Crypto Wallet Addresses using Regular Expressions

The following regular expressions are crafted to match some commonly used cryptocurrency wallet address types. This document details the Regex components and pattern tests to match Ethereum, Bitcoin, Dash and Monero addresses.

🌀 Click the images below to view the tested patterns.

Ethereum (ETH)

/^0x[a-fA-F0-9]{40}$/g

Install Zsh and Oh-my-zsh on CentOS 7

Based on this article

ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does

This script can be copy paste to ssh as is. No hands installation. :-)

yum install zsh -y
@miguelmota
miguelmota / keccak256_abi_encode_example.js
Created March 14, 2019 18:31
Web3.js Solidity SHA3 (keccak256) Solidity equivalent
// in web3
web3.utils.keccak256(web3.eth.abi.encodeParameters(['string', 'address'], ['foo', '0x4ccA5F2f01746B1c13ca7a3Dab0462d225795D3A']))
// in solidity
keccak256(abi.encode("foo", 0x4ccA5F2f01746B1c13ca7a3Dab0462d225795D3A));
@Nilpo
Nilpo / Using Git to Manage a Live Web Site.md
Last active February 24, 2026 02:08
Using Git to Manage a Live Web Site

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active January 25, 2026 05:45
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active February 28, 2026 15:59
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname