Skip to content

Instantly share code, notes, and snippets.

View InfiniteSynthesis's full-sized avatar

氷川紗夜的薯条 InfiniteSynthesis

View GitHub Profile
@InfiniteSynthesis
InfiniteSynthesis / bypass.md
Created May 3, 2024 19:55
Win11 setup without Microsoft account

Shift + F10 and type OOBE\BYPASSNRO.

@InfiniteSynthesis
InfiniteSynthesis / extract-subtitle.sh
Created March 12, 2024 01:22
Extracting subtitle from videos using ffmpeg
ffmpeg -i input.mkv -map 0:s:0 sub.ass
@InfiniteSynthesis
InfiniteSynthesis / .prettierrc
Created January 4, 2022 20:07
my prettier setting
{
"printWidth": 120,
"useTabs": true,
"tabWidth": 4,
"singleQuote": true,
"quoteProps": "consistent",
"jsxSingleQuote": true,
"trailingComma": "none",
"bracketSameLine": true,
"arrowParens": "always",
@InfiniteSynthesis
InfiniteSynthesis / upscale4K-waifu2x-chainer-colab.ipynb
Created February 20, 2021 23:07
Scale up wallpaper image to 4K resolution by google colab and waifu2x-chainer.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@InfiniteSynthesis
InfiniteSynthesis / assault-lily-ep06.gif
Last active December 30, 2020 07:56
你的身后怎么藏着这么多女人?!
assault-lily-ep06.gif
@InfiniteSynthesis
InfiniteSynthesis / Freesia.jpg
Last active December 29, 2020 21:27
不要停下来啊!(指写代码)
Freesia.jpg
@InfiniteSynthesis
InfiniteSynthesis / travis.osx.sh
Last active December 28, 2020 07:53
Auto-upgrade chromedriver on travis-ci
CHROME_VERSION=$(/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version)
CHROME_VERSION_V=${CHROME_VERSION:14:2} # get major edition
DRIVER_VERSION=$(curl -s wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION_V)
wget https://chromedriver.storage.googleapis.com/$DRIVER_VERSION/chromedriver_mac64.zip
unzip chromedriver_mac64.zip
mv ./chromedriver ./Tools/