Skip to content

Instantly share code, notes, and snippets.

View 0xBADDCAFE's full-sized avatar

shun 0xBADDCAFE

View GitHub Profile
diff -ura byobu-5.127/usr/share/byobu/profiles/tmux byobu-5.127-2/usr/share/byobu/profiles/tmux
--- byobu-5.127/usr/share/byobu/profiles/tmux 2018-08-13 00:52:36.000000000 +0900
+++ byobu-5.127-2/usr/share/byobu/profiles/tmux 2019-05-03 22:41:21.990907600 +0900
@@ -39,9 +39,13 @@
#set-option -g set-titles on
#set-option -g set-titles-string '#(whoami)@#H - byobu (#S)'
-set-option -g pane-active-border-bg $BYOBU_HIGHLIGHT
-set-option -g pane-active-border-fg $BYOBU_HIGHLIGHT
-set-option -g pane-border-fg $BYOBU_ACCENT
diff --git a/keyboards/helix/rev2/keymaps/0xbaddcafe/keymap.c b/keyboards/helix/rev2/keymaps/0xbaddcafe/keymap.c
index 441c39525..b1ebeb5d3 100644
--- a/keyboards/helix/rev2/keymaps/0xbaddcafe/keymap.c
+++ b/keyboards/helix/rev2/keymaps/0xbaddcafe/keymap.c
@@ -347,6 +347,8 @@ void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) {
}
_
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ // For Ctrl-combination trigger
+ static bool ctrl_pressed;
package main
import (
"fmt"
"sync"
)
type Fetcher interface {
// Fetch returns the body of URL and
// a slice of URLs found on that page.
package main
import (
"fmt"
"golang.org/x/tour/tree"
)
// Walk walks the tree t sending all values
// from the tree to the channel ch.
@0xBADDCAFE
0xBADDCAFE / docker-compose.yml
Last active January 19, 2022 15:09
docker compose file for spigot server
version: '3'
services:
spigot:
# docker run -d -p 25565:25565 -e EULA=true nimmis/spigot
# -v /home/nimmis/mc-srv:/minecraft
# -e EULA=true
# -e MC_MAXMEM=2g
#
image: "nimmis/spigot"
ports:
diff --git a/pure.zsh b/pure.zsh
index cd55a3f..469f7f5 100644
--- a/pure.zsh
+++ b/pure.zsh
@@ -133,14 +133,15 @@ prompt_pure_preprompt_render() {
# and after the last newline, leaving us with everything except the
# preprompt. This is needed because some software prefixes the prompt
# (e.g. virtualenv).
- cleaned_ps1=${PROMPT%%${prompt_newline}*}${PROMPT##*${prompt_newline}}
+ # cleaned_ps1=${PROMPT%%${prompt_newline}*}${PROMPT##*${prompt_newline}}
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Qwerty
* ,-----------------------------------------. ,-----------------------------------------.
* | 1 | 2 | 3 | 4 | 5 | 6 | | 7 | 8 | 9 | 0 | - | = |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Ctrl | A | S | D | F | G | | H | J | K | L | ; |Enter |
* |------+------+------+------+------+------+------+------+------+------+------+------+------+------|
@0xBADDCAFE
0xBADDCAFE / detail.md
Last active June 17, 2018 14:42
はんだ付け職人のハンダゴテ(Ver.2) セット内容
// ==UserScript==
// @name Twitter Lite likeinclipboard
// @namespace http://0xbd.cf/
// @version 0.3
// @description Like to copy URL!
// @author 0xBADDCAFE
// @match https://*twitter.com/*
// @match https://mobile.twitter.com/*
// @require https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.3.0/js/iziToast.min.js
~/.config/dotfiles/.vim/bundle/vim-hariti/bin master*
❯ ./hariti.mac32
fatal error: still in list
runtime stack:
runtime.throw(0x13cd0b)
/home/maple/local/go/default/src/runtime/panic.go:491 +0x83 fp=0xbffff220 sp=0xbffff208
MHeap_AllocSpanLocked(0x14f8e0, 0x1, 0x0)
/home/maple/local/go/default/src/runtime/mheap.c:349 +0x282 fp=0xbffff240 sp=0xbffff220
mheap_alloc(0x14f8e0, 0x1, 0xb, 0x0, 0x0)