Discover gists
package main | |
import ( | |
"runtime" | |
"fmt" | |
"time" | |
) | |
func main() { | |
// Print our starting memory usage (should be around 0mb) |
# Heavily inspired by https://haluk.github.io/posts-output/2020-10-19-linux/ | |
# Replace <IFNAME> with wifi device name | |
# Replace <IDENTITY> with student identity (i.e. <USERNAME>@ntnu.no) | |
# Replace <PASSWORD> with user password | |
nmcli con add \ | |
type wifi \ | |
ifname <IFNAME> \ | |
con-name eduroam \ | |
ssid eduroam \ |
This is a full account of the steps I ran to get llama.cpp
running on the Nvidia Jetson Nano 2GB. It accumulates multiple different fixes and tutorials, whose contributions are referenced at the bottom of this README.
At a high level, the procedure to install llama.cpp
on a Jetson Nano consists of 3 steps.
- Compile the
gcc 8.5
compiler from source.
const jobsMachineConfig = Machine({ | |
id: "jobsAdmin", | |
initial: "loading", | |
context: { | |
jobs: [], | |
jobCategory: "All", | |
jobPolling: true, | |
selectedJob: undefined, | |
error: undefined, | |
}, |
const jobsMachineConfig = Machine({ | |
id: "jobsAdmin", | |
initial: "loading", | |
context: { | |
jobs: undefined, | |
selectedJob: undefined, | |
error: undefined, | |
}, | |
states: { | |
loading: { |
A breakdown of a project that uses XState to manage state for authenticating a user with Cognito, and then finding the authorized application user with an invoked machine.
- create auth machine
- create auth context
- handle AWS authentication
- once user authenticates with Cognito, redirect to user route to get user from db
- at user route use
userMachine
service fromauthMachine
to get application user - once associated application user is found, send user to organization route to allow user to associate session with specific organization
A breakdown of a project that uses XState to manage state for authenticating a user with Cognito, and then finding the authorized application user with an invoked machine.
- create auth machine
- create auth context
- handle AWS authentication
- once user authenticates with Cognito, redirect to user route to get user from db
- at user route use
userMachine
service fromauthMachine
to get application user - once associated application user is found, send user to organization route to allow user to associate session with specific organization
A breakdown of a project that uses XState to manage state for authenticating a user with Cognito, and then finding the authorized application user with an invoked machine.
- create auth machine
- create auth context
- handle AWS authentication
- once user authenticates with Cognito, redirect to user route to get user from db
- at user route use
userMachine
service fromauthMachine
to get application user - once associated application user is found, send user to organization route to allow user to associate session with specific organization
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"