Skip to content

Instantly share code, notes, and snippets.

View agrublev's full-sized avatar
💭
Always moving forward

Angel Grablev agrublev

💭
Always moving forward
View GitHub Profile
@agrublev
agrublev / .zshrc.sh
Created September 15, 2026 15:59
zshrc
unalias b 2>/dev/null
b() {
if [[ $# -eq 0 ]]; then
bun install
return
fi
case "$1" in
x|repl|exec|add|remove|update|audit|dedupe|prune|outdated|link|unlink|publish|patch|pm|info|why)
bun "$@"
DONE TYPE TASK SUBJECT DUE DATE NOTES PROJECT
ACTIONS
Calls Schedule team meeting Returning from vacation June 7th
✓ Calls Return Michael B.'s call
✓ Office File TPS Report Delivered to Lumbergh Friday AM
Home Order new router Check for Wi-Fi 6 compatibility
Errand Pick up dry cleaning Don't forget loyalty card Personal
Office Research Smartsheet
@agrublev
agrublev / statusline.sh
Created September 3, 2026 13:25
STATUSLINE!
#!/bin/bash
# Installs the Claude Code statusline script and wires it up in ~/.claude/settings.json.
# Run this on the target (server) machine: bash install-statusline.sh
set -euo pipefail
CLAUDE_DIR="$HOME/.claude"
STATUSLINE_PATH="$CLAUDE_DIR/statusline-command.sh"
SETTINGS_PATH="$CLAUDE_DIR/settings.json"
mkdir -p "$CLAUDE_DIR"
http://ninite.com/7zip-adoptjava8-adoptjdk8-aspnet10-avg-ccleaner-chrome-correttojre8-git-handbrake-openoffice-python3-qbittorrent-sharex-steam-vcredistx15-vlc-vscode-winrar/
@agrublev
agrublev / cloud-init-gist.sh
Last active June 19, 2026 18:46
cloud-init-gist.sh
#!/usr/bin/env bash
#
# cloud-init-gist.sh — self-contained first-boot bootstrap for a DigitalOcean
# Droplet that builds and runs the trimmed claude-universal image (Claude Code +
# Python/Node/Java). Paste this whole file into a PUBLIC GitHub gist, then set the
# droplet's user-data to a 2-line bootstrap that curls + runs it (see README at
# the bottom of this file).
#
# Design:
# - Embeds every build file inline (no git, no registry, no rsync needed).
echo "TOEKJIOJOIAJ"
@agrublev
agrublev / configs
Last active March 20, 2023 15:08
csgo
https://cdnme.s3.amazonaws.com/cdn/9924-d705-foralex.cfg
https://cdnme.s3.amazonaws.com/cdn/b72d-5523-CSGO.Config.Manager.exe
https://cdnme.s3.amazonaws.com/cdn/1c6b-8708-ALL-CSGO-CONFS.zip
https://gist.github.com/agrublev/7505d99dc13ced0a933eb78ea08e7061
https://gist.github.com/agrublev/7505d99dc13ced0a933eb78ea08e7061
@agrublev
agrublev / bootstrap.sh
Last active November 10, 2022 07:15 — forked from hemenkapadia/bootstrap.sh
[Ubuntu Bootstrap]
#!/bin/bash
# Check sudo.
# If credentials not already cached, ask for password and cache credentials.
# If already cached, increase sudo timeout by 5 min
sudo -v && exit 1 'Sudo access needed to execute this script'
# First update
echo "Updating apt list ...."
@agrublev
agrublev / unquoted_json_fix.js
Last active April 5, 2022 09:38 — forked from larruda/unquoted_json_fix.js
REGEX to add quotes to JSON unquoted keys (turns an invalid JSON into a valid one). fix json string
const fixJsonStr=str=>str.replace(/(\s*?{\s*?|\s*?,\s*?)(['"])?([a-zA-Z0-9_]+)(['"])?:/g, '$1"$3":');
let zzzz=fixJsonStr(`{
"kettty": "",
asds: [], kggk:{},
"ga": 222,
"sad": {
"zz": 0,
"as": false,
"gag": []
@agrublev
agrublev / apps.txt
Last active November 19, 2020 22:28
apps
https://cdnme.s3.amazonaws.com/cdn/0afb-87db-Angel%20Reader-1.0.0.dmg
https://cdnme.s3.amazonaws.com/cdn/66c3-f080-Angel%20Reader.app.zip