Skip to content

Instantly share code, notes, and snippets.

View seyoon20087's full-sized avatar
🎯
Focusing

seyoon20087

🎯
Focusing
View GitHub Profile
@seyoon20087
seyoon20087 / bootstrap-ssr.patch
Last active November 2, 2021 11:38
a patch for boostrap to be ssr friendly
diff -u ./bootstrap/js/src/base-component.js ./bootstrap-ssr-friendly/js/src/base-component.js
--- ./bootstrap/js/src/base-component.js 2021-11-02 20:30:03.000000000 +0900
+++ ./bootstrap-ssr-friendly/js/src/base-component.js 2021-11-02 20:30:24.000000000 +0900
@@ -8,7 +8,9 @@
import Data from './dom/data'
import {
executeAfterTransition,
- getElement
+ getElement,
+ getWindow,
@seyoon20087
seyoon20087 / hosts.ipv4.txt
Last active September 30, 2021 11:09
A way to block youtube ads for any solution.
#
# --- YouTube Ad Blocklist ---
# This project was created and is maintained by: Evan Pratten (@ewpratten)
# More information at: https://github.com/Ewpratten/youtube_ad_blocklist
#
0.0.0.0 r1.sn-poqvn5u-jb36.a1.googlevideo.com
0.0.0.0 r2.sn-poqvn5u-jb36.a1.googlevideo.com
0.0.0.0 r3.sn-poqvn5u-jb36.a1.googlevideo.com
0.0.0.0 r4.sn-poqvn5u-jb36.a1.googlevideo.com
0.0.0.0 r5.sn-poqvn5u-jb36.a1.googlevideo.com
@seyoon20087
seyoon20087 / Activate Office 2019 for macOS VoL.md
Last active August 18, 2022 07:43 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
Activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@seyoon20087
seyoon20087 / wget.sh
Created March 11, 2021 06:41 — forked from crittermike/wget.sh
Download an entire website with wget, along with assets.
# One liner
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com
# Explained
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.