Skip to content

Instantly share code, notes, and snippets.

View ovuruska's full-sized avatar
🏠
Working from home

Oguz Vuruskaner ovuruska

🏠
Working from home
View GitHub Profile
@ovuruska
ovuruska / metaplex.md
Created February 1, 2022 13:48 — forked from davoclavo/metaplex.md
Deploy Metaplex suite to local cluster

Deploy Metaplex

git clone git@github.com:metaplex-foundation/metaplex.git

cd metaplex/rust

cargo build-bpf

solana config set --url localhost

solana-test-validator

@ovuruska
ovuruska / bash.generate.random.alphanumeric.string.sh
Last active September 26, 2021 17:10 — forked from earthgecko/bash.generate.random.alphanumeric.string.sh
shell/bash generate random alphanumeric string
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1
#!/usr/bin/env python
"""
Bundle the site-packages of the current python environment into a zip file
If you have any wheels at `$(pwd)/wheels`, those will be used instead of
of the locally installed packages. For instance, if my pwd looked like
wheels/
|-- numpy-1.11.2-cp27-cp27mu-manylinux1_x86_64.whl