Skip to content

Instantly share code, notes, and snippets.

@hawkup
hawkup / A-setup.md
Last active January 30, 2022 07:27
Minikube on Mac OS
  1. Install Minikube
brew install minikube // minikube version 1.24.0
  1. Create cluster
# Make sure to setup docker use minimum memory 4096 and cpus 2
minikube start
// OR specific memory and cpu
@hawkup
hawkup / tools.md
Last active March 27, 2022 09:37
Tools

Volta - JS Toolchains as Code. ⚡

goenv - 🚙 Like pyenv and rbenv, but for Go.

Lens - The Kubernetes IDE

Raycast - lets you control your tools with a few keystrokes. It’s designed to keep you focused.

HTTP Toolkit - is a beautiful & open-source tool for debugging, testing and building with HTTP(S)

@hawkup
hawkup / simple.js
Last active October 3, 2021 10:29
K6 - Database Load Testing
// https://github.com/imiric/xk6-sql
// https://dev.to/k6/load-testing-sql-databases-with-k6-30ci
// ./k6 run --vus 5 --duration 5s script.js
import sql from 'k6/x/sql';
const db = sql.open("mysql", "username:password@tcp(127.0.0.1)/loadtest");
export function setup() {
db.exec(`
@hawkup
hawkup / Install bs-platform
Created January 6, 2018 14:42
Install bs-platform
npm install -g bs-platform
@hawkup
hawkup / Install React Native CLI
Last active April 1, 2017 15:34
React Native script
npm install -g react-native-cli
@hawkup
hawkup / Install Watchman
Created April 1, 2017 15:26
React Native script
brew install watchman
@hawkup
hawkup / Install Homebrew
Created April 1, 2017 15:19
React Native script
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@hawkup
hawkup / Install NVM
Last active January 6, 2018 14:30
React Native script
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
@hawkup
hawkup / Elixir.md
Created December 3, 2016 08:09
Elixir on osx

Install by brew

brew update
brew install elixir
@hawkup
hawkup / Elm.md
Last active December 3, 2016 08:03
Start Elm