Skip to content

Instantly share code, notes, and snippets.

@leoc
leoc / config.vnc
Last active February 2, 2018 11:20
ClientCutText=0
ConnTime=2018-02-02T10:34:39.974Z
EnableChat=0
Host=127.0.0.1:5900
Password=2e2dbf576eb06c9e
Quality=High
RelativePtr=0
SendKeyEvents=0
SendPointerEvents=0
ServerCutText=0
module Turnip
module RSpec
class << self
alias_method :original_run_feature, :run_feature
def run_feature(context, feature, filename)
ValidationReport.add_feature(feature: feature, filename: filename)
original_run_feature(context, feature, filename)
end
end
(use-package outline-magic :ensure t)
(use-package yaml-mode
:ensure t
:config
(progn
(add-hook 'yaml-mode-hook 'leoc/yaml-outline-hook)
;; Customize folding markers
(set-display-table-slot
standard-display-table
@leoc
leoc / config.ru
Created October 5, 2022 11:24
XML-RPC-TAN handler for hibiscus-server
# copy to: config.ru
# install gems: rack rack-rpc xmlrpc byebug awesome_print
# run: rackup -o 0.0.0.0 -p 3000 config.ru
require 'builder'
require 'rack/rpc'
require 'awesome_print'
require 'byebug'
require 'base64'
#!/usr/bin/env bash
set -e
export ANDROID_HOME=~/Library/Android/sdk
export ANDROID_SDK_ROOT=$ANDROID_HOME
export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/cmdline-tools/8.0/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools/bin:$PATH
meteor_server=${METEOR_SERVER:-https://my.app}
KEYSTORE_FILE=.keystore
@leoc
leoc / README.md
Created April 9, 2025 11:29 — forked from olebedev/README.md
LLM CLI in Nix

Installation

nix-env -i -f ./default.nix