Skip to content

Instantly share code, notes, and snippets.

View fish895623's full-sized avatar
🏠
Working from home

fish895623

🏠
Working from home
  • ViewMTechnology
  • Korea
View GitHub Profile
@fish895623
fish895623 / deobfuscate-odttf-in-xps.js
Created April 3, 2024 09:37 — forked from dungsaga/deobfuscate-odttf-in-xps.js
deobfuscate odttf file (extracted from M$ XPS file)
const purpose = "Purpose: deobfuscate odttf file (extracted from M$ XPS file)"
const usage = "Usage: node deobfuscate-odttf-in-xps.js <guid-obfuscated-font-file.odttf> [<output-file.ttf>]"
const obfuscatedStartOffset = 0 //start of obfuscated bytes in font file
const obfuscatedEndOffset = 32 //start of obfuscated bytes in font file
const guidSize = 32 // length of GUID string (only hex characters included)
const fs = require('fs')
const path = require('path')
@fish895623
fish895623 / altwin
Created November 1, 2022 02:44
Input Method Linux
## /usr/share/X11/xkb/symbols/altwin
partial modifier_keys
xkb_symbols "meta_alt" {
key <LALT> { [ Alt_L, Meta_L ] };
key <RALT> {
type[Group1] = "TWO_LEVEL",
symbols[Group1] = [ Alt_R, Meta_R ] }; -> symbols[Group1] = [ Hangul ] };
modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
};
@fish895623
fish895623 / how-to-setup-verified-commits.md
Created December 16, 2021 11:45 — forked from Beneboe/how-to-setup-verified-commits.md
How to Setup Verified Commits on Github
⭐ Total Stars: 0
➕ Total Commits: 1,226
🔀 Total PRs: 80
🚩 Total Issues: 25
📦 Contributed to: 3
1. Install oh-my-zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
2. Clone necessary plugins.
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
3. Add plugins to ~/.zshrc as
plugins = ( [plugins...] zsh-autosuggestions history-substring-search zsh-syntax-highlighting)
@fish895623
fish895623 / I'm a night 🦉
Last active August 7, 2021 00:28
COMMIT_TIME
🌞 Morning 48 commits █░░░░░░░░░░░░░░░░░░░░ 5.1%
🌆 Daytime 277 commits ██████░░░░░░░░░░░░░░░ 29.2%
🌃 Evening 411 commits █████████░░░░░░░░░░░░ 43.3%
🌙 Night 214 commits ████▋░░░░░░░░░░░░░░░░ 22.5%
${CONTENT}