Skip to content

Instantly share code, notes, and snippets.

View black7375's full-sized avatar
💭
I may be slow to respond.

MS_Y black7375

💭
I may be slow to respond.
View GitHub Profile
// == A를 실행할 때 ============================================
//*
Code A - Run
/*/
Code B
//*/
// == B를 실행할 때 ============================================
/*
Code A
@black7375
black7375 / PKGBUILD
Created January 18, 2022 02:42
System76 Scheduler PKGBUILD
## System76 Scheduler
# URL: https://github.com/pop-os/system76-scheduler
# LICENSE(PKGBUILD): MIT
pkgname=system76-scheduler
pkgver="0.1.0"
pkgrel=1
pkgdesc="Auto-configure CFS for improved desktop responsiveness when on AC (based on Zen CFS settings)"
arch=('any')
url="https://github.com/pop-os/system76-scheduler"
license=('MPL')
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
@black7375
black7375 / re_builder_prototype.js
Created September 10, 2021 18:22
Regex Builder Prototype
//== RE::ASSERTIONS ============================================================
const WORD_BOUNDARY = String.raw`\b`;
function lookahead(x, y) {
const symbol = "?=";
return x + group(symbol + y);
}
function lookbehind(x, y) {
const symbol = "?<=";
@black7375
black7375 / RevealEffect.ts
Created May 29, 2021 14:29
Fluent Reveal Effect Typescript Version
// This is Refactoring Version of https://github.com/d2phap/fluent-reveal-effect
// Plan to PR when there is time
// ** Interfaces ***************************************************************
// Global
interface resourceI {
oriBg: string;
el: HTMLElement;
}
@black7375
black7375 / Proton_compact_touch.css
Last active January 30, 2023 20:23
Firefox Proton's compact, touch
/* Each Mode - Reduce Padding */
/** Variable Compact General Touch
* --tab-min-height 29px 36px 41px
* --toolbarbutton-outter-padding 3px 2px 2px
* --toolbarbutton-inner-padding 6px 8px 9px
* --bookmark-block-padding 1px 4px 7px
* --urlbar-min-height 26px 32px 41px
* --urlbar-icon-padding 3px 6px 7px
* .tab-content[pinned] padding 0 --inline-tab-padding; 0 10px; 0 10px
@black7375
black7375 / create_dataset.py
Created April 6, 2021 00:19
Font File to hdf5
import h5py
import PIL, PIL.ImageFont, PIL.Image, PIL.ImageDraw, PIL.ImageChops, PIL.ImageOps
import os
import random
import string
import numpy
import sys
# -------------------- Convert to Numpy Array --------------------
w, h = 64, 64
@black7375
black7375 / init.zsh
Created March 8, 2021 06:37
z-a-eval init.zsh
complete -W "2to3
7z
7za
7zr
R
a2disconf
a2dismod
a2dissite
a2enconf
a2enmod
@black7375
black7375 / include-media fail.log
Created September 2, 2020 04:13
Include-media fali log
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /home/black7375/include-media/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /home/black7375/include-media/node_modules/node-sass
@black7375
black7375 / bvzsh_install.sh
Last active March 22, 2020 20:13
BVZSH Install
## == Brew Package Install ====================================================
BRW_PACKAGE_NAME="autojump fzf ripgrep thefuck"
export PATH="$PATH:/home/linuxbrew/.linuxbrew/bin/"
{
brew install $BRW_PACKAGE_NAME
} || {
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
brew vendor-install ruby
brew install $BRW_PACKAGE_NAME
}