Skip to content

Instantly share code, notes, and snippets.

@vladkens
vladkens / README.md
Last active October 23, 2026 23:21
Fix for the GOG Mac version of Syberia (2014) on modern macOS / Apple Silicon: installer, frozen logo, white textures, fullscreen

Syberia (GOG, Mac) fix for modern macOS

Makes the GOG Mac version of Syberia (syberia_en_2.0.0.1.pkg, the 2014 Tetraedge port) install and run on current macOS, including Apple Silicon via Rosetta. Tested on macOS 27 on an M5 MacBook.

No game files are included: the script patches your own copy from GOG.

Problems it fixes

@vladkens
vladkens / README.md
Created October 15, 2026 18:30
Animated hearts for Ghostty — drifting symbols and cursor ripples, inspired by Claude Desktop

Animated hearts for Ghostty

A Ghostty shader inspired by the animated background in Claude Desktop: drifting symbols, expanding hearts, and small ripples when the terminal's text cursor moves. Works with any coding agent or CLI running inside Ghostty.

Tested with Ghostty 1.3.1 on macOS. A dark theme works best. No additional textures, plugins, or agent integrations are needed.

Installation

  1. Download hearts.glsl from this gist using its Raw button and save it somewhere permanent, for example ~/.config/ghostty/hearts.glsl.
  2. Open your Ghostty configuration. On macOS, press ⌘, to open the active config file.
@vladkens
vladkens / wezterm.lua
Last active August 31, 2026 19:10
WezTerm config for iTerm users https://vladkens.cc/from-iterm-to-wezterm/
-- https://wezfurlong.org/wezterm/config/files.html
-- https://alexplescan.com/posts/2024/08/10/wezterm/
-- https://github.com/wez/wezterm/issues/6112
-- https://github.com/wez/wezterm/issues/5754
local wezterm = require "wezterm"
local config = wezterm.config_builder()
local action = wezterm.action
local mux = wezterm.mux
config.audible_bell = "Disabled"
@vladkens
vladkens / git-sync.sh
Created December 2, 2022 19:27
git sync
#!/usr/bin/env bash
# Debug: Print all commands with expanded variables
# set -x
# Get all remote refs & remove outdated local refs
git fetch --all --prune
# Create local copy of remote branch & load latest changes
for rb in `git branch --remotes | grep -v 'HEAD'`; do
FROM node:16-alpine
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn app:build
EXPOSE 3000
CMD node dist/app.js
@vladkens
vladkens / # python - 2016-09-11_01-01-36.txt
Created September 12, 2016 21:41
python on Mac OS X 10.12 - Homebrew build logs
Homebrew build logs for python on Mac OS X 10.12
Build date: 2016-09-11 01:01:36
@vladkens
vladkens / xml_tools.php
Last active August 29, 2015 14:09
XML represents as array
<?php
define('XML_RETURN_DOM_ELEMENT', 1);
define('XML_WITHOUT_DECLARATION', 2);
define('XML_PRETTY_PRINT', 4);
function xml_decode($node) {
$node = is_string($node) ? new \SimpleXMLElement($node) : $node;
$result = ['tag' => $node->getName()];
foreach ($node->attributes() as $name => $value) {
$value = (array) $value;
<!doctype html>
<meta charset="utf-8" />
<style>
#canvas {
display: block;
margin: 0 auto;
border: 1px solid black;
}
</style>