Skip to content

Instantly share code, notes, and snippets.

View vjgpt's full-sized avatar
🎯
Focusing

Vijay Gupta vjgpt

🎯
Focusing
View GitHub Profile
@8teAPi
8teAPi / ec2setup.sh
Last active August 29, 2022 05:16
Debian EC2 setup for a working solana, anchor development environment
#!/bin/bash
# This script is used to setup the EC2 instance for the project.
# It is run by the EC2 instance after it is created.
# Minimum requirements:
# - Debian 10 - t2.small (2 vCPUs, 2 GB RAM)
wget https://static.rust-lang.org/rustup/archive/1.24.3/x86_64-unknown-linux-gnu/rustup-init
chmod +x rustup-init
./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.56.1-x86_64-unknown-linux-gnu --default-host x86_64-unknown-linux-gnu
@WrRaThY
WrRaThY / installation.md
Last active November 7, 2022 18:50
Installation notes for solana development with anchor

what to install

general stuff

install

# general deps
sudo apt update
sudo apt install gcc g++ pkg-config libudev-dev libssl-dev make build-essential libclang-dev

#npm
// by dave :)
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
@vasanthk
vasanthk / System Design.md
Last active May 22, 2024 02:16
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?