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 的博客

搜索到 7 篇与 学术 的结果
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,843 阅读
92 评论
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,823 阅读
0 评论
2021-01-28

How to remove /index.php/ from my URL

How to remove /index.php/ from my URL
I suggest reading this short introduction https://httpd.apache.org/docs/2.4/rewrite/intro.html (15mins) and reference these 2 pages while reading.https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html https://httpd.apache.org/docs/2.4/rewrite/flags.htmlThis is the basic rule to hide index.php from the URL. Put this in your root .htaccess file.mod_rewrite must be enabled with PHP and this will work for the PHP version higher than 5.2.6.RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f Rewri...
2021年01月28日
92,938 阅读
1 评论
2021-01-25

Unknown collation: 'utf8mb4_0900_ai_ci' - MySQL Error

Unknown collation: 'utf8mb4_0900_ai_ci' - MySQL Error
This article is in English.MySQL Error: Importing database: Unknown collation: 'utf8mb4_0900_ai_ci'This is Github / issues of MySQL....(Something else not important to solve this issue)...Opened the .sql file in Notepad++ ( Alternative: Open the .sql file in Microsoft Word ) and hit CTRL+H ( Alternative: [Microsoft Word] hit CTRL + F ) to find and replace the string “utf8mb4_0900_ai_ci” and replaced it with “utf8mb4_general_ci“.It worked for me ,hope it will work for u as well....(Something e...
2021年01月25日
103,257 阅读
0 评论