# ubuntu更改ssh端口的流程
# 用vim编辑器打开ssh的配置文件
vi /etc/ssh/sshd_config
# 命令模式下,输入G(大写),跳转至文件的最后一行
# 将默认的ssh端口22更改为23456
PasswordAuthentication yes
PermitRootLogin yes
+ Port 23456
View xui.json
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
{ | |
"api": { | |
"services": [ | |
"HandlerService", | |
"LoggerService", | |
"StatsService" | |
], | |
"tag": "api" | |
}, | |
"inbounds": [ |
View settings.json
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
{ | |
// 工作区图标主题 | |
"workbench.iconTheme": "material-icon-theme", | |
// 工作区侧边栏位置 | |
"workbench.sideBar.location": "right", | |
// 控制对于未经信任的文件的处理方式【VS Code 将尝试打开这些文件,但在打开前会进行一些安全检查。如果发现问题,VS Code 将阻止打开文件,并在编辑器的底部显示一个安全警告。您需要手动选择是否打开文件】 | |
"security.workspace.trust.untrustedFiles": "open", | |
// 工作区主题 | |
"workbench.colorTheme": "Default Light+", | |
// 保存文件自动对代码格式化 |
View dialog.txt
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
1、"现在我向你提出要求,尽可能地从官方文档提取答案并发送给我,你可以搜索任何语言的官方文档,并将结果翻译成中文发送给我"。 | |
2、从现在开始,你将扮演一位世界顶尖的翻译大师,你的母语是英语和中文,并且充当我的翻译助理,我说的每句话,你都应该以“中文”和“英文”的形式展示给我,谢谢。 |
View 2022-10-06.md
View keybase.md
Keybase proof
I hereby claim:
- I am real-jiakai on github.
- I am jiakai (https://keybase.io/jiakai) on keybase.
- I have a public key ASCU1feyEyVZZHm3VlzvD25PDMEb6fcmdqnshtHUZT5BcAo
To claim this, I am signing this object:
View express_mysql_2022_08_26.sql
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
create table users( | |
id int primary key, | |
username char(20), | |
password char(20), | |
status int) | |
insert | |
into users | |
values(2,'ls','664646',1), | |
(3,'ww','22002',0); |
View hacknews-daily-urls-open.user.js
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
// ==UserScript== | |
// @name Open HackNews Letter Daily's All Links Once | |
// @namespace https://gist.github.com/real-jiakai/df28de88da2f1982167a497a35925e29 | |
// @version 0.1 | |
// @description 一次性打开hacknews daily newsletter页面的全部链接,无需再一个一个点击。请务必启用浏览器的弹出式窗口!!! | |
// @author gujiakai | |
// @match https://us1.campaign-archive.com/* | |
// @match https://mail.qq.com/* | |
// @match https://mail.google.com/* | |
// @icon https://news.ycombinator.com/favicon.ico |
View codechef-io-copy.user.js
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
// ==UserScript== | |
// @name Codechef IO Copy | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author jiakai | |
// @match https://www.codechef.com/problems/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net | |
// @grant none | |
// ==/UserScript== |
View tw.py
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
import pyautogui | |
import pyperclip | |
import time | |
# content="""《告台灣同胞書》🚩🚩🚩戰爭是不到最後不得不用的手段,而不應該稱為呼聲最高的被期待的手段。 ❗❗❗兵者,國之大事,死生之道,不可不察也。好戰者,必亡之。 ❗❗❗統一祖國我們優先考慮和平統一,但是不承諾放棄武力❗❗❗不要成為美帝的走狗,要有脊梁❗❗❗不要被去中國化教育洗腦❗❗❗我們永遠是一家人❗❗❗保護台積電,不要被美帝擄走❗❗❗""" | |
# content="""《2022年告台灣同胞書》:今天開始的三天军演不要恐惧😶🌫️😶🌫️😶🌫️,僅僅針對台獨分子以及台灣當局,請熱愛和平的台灣民眾放心,我們不會傷害你們❗❗❗""" | |
# content="""《告台灣ikun書》:🐤🐤🐤🐤🐤你幹嘛! ~哈哈~哎喲! ~你幹嘛!你幹嘛! ~哈哈~哎喲! ~你幹嘛!你幹嘛! ~哈哈~哎喲! ~你幹嘛!你幹嘛! ~哈哈~哎喲! ~你幹嘛!你幹嘛! ~哈哈~哎喲! ~你幹嘛!你幹嘛! ~哈哈~哎喲! ~你幹嘛!""" | |
# content="""《2022年告台灣同胞書》:灣灣的同胞們,歡迎來大陸的Bilibili當坤坤的小黑子:yougotthis::yougotthis::yougotthis:""" | |
# content="""教灣灣唱你坤哥的成名曲《🐤你太美》:yougotthis::yougotthis::yougotthis:。開腔了:🐤你太美 baby,🐤你太美 baby,🐤實在是太美 baby,🐤太美 baby,迎面走來的你讓我如此蠢蠢欲動,這種感覺我從未有,Cause I got a crush on you who you :yougotthis::yougotthis::yougotthis:""" | |
# content="""蔡徐坤生日快乐🏀🏀🏀蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐""" |
View v1.code-snippets
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
Show hidden characters
{ | |
"vue-template-01": { | |
"prefix": "vue", | |
"body": [ | |
"new Vue({", | |
"\tel:'#root',", | |
"\tdata:{", | |
"\t\tname:'尚硅谷',", | |
"\t}", | |
"})" |