Skip to content

Instantly share code, notes, and snippets.

View noizbuster's full-sized avatar
😎
Awesome

NoizBuster (Wonwoo) noizbuster

😎
Awesome
View GitHub Profile
@noizbuster
noizbuster / .sh
Created June 7, 2021 10:46
Create SSH Key Pair for Github deployment
ssh-keygen -m PEM -t rsa -b 4096 -f ./keyFileName -C "email@address.com"
@noizbuster
noizbuster / hyper_as_default_terminal.sh
Created June 11, 2021 18:06
hyper as default terminal of ubuntu
which hyper
# /usr/local/bin/hyper
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/local/bin/hyper 0
sudo update-alternatives --set x-terminal-emulator /usr/local/bin/hyper
@noizbuster
noizbuster / localStorageAtom.ts
Created July 31, 2021 17:07
persistent recoil.js atom using local storage
import { atom, AtomEffect, AtomOptions, DefaultValue } from 'recoil';
export const localStorageEffect =
(key: string): AtomEffect<any> =>
({ setSelf, onSet }) => {
const savedValue = localStorage.getItem(key);
if (savedValue != null) {
setSelf(JSON.parse(savedValue));
}
@noizbuster
noizbuster / hookstate.helper.js
Created July 31, 2021 17:09
utilities for hookstate
import _ from 'lodash';
export function cloneState(stateValue, path) {
const value = path ? _.get(stateValue, path) : stateValue;
if (!value) {
return value;
}
return JSON.parse(JSON.stringify(value));
}
@noizbuster
noizbuster / ubuntu24.04.md
Last active July 16, 2024 07:05
Ubuntu 24.04

update ubuntu

sudo apt update
sudo apt dist-upgrade && sudo apt autoremove && sudo apt autoclean

ubuntu-restricted-extras (when you forgot installing extra softwares)

@noizbuster
noizbuster / oh-my-opencode.jsonc.glm5.1
Last active April 2, 2026 02:49
oh-my-opencode.jsonc.glm5.1
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
"agents": {
"sisyphus": { // Claude Opus 4.6 Max
"model": "zai-coding-plan/glm-5.1",
"variant": "xhigh",
"fallback_models": [
"zai-coding-plan/glm-5",
"zai-coding-plan/glm-5-turbo"
]
@noizbuster
noizbuster / oh-my-openagent.gpt-fast.jsonc
Created April 9, 2026 09:18
oh-my-openagent.jsonc OpenAI/GPT only + Spark
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
"agents": {
"sisyphus": { // Claude Opus 4.6 Max
"model": "openai/gpt-5.4",
"variant": "xhigh",
"fallback_models": [
"openai/gpt-5.3-codex",
"openai/gpt-5.3-codex-spark",
"openai/gpt-5.4-mini"
@noizbuster
noizbuster / userscript.js
Created June 11, 2026 02:41
Notion Layout Shift Bug Fix
// ==UserScript==
// @name Notion Layout Left-Shift Bug Fix
// @namespace http://tampermonkey.net/
// @version 2026-06-09
// @description Comprehensive CSS reinforcement to fix Notion layout shifting left on PgUp/PgDn in modern Chrome.
// @author NoizBuster
// @match https://app.notion.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=notion.com
// @grant GM_addStyle
// @run-at document-start