Skip to content

Instantly share code, notes, and snippets.

@jinwoo-jeon0
jinwoo-jeon0 / zsh_on_cygwin.cmd
Last active February 21, 2024 23:42
depreacted
:: Install Cygwin through scoop(http://scoop.sh/)
:: install-scoop.cmd (https://gist.github.com/jinwoo-jeon0/c503487e4f13c7c680d53d58750873b9)
scoop install cygwin
:: Install zsh, git and curl for oh-my-zsh(https://github.com/robbyrussell/oh-my-zsh).
%USERPROFILE%\scoop\apps\cygwin\current\setup-x86_64.exe --no-admin --no-shortcuts --no-desktop --quiet-mode --packages git,curl,zsh
:: Run Cygwin with zsh
:: %USERPROFILE%\scoop\apps\cygwin\current\root\bin\mintty.exe -i /Cygwin-Terminal.ico /bin/zsh --login
@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)"
@setlocal
@echo off
if [%1] equ [] goto usage
set new-scoop-dir=%1
mkdir "%new-scoop-dir%"
if errorlevel 1 goto end
%USERPROFILE%\scoop\apps\cygwin\current\setup-x86_64.exe --no-admin --no-shortcuts --quiet-mode --no-desktop --upgrade-also
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

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

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
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
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
@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>