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
| sudo apt update | |
| sudo apt upgrade | |
| sudo apt install git curl ca-certificates build-essential ripgrep fd-find jq unzip zip | |
| mise use --global bun node@lts go | |
| npm install -g @playwright/cli@latest | |
| playwright-cli install-browser --with-deps |
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
| sudo apt install extrepo | |
| sudo extrepo enable mise | |
| sudo apt update | |
| sudo apt install mise | |
| echo 'eval "$(mise activate bash)"' >> ~/.bashrc |
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
| cd /path/to/your/project | |
| limactl start --name=$VM_NAME \ | |
| --cpus=2 --memory=4 --disk=30 \ | |
| --mount-only .:w \ | |
| --mount-type=virtiofs \ | |
| template:debian |
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
| omarchy pkg add qemu-system-x86 qemu-base | |
| lima_version=2.2.0 | |
| mkdir -p /tmp/lima-install | |
| cd /tmp/lima-install | |
| curl -fLO "https://github.com/lima-vm/lima/releases/download/v${lima_version}/lima-${lima_version}-Linux-x86_64.tar.gz" | |
| curl -fLO "https://github.com/lima-vm/lima/releases/download/v${lima_version}/lima-additional-guestagents-${lima_version}-Linux-x86_64.tar.gz" | |
| sudo tar -xzf "lima-${lima_version}-Linux-x86_64.tar.gz" -C /usr/local |
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
| { | |
| "name": "test-amplify", | |
| "private": true, | |
| "version": "0.0.1", | |
| "description": "Stencil App Starter", | |
| "scripts": { | |
| "build": "stencil build", | |
| "start": "stencil build --dev --watch --serve", | |
| "test": "stencil test --spec --e2e", | |
| "test.watch": "stencil test --spec --e2e --watchAll", |
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 -x | |
| set -e | |
| function install_hashi_bin { | |
| local app=$1 | |
| local version=$2 | |
| wget https://releases.hashicorp.com/${app}/${version}/${app}_${version}_linux_amd64.zip | |
| wget https://releases.hashicorp.com/${app}/${version}/${app}_${version}_SHA256SUMS |
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
| with import <nixpkgs> {}; | |
| stdenv.mkDerivation { | |
| name = "mosquitto-1.3.5"; | |
| buildInputs = [ python tcp_wrappers openssl c-ares ]; | |
| configurePhase = '' | |
| substituteInPlace config.mk --replace "prefix=/usr/local" "prefix=" | |
| echo "DESTDIR=$out" >> config.mk | |
| ''; | |
| src = fetchurl { |
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 | |
| # this script assumes a fresh Arch Linux 2013.05 x64 | |
| # filesystem conflicts with some other system, so ignore it first | |
| pacman -Syu -q --noconfirm --ignore filesystem | |
| pacman -S -q --noconfirm --needed \ | |
| filesystem \ | |
| base-devel \ | |
| git \ |
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 | |
| # this script assumes a fresh Arch Linux 2013.05 x64 | |
| export PLUGINHOOK_REPO=${DOKKU_REPO:-"https://github.com/progrium/pluginhook.git"} | |
| export DOKKU_REPO=${DOKKU_REPO:-"https://github.com/juranki/dokku.git"} | |
| # filesystem conflicts with some other system, so ignore it first | |
| pacman -Syu -q --noconfirm --ignore filesystem | |
| pacman -S -q --noconfirm --needed \ |
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 | |
| aws ec2 run-instances \ | |
| --image-id ami-8e987ef9 \ | |
| --key-name kubuntu \ | |
| --security-groups ux \ | |
| --user-data "#include https://get.docker.io" \ | |
| --instance-type t1.micro \ |
NewerOlder