# install ollama
brew install --cask ollama
# install continue.dev
code --install-extension Continue.continue
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
| #!/usr/bin/env bash | |
| # $USER | |
| [[ -n $(logname >/dev/null 2>&1) ]] && logged_in_user=$(logname) || logged_in_user=$(whoami) | |
| # $UID | |
| # logged_in_uid=$(id -u "${logged_in_user}") | |
| # $HOME | |
| logged_in_home=$(eval echo "~${logged_in_user}") |
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
| version: "1" | |
| rules: | |
| - fakeDirective: fakeyfake | |
| label: | |
| conflictLabel: |
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
| version: "1" | |
| rules: | |
| - base: main | |
| upstream: somet-code:main | |
| mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none. | |
| mergeUnstable: false # Optional, merge pull request even when the mergeable_state is not clean. Default: false | |
| label: ":arrow_heading_down: pull" # Optional | |
| conflictLabel: "merge-conflict" # Optional, on merge conflict assign a custom label, Default: merge-conflict |
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
| BASE_URL= | |
| ID= | |
| SERVICE_TOKEN= | |
| OUT_DIR= |
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
| # Below are the dependencies required for installing the common combination of numpy, scipy, pandas and matplotlib | |
| # in an Alpine based Docker image. | |
| ARG VERSION=3.18 | |
| FROM alpine:${VERSION} | |
| RUN apk update \ | |
| && apk add \ | |
| --no-cache \ |
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
| # Source: https://gist.github.com/vfarcic/77c63cede031951654d5fea5ce0acb43 | |
| ######################################################################################### | |
| # Say Goodbye to Makefile - Use Taskfile to Manage Tasks in CI/CD Pipelines and Locally # | |
| ######################################################################################### | |
| # Additional Info: | |
| # - Task: https://taskfile.dev | |
| # - Dagger: The Missing Ingredient for Your Disastrous CI/CD Pipeline: https://youtu.be/oosQ3z_9UEM |
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
| # get root | |
| sudo -s | |
| # format nvme | |
| mkfs.btrfs /dev/nvme0n1 | |
| # create partitions | |
| parted /dev/nvme0n1 mklabel gpt | |
| parted /dev/nvme0n1 mkpart primary 1MiB 100GiB | |
| parted /dev/nvme0n1 mkpart primary 100GiB 100% |
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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # get the root directory | |
| GIT_ROOT="$(git rev-parse --show-toplevel 2>/dev/null)" | |
| SCRIPT_DIR=$(dirname "$(readlink -f "$0")") | |
| if [ -n "$GIT_ROOT" ]; then | |
| TLD="$GIT_ROOT" | |
| else |