# general deps
sudo apt update
sudo apt install gcc g++ pkg-config libudev-dev libssl-dev make build-essential libclang-dev
#npm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Intro to Programming on Solana https://paulx.dev/blog/2021/01/14/programming-on-solana-an-introduction/
Intro to Anchor Framework https://project-serum.github.io/anchor/getting-started/introduction.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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) { |
Picking the right architecture = Picking the right battles + Managing trade-offs
- 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?