This site will soon be moving to ChiuYau.com. If you have any inquiries, please find contact details at ChiuYau.com.
ChiuYau.com

ChiuYau | 中国 :: Chiu Yau 的博客

2021-05-07

.htaccess Tutorial

.htaccess Tutorial
CREATING A .HTACCESS FILEYou can create a .htaccess file on your local computer or on the server.ON YOUR COMPUTER:Windows: Using Notepad save the file as .htaccessMac OS X: Using TextEdit save the file as ".htaccess"Note: If you save the file as .htaccess it will be hidden and you will not be able to see it in the Finder.Using your preferred FTP client upload the file to the server. The .htaccess file will need to be in the folder where your site is located, typically the public_html folder.O...
Chiu Yau
2021-05-07

文章,学术

2021年05月07日
73,677 阅读
92 评论
2021-04-28

對不同語言使用不同的字體 CSS

對不同語言使用不同的字體 CSS
有些字體 只對某種語言有效如果我們想同時在一個網頁使用多種語言以及多種字體,就比較麻煩了。而我有搜索過不同的方案,最有效的方案我將在下面講述,我也知道有比較容易的方法,但是不一定所有瀏覽器都看得明白。所以,我要講述的方法應該是最好的,如果有更好的,歡迎在下方留言。首先,我們要明白,什麼是 UTF-8。接著,我們需要知道自己想在什麼語言上使用不同的字體。比如說中文,中文的 Unicode (UTF-8) Range (中日韓統一表意文字)是:List of CJK Unified Ideographs, part 1 of 4 (U+4E00..U+62FF) 第一部分 即是 U+4E00-62FFList of CJK Unified Ideographs, part 2 of 4 (U+6300..U+77FF) 第二部分 即是 U+6300-77FFList of CJK Unified Ideographs, part 3 of 4 (U+7800..U+8CFF) 第三部分 即是 U+7800-8CFFList of CJK Unified Ideographs, par...
Chiu Yau
2021-04-28

文章,域名,Git

2021年04月28日
77,895 阅读
0 评论
2021-04-25

SSR 地址的組成

SSR 地址的組成
一般 SSR 地址是這樣的:ssr://[Base64]我們可以使用 Base64 Converter 將 Base64 Encoded 轉為 Base64 Decoded。接下來我會使用一個無效的 SSR 地址作為例子:ssr://MTQyLjIyNC4yMzMuMTM3OjEwNjUxOmF1dGhfc2hhMV92NDphZXMtMjU2LWNmYjpodHRwX3NpbXBsZTpURzkwZFhOT1lXMWxjekF3T0RrPS8/cmVtYXJrcz1hSFIwY0hNNkx5OXpjM0l1WldVdlZHaGxMVUpsYzNRdFUxTlMz在轉換 SSR 時,我們先將 頭部的 ssr:// 忽略掉,那麼就剩下:MTQyLjIyNC4yMzMuMTM3OjEwNjUxOmF1dGhfc2hhMV92NDphZXMtMjU2LWNmYjpodHRwX3NpbXBsZTpURzkwZFhOT1lXMWxjekF3T0RrPS8/cmVtYXJrcz1hSFIwY0hNNkx5OXpjM0l1WldVdlZHaGxMVUpsYzNRdFUxTlMz然後我們使用 B...
Chiu Yau
2021-04-25

文章,学术,Git

2021年04月25日
105,796 阅读
0 评论
2021-04-18

Linux Cent OS 使用技巧

Linux Cent OS 使用技巧
以下指令 Cent OS 7 / 8 為例:sudo -i 临时获得管理员身份tmux 是一個分屏管理工具,可以讓你在多個界面輸入命令使用命令如下:tmux按下 Ctrl+B 後鬆手,再按下 shift+5 後鬆手,生成第二個屏Ctrl+B 再按下 o 鍵切換多個屏最後關閉 tmux ,Ctrl+B 再按下 d 鍵(脫離當前屏幕)脫離完成後,把ssh關了,再連接 ssh輸入命令 tmux attach -t 0 即可恢復原先的操作屏幕。將會持續更新。
Chiu Yau
2021-04-18

文章,域名,Git

2021年04月18日
80,116 阅读
0 评论
2021-04-17

關於我在 Pesyun.com 買的機

關於我在 Pesyun.com 買的機
Pesyun.com 這一家的主機我只買過兩次,買了倆台一年的,只能將就著用。買了一台做 VPN, 美國的高防,IP卻是中國的,不過試了一下ping 確實是在美國。 當我用這個搭建的 irtual rivate Network 連接上了後,訪問 Namepros.com 居然被拒絕了。居然說我的機器的 IP ISP 是他們(Namepros) 的黑名單,我就不作太多的評論了。在這家買的機還能進入大論壇的黑名單,這家服務器還行一般般吧,屬實沒必要買這家的。以下是本機IP:45.254.26.177WHOIS
Chiu Yau
2021-04-17

文章,域名

2021年04月17日
61,539 阅读
0 评论
2021-04-16

Verisign to to Increase .COM Prices in September

Verisign to to Increase .COM Prices in September
Verisign (NASDAQ: VRSN) announced that it will change the wholesale price for .com registration and renewals from $7.85 to $8.39 for all registrars. The price increase will be reflected on September 1, 2021.Under the new agreements it struck with the U.S. government and ICANN, the company has been able to get authorization for such a move.The deal allows an increase in prices by 7% this year and each of the next three years. That means the wholesale prices will be $10.26 by 2025, provided the...
Chiu Yau
2021-04-16

文章,域名

2021年04月16日
105,662 阅读
0 评论