Skip to content

Instantly share code, notes, and snippets.

View real-jiakai's full-sized avatar
🎯
Focusing

Jaya real-jiakai

🎯
Focusing
View GitHub Profile
@real-jiakai
real-jiakai / v1.code-snippets
Created March 18, 2022 00:04
vscode-vue用户代码片段
{
"vue-template-01": {
"prefix": "vue",
"body": [
"new Vue({",
"\tel:'#root',",
"\tdata:{",
"\t\tname:'尚硅谷',",
"\t}",
"})"
@real-jiakai
real-jiakai / tw.py
Last active September 2, 2022 15:30
使用pyautogui在youtube直播间自动发送弹幕(use pyautogui to send messages in youtube live channel)
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="""​蔡徐坤生日快乐🏀🏀🏀蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐🎉🎉🎉蔡徐坤生日快乐"""
@real-jiakai
real-jiakai / codechef-io-copy.user.js
Last active August 18, 2022 07:24
tampermonkey scripts learning
// ==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==
@real-jiakai
real-jiakai / hacknews-daily-urls-open.user.js
Last active August 18, 2022 07:23
Open HackNews Letter Daily's All Links Once
// ==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
@real-jiakai
real-jiakai / express_mysql_2022_08_26.sql
Last active August 26, 2022 11:05
express框架mysql模块sql语句
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);

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:

@real-jiakai
real-jiakai / 2022-10-06.md
Created January 9, 2023 11:35
修改vps的端口号
# ubuntu更改ssh端口的流程
# 用vim编辑器打开ssh的配置文件
vi /etc/ssh/sshd_config

# 命令模式下,输入G(大写),跳转至文件的最后一行
# 将默认的ssh端口22更改为23456
PasswordAuthentication yes
PermitRootLogin yes
+ Port 23456
@real-jiakai
real-jiakai / dialog.txt
Last active February 19, 2023 00:00
new bing and chatgpt prompt
1、"现在我向你提出要求,尽可能地从官方文档提取答案并发送给我,你可以搜索任何语言的官方文档,并将结果翻译成中文发送给我"。
2、从现在开始,你将扮演一位世界顶尖的翻译大师,你的母语是英语和中文,并且充当我的翻译助理,我说的每句话,你都应该以“中文”和“英文”的形式展示给我,谢谢。
@real-jiakai
real-jiakai / settings.json
Created February 19, 2023 05:00
my global vscode settings config.
{
// 工作区图标主题
"workbench.iconTheme": "material-icon-theme",
// 工作区侧边栏位置
"workbench.sideBar.location": "right",
// 控制对于未经信任的文件的处理方式【VS Code 将尝试打开这些文件,但在打开前会进行一些安全检查。如果发现问题,VS Code 将阻止打开文件,并在编辑器的底部显示一个安全警告。您需要手动选择是否打开文件】
"security.workspace.trust.untrustedFiles": "open",
// 工作区主题
"workbench.colorTheme": "Default Light+",
// 保存文件自动对代码格式化
@real-jiakai
real-jiakai / xui.json
Last active April 3, 2023 04:02
xui默认xray配置模板
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [