My rule of thumb to integrate a new tool to my daily workflow is to wait until I Google a tool to solve one of my problems, that repeat frequently enough, and then integrate it into my workflow. So, I would treat this list as an "exploration" step, and download the tools which you think are useful to your workflow.
| // Types for the result object with discriminated union | |
| type Success<T> = { | |
| data: T; | |
| error: null; | |
| }; | |
| type Failure<E> = { | |
| data: null; | |
| error: E; | |
| }; |
| # Clone llama.cpp | |
| git clone https://github.com/ggerganov/llama.cpp.git | |
| cd llama.cpp | |
| # Build it | |
| make clean | |
| LLAMA_METAL=1 make | |
| # Download model | |
| export MODEL=llama-2-13b-chat.ggmlv3.q4_0.bin |
| version: 2.1 | |
| setup: true | |
| orbs: | |
| path-filtering: circleci/[email protected] | |
| workflows: | |
| setup-workflow: | |
| jobs: |
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.
Here's how I combine the two, to create docs with embedded diagrams.
Get the command-line PlantUML from the download page or your relevant package manager.
| # Javascript Node CircleCI 2.0 configuration file | |
| # | |
| # Check https://circleci.com/docs/2.0/language-javascript/ for more details | |
| # | |
| version: 2 | |
| jobs: | |
| build: | |
| docker: | |
| - image: circleci/node:7.10 |
The default formula use by AWS RDS to calculate the max_connections parameter is: LEAST({DBInstanceClassMemory/9531392},5000)
But It's hard to find the exact value of DBInstanceClassMemory.
So, here are the values I got when I ran the SQL commmand: show max_connections; in some RDS instances:
| Instance type | RAM (GB) | max_connections |
|---|---|---|
| db.t2.small | 2 | 198 |
| db.t2.medium | 4 | 413 |
- http://stackoverflow.com/questions/804115 (
rebasevsmerge). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebasevsmerge) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
resetvscheckoutvsrevert) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse) - http://stackoverflow.com/questions/292357 (
pullvsfetch) - http://stackoverflow.com/questions/39651 (
stashvsbranch) - http://stackoverflow.com/questions/8358035 (
resetvscheckoutvsrevert)