Skip to content

Instantly share code, notes, and snippets.

@jinwoo-jeon0
jinwoo-jeon0 / hosts
Last active November 2, 2024 02:24
Block disgusting webtoon ads from Criteo
# C:\Windows\System32\drivers\etc\hosts
# /etc/hosts
# Blocking just the iframe source still allows other ads to show.
# 0.0.0.0 ads.as.criteo.com # block Criteo iframe src
0.0.0.0 static.criteo.net # image
@jinwoo-jeon0
jinwoo-jeon0 / startup.meta
Created September 26, 2021 07:02
...\Red Dead Redemption 2\x64\data
<?xml version="1.0" encoding="UTF-8"?>
<CDataFileMgr__ContentsOfDataFileXml>
<disabledFiles />
<includedXmlFiles itemType="CDataFileMgr__DataFileArray" />
<includedDataFiles />
<dataFiles itemType="CDataFileMgr__DataFile">
<Item>
<filename>platform:/data/cdimages/scaleform_platform_pc.rpf</filename>
<fileType>RPF_FILE</fileType>
</Item>
Windows Registry Editor Version 5.00
; Caps lock to left ctrl
; Menu key to right windows key
; https://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
; https://docs.microsoft.com/en-us/windows/desktop/inputdev/virtual-key-codes
; http://smallvoid.com/article/winnt-scancode-map.html
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,5c,e0,5d,e0,\
00,00,00,00
Windows Registry Editor Version 5.00
; Caps lock to left ctrl
; https://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
; https://docs.microsoft.com/en-us/windows/desktop/inputdev/virtual-key-codes
; http://smallvoid.com/article/winnt-scancode-map.html
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
sudo apt install zsh
sudo apt install git
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s $(which zsh)
# log out

Jenkins Configuration

Manager Jenkins > Configure System > Shell

Specify the git-bash.exe path. For example,

  • Shell executable: %scoop%\shims\git-bash.exe

Manager Jenkins > Global Tool Configuration > Git

Windows Registry Editor Version 5.00
; Caps lock to left ctrl
; Menu key to right ctrl
; https://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
; https://docs.microsoft.com/en-us/windows/desktop/inputdev/virtual-key-codes
; http://smallvoid.com/article/winnt-scancode-map.html
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,1d,e0,5d,e0,\
00,00,00,00
%USERPROFILE%\scoop\apps\cygwin\current\setup-x86_64.exe --no-admin --no-shortcuts --quiet-mode --no-desktop --upgrade-also
@setlocal
@echo off
if [%1] equ [] goto usage
set new-scoop-dir=%1
mkdir "%new-scoop-dir%"
if errorlevel 1 goto end
@jinwoo-jeon0
jinwoo-jeon0 / oh-my-zsh_on_Windows_10.sh
Last active February 21, 2024 23:41
(deprecated) oh my zsh on Windows 10
#!/usr/bash
# Install zsh first: https://gist.github.com/jinwoo-jeon0/73bab5f399b029ed3c4d576c61f65fc2
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"