Skip to content

Instantly share code, notes, and snippets.

View rumisle's full-sized avatar
🛏️
Oh

rumi rumisle

🛏️
Oh
  • 17:34 (UTC)
View GitHub Profile
@rumisle
rumisle / block-chatgpt-feedback-tracking.user.js
Created July 7, 2025 15:23
Blocks ChatGPT explicit & implicit message feedback
// ==UserScript==
// @name Block ChatGPT Feedback and Paragen Tracking
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Block implicit_message_feedback and paragen_submission requests on ChatGPT
// @author ChatGPT-4o
// @match https://chatgpt.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
@rumisle
rumisle / .tmux.conf
Last active January 18, 2025 16:16
.tmux.conf
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-cpu'
# remap prefix from 'C-b' to 'M-a'
unbind C-b
set-option -g prefix M-a
bind-key M-a send-prefix
# renumber windows
@rumisle
rumisle / mixtral-8x22b-log.txt
Created April 11, 2024 08:35
mixtral-8x22b-log.txt
## Instance 0:
Term: #A #A #B #B #B #B #B A# A# A# A# B#
Norm: #A #A #B #B #B #B #B A# A# A# A# B#
Rwt: 0
AI-RESPONSE:
- #A -> J
- #A -> J
- #B -> L
- #B -> L
- #B -> L
# Problem Description
Below is a system with 4 tokens: H, J, K and L.
An program within this system is a sequence of tokens. Example:
L L K J J H H L L K K J
To compute a program, we must rewrite token pairs, using the following *four* rules:
@rumisle
rumisle / nix-lang.md
Created March 21, 2024 17:41 — forked from edolstra/nix-lang.md
Nix language changes

This document contains some ideas for additions to the Nix language.

Motivation

The Nix package manager, Nixpkgs and NixOS currently have several problems:

  • Poor discoverability of package options. Package functions have function arguments like enableFoo, but there is no way for the Nix UI to discover them, let alone to provide programmatic ways to
@rumisle
rumisle / vimium_options.txt
Last active May 5, 2024 07:40
vimium options
mapkey a K
mapkey q J
mapkey s j
mapkey w k
mapkey e u
mapkey S H
mapkey D L
mapkey t O
map R reload hard
@rumisle
rumisle / .vimrc
Last active August 17, 2023 06:03
.vimrc-new
set tabstop=4 " The width of a TAB is set to 4.
" Still it is a \t. It is just that Vim will interpret it
" to be having a width of 4.
set shiftwidth=4 " Indents will have a width of 4. set softtabstop=4 "
"Sets the number of columns for a TAB.
set expandtab
set incsearch
set hlsearch
set laststatus=2
set ignorecase
@rumisle
rumisle / com.cpp
Last active April 11, 2023 09:21
com
/* $ clang++ -o # @ -O2 -Wall
*
* compile anything
* original version by Tom Duff: http://www.iq0.com/duffgram/com.html
* here's my own version, with the purpose to learn exec() syscall.
*
* - 44
* 2021.11.24
*/
@rumisle
rumisle / .vimrc
Created February 6, 2021 14:12
.vimrc
set guifont=Fira\ Code:h11:cANSI
set guifontwide=Microsoft\ Yahei\ Mono:h12
set pythonthreedll=python38.dll
set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1,gbk,gb18030,gk2312
set fileencoding=utf-8
" set foldmethod=indent
@rumisle
rumisle / cvimrc
Created July 2, 2019 14:06
cvimrc new
set smoothscroll
map a K
map q J
let mapleader = "\<Space>"
map <Leader>r reloadTabUncached