Background: 002B36
Foreground: d6dbdb
Highlight: 1ebcc5
Accent: 003847
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
/* main colors */ | |
--color-primary: #286bf4; | |
--color-primary-light: color-mod(var(--color-primary) tint(15%)); | |
--color-primary-dark: color-mod(var(--color-primary) shade(15%)); | |
--color-primary-bg: color-mod(var(--color-primary) alpha(20%)); | |
--color-accent: #f5414f; | |
--color-accent-light: color-mod(var(--color-accent) tint(15%)); | |
--color-accent-dark: color-mod(var(--color-accent) shade(10%)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="fade-line" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service smbd restart |
- download Noto Sans CJK TC and SC https://www.google.com/get/noto/
- download latest mactype https://github.com/snowie2000/mactype/releases
- install mactype
- save below as C:\Program Files\MacType\ini\NotoSansCJK.ini
- choose install as service
- choose NotoSansCJK
- restart pc
[General]
Name=NotoSansCJK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diskutil list | |
#usually disk2s2, s1 is EFI partition | |
diskutil unmount /dev/disk2s2 | |
sudo dd if=/Users/xxx/Downloads/DSM3617JUN102B/synoboot.img of=/dev/disk2 bs=1M | |
edit grub.cfg on usb root, set correct vid & pid, sn mac1 is optional | |
set vid=0x0781 | |
set pid=0x5571 | |
set sn=A8ODN02468 | |
set mac1=0011322CA603 |
The below was guided by the Eric Urban's excellent tutorial at http://www.hydrogen18.com/blog/your-own-pki-tls-golang.html
git clone https://github.com/OpenVPN/easy-rsa.git example-ca
cd example-ca/easyrsa3
./easyrsa init-pki
...
./easyrsa build-ca
...
./easyrsa build-server-full localhost nopass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# General | |
# ------------------------------------------------------------------------------ | |
echo "Disable .DS_Store files on network and usb volumes" | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -boolean true | |
defaults write com.apple.desktopservices DSDontWriteUSBStores -boolean true | |
echo "Enable dark mode and reduce transparency" | |
defaults write .GlobalPreferences AppleInterfaceStyle -string "Dark" |
NewerOlder