Skip to content

Instantly share code, notes, and snippets.

@gzmask
gzmask / handoff-default-merge.md
Created August 26, 2026 21:32
HANDOFF: merge/retire `default` profile home on chat-niarv Fly pod (keep `chat` canonical). PR-only, no deploy. For coding agent with flyctl.

Handoff: merge / retire the default profile home on the chat-niarv Fly pod (keep chat canonical)

Author: Dragon Nuggets (Hermes chat agent on the chat pod) · Date: 2026-08-26 Assigned to: a coding agent with flyctl + write access to gzmask/chat-niarv + SSH/console access to the chat-niarv-com Fly app.

TL;DR objective

There are two Hermes profile homes on the same pod, both wired to the same Telegram bot / user (Ray):

  • default → /opt/data (the pod's shared real-home root; near-empty profile state)
  • chat → /opt/data/profiles/chat (the LIVE profile; all real history)
@gzmask
gzmask / 3d model csg data driven
Last active June 25, 2020 18:23
3d model csg
{:entities
[{:type union
:entities [{:type :sphere
:diameter 6
:transformations {:translate {:x 6}
:rotate-x 1}}
{:type :cube
:width 10
:length 10
:transformations {:scale {:size 0.5}}}]}
@gzmask
gzmask / init.el
Last active October 15, 2025 18:33
emacs config
;;; This is only needed once, near the top of the file
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
@gzmask
gzmask / surfingkey.js
Last active January 27, 2022 06:30
surfingkeys config
//gzmask's remapping of the keys
api.unmap('B');
api.unmap('F');
api.cmap('<Ctrl-j>', '<Tab>');
api.cmap('<Ctrl-k>', '<Shift-Tab>');
api.map('J', 'E');
api.map('K', 'R');
@gzmask
gzmask / .tmux.conf
Last active June 14, 2017 18:08
.tmux.conf
set -g base-index 1
set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
set -g mouse on
set -sg escape-time 0
setw -g mode-keys vi
setw -g monitor-activity on
unbind-key j
# source this file in .bashrc
# shortcuts
alias v=/usr/bin/nvim
#alias e="/usr/local/bin/emacs-25.1 --insecure&"
function e () { /usr/local/bin/emacs-25.1 --insecure "$1" & }
alias w="cmd.exe /c start"
alias gui-start="/mnt/c/Program\ Files/VcXsrv/vcxsrv.exe :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl&"
alias gui-stop="cmd.exe /c taskkill /IM vcxsrv.exe /F"
{
"alloc": {
"gzmask2cbd23b783741e8d7fcf51e459b4gzmask": {
"balance": "1606938044258990275541962092341162602522202993782792835301376"
},
"gzmask9544a56c530d868e4bfbacb17231gzmask": {
"balance": "1606938044258990275541962092341162602522202993782792835301376"
}
},
"nonce": "0x000000000000002a",
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
set gdefault
" colorscheme
set cuc cul
hi CursorColumn ctermbg=17
hi CursorLine cterm=none ctermbg=17
if has("gui_running")
colorscheme torte
set transparency=15
endif
@gzmask
gzmask / change.clj
Last active August 29, 2015 14:07
Counting Change Combinations codewars
(ns count-change)
(defn cart [colls]
(if (empty? colls)
'(())
(for [x (first colls)
more (cart (rest colls))]
(cons x more))))
(defn noseq? [x]