mysql> explain select * from student;
++-+-++--+---+--+-+--+--+--+---+
| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
++-+-++--+---+--+-+--+--+--+---+
| 1 | SIMPLE | student | NULL | ALL | NULL | NULL | NULL | NULL | 2 | 100.00 | NULL |
++-+-++--+---+--+-+--+--+--+---+
This file contains hidden or 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
[org 0x7c00] | |
[section data] | |
BOOT_MAIN_ADDR equ 0x500 | |
[section text] | |
[bits 16] | |
global _start | |
_start: |
This file contains hidden or 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
# 必看! | |
# 这个脚本是sdttttt的路由器配置脚本,格式比较乱因为这是个备忘录。 | |
# 路由器主要运行OpenClash作为透明代理,DNS由ChinaDNS-NG处理,下面大概讲一下分流行为 | |
# DNS请求经过Chinadns-ng,域名分流由chnlist.txt完成,在chnlist内会走国内组DNS,否则走国外组,国外组的DNS服务器为Clash | |
# 解析好的IP会通过内部预设好的chnroute判断是否为国内IP,如果是国内IP会加入到chnip合集内 | |
# 防火墙中,如果连接目标IP属于chnip,则流量会绕过clash内核 | |
# 非chnip中的IP会经过Clash内核,并且在Clash内核中会经过二次分流 | |
# chinadns-ng的分流为黑名单模式,chnlist以外都会走国外组 | |
# clash内部的第二次分流更加严格,为白名单模式,只有匹配到的流量才会走代理 |
This file contains hidden or 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
# sdttttt自用openclash规则 | |
# openclash 需要处于tun模式 | |
# 该规则下网关下设备:UDP走TUN,TCP走TProxy,QUIC走直连,9000端口以上流量不经过核心,网关本机流量统一走TUN | |
# 需要创建TProxy的路由表,TUN的路由表Openclash已经创建了:表354 | |
# 到本地回环处理的路由,在表355 | |
ip route del local default dev lo scope host table 355 | |
ip route add local default dev lo scope host table 355 | |
# 标记0x164,策略路由到355表 | |
ip rule del priority 2000 fwmark 0x164 lookup 355 | |
ip rule add priority 2000 fwmark 0x164 lookup 355 |
This file contains hidden or 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
SECTION .data | |
msg db '123456789awdawdawdawd', 0Ah | |
SECTION .text | |
global _start | |
_start: | |
mov ecx, msg |
This file contains hidden or 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
# docker run -d --name mariadb-wp -p 33006:3306 -e MYSQL_ROOT_PASSWORD=admin mariadb:5.5 | |
CREATE TABLE users | |
( | |
id int NOT NULL AUTO_INCREMENT PRIMARY KEY, | |
name varchar(255) DEFAULT 'fuckyou', | |
email varchar(255) DEFAULT 'a@b.com', | |
address varchar(255) DEFAULT 'A', | |
city varchar(255) DEFAULT 'HangZhou' | |
) |
This file contains hidden or 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
process.env.ESLINT_TSCONFIG = "tsconfig.json"; | |
module.exports = { | |
root : true, | |
extends: ["eslint:recommended", "plugin:vue/vue3-recommended"], | |
parser : "vue-eslint-parser", | |
// 优先级低于parse的语法解析配置 | |
parserOptions: { | |
// 指定ESlint的解析器 |
This file contains hidden or 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
module.exports = { | |
printWidth : 80, | |
tabWidth : 4, | |
useTabs : false, | |
semi : true, | |
singleQuote : false, | |
jsxSingleQuote : false, | |
bracketSpacing : true, | |
bracketSameLine : true, | |
arrowParens : "avoid", |
This file contains hidden or 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 ( | |
"net/http" | |
) | |
const MsgOK = "ok" | |
// Response is common json response type | |
type Response[T any] struct { |
NewerOlder