Skip to content

Instantly share code, notes, and snippets.

@juranki
juranki / gist:0654df7ac204a12bd4b2a45527770b7a
Last active September 20, 2026 07:11
install-dev-tools-debian.sh
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
@juranki
juranki / gist:84d7a055d5bece97bf78930affc9b92f
Created September 20, 2026 06:52
install-mise-debian.sh
sudo apt install extrepo
sudo extrepo enable mise
sudo apt update
sudo apt install mise
echo 'eval "$(mise activate bash)"' >> ~/.bashrc
cd /path/to/your/project
limactl start --name=$VM_NAME \
--cpus=2 --memory=4 --disk=30 \
--mount-only .:w \
--mount-type=virtiofs \
template:debian
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
@juranki
juranki / package.json
Created April 4, 2020 12:50
stenciljs + amplify auth
{
"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",
#!/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
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 {
!/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 \
!/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 \
#!/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 \