Skip to content

Instantly share code, notes, and snippets.

View talalashraf's full-sized avatar

Talal Ashraf talalashraf

View GitHub Profile
@talalashraf
talalashraf / keybase.md
Created July 13, 2024 02:22
Proving keybase identity

Keybase proof

I hereby claim:

  • I am talalashraf on github.
  • I am talalashraf (https://keybase.io/talalashraf) on keybase.
  • I have a public key ASB0CbM1jQGX9ml0r_9IqMs_rvkkm-dOGEGAnX_yOQd_GQo

To claim this, I am signing this object:

@talalashraf
talalashraf / cosmos-block-analysis.md
Last active July 19, 2024 18:10
Consensus params on block size for cosmos chains
@talalashraf
talalashraf / 01-download-cosmwasm-artifacts.sh
Last active November 15, 2024 16:50
Helper scripts - Amplifier Deployments
#!/bin/bash
set -e
# Base URL
BASE_URL="https://static.axelar.network/releases/amplifier"
# Directory to save files
SAVE_DIR="cosmwasm-artifacts"
# Create directory if it doesn't exist
@talalashraf
talalashraf / leave.sh
Created November 6, 2024 17:11
Eject Volumes on MacOS
# Add this function to bashrc or zshrc on macos. Run before unplugging a dock.
leave() {
local failed_mounts=()
declare -i success_count=0
declare -i total_count=0
echo "Preparing to safely unmount all external volumes..."
# Get list of mounted volumes that aren't the system volume