diff --git a/404.html b/404.html new file mode 100644 index 0000000..58bcadf --- /dev/null +++ b/404.html @@ -0,0 +1,89 @@ + + + + + + + Page Not Found + + + +
+
4 0 4
+
+ Page not found +
+
+ + + + + + Back + +
+
+ + + + \ No newline at end of file diff --git a/about/index.html b/about/index.html new file mode 100644 index 0000000..a443a19 --- /dev/null +++ b/about/index.html @@ -0,0 +1,150 @@ + + + + + + +关于 - itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+

记录点点滴滴

+ +
+
+
+
+ + + + + + + + + +
+
+ + diff --git a/api-content/index.html b/api-content/index.html new file mode 100644 index 0000000..0b88d90 --- /dev/null +++ b/api-content/index.html @@ -0,0 +1 @@ +{"posts":[{"title":"SQL Server 密钥集锦","content":"SQL Server 2019 Enterprise:HMWJ3-KY3J2-NMVD7-KG4JR-X2G8G Enterprise Core:2C9JR-K3RNG-QD4M4-JQ2HR-8468J Strandard:PMBDC-FXVM3-T777P-N4FY8-PKFF4 Web:33QQK-WWQNB-G6T46-C86YB-TX2PH SQL Server 2017 Enterprise:TDKQD-PKV44-PJT4N-TCJG2-3YJ6B Enterprise Core:6GPYM-VHN83-PHDM2-Q9T2R-KBV83 Strandard:PHDV4-3VJWD-N7JVP-FGPKY-XBV89 Web:WV79P-7K6YG-T7QFN-M3WHF-37BXC SQL Server 2016 Enterprise:MDCJV-3YX8N-WG89M-KV443-G8249 Enterprise Core:TBR8B-BXC4Y-298NV-PYTBY-G3BCP Standard:B9GQY-GBG4J-282NY-QRG4X-KQBCR Web:BXJTY-X3GNH-WHTHG-8V3XK-T8243 SQL Server 2014 Business Intelligence:GJPF4-7PTW4-BB9JH-BVP6M-WFTMJ Developer:82YJF-9RP6B-YQV9M-VXQFR-YJBGX Enterprise:27HMJ-GH7P9-X2TTB-WPHQC-RG79R Enterprise Core:TJYBJ-8YGH6-QK2JJ-M9DFB-D7M9D Strandard:P7FRV-Y6X6Y-Y8C6Q-TB4QR-DMTTK Web:J9MBB-R8PMP-R8WTW-8JJRD-C6GGW ","link":"https://itwangaijava.github.io/post/sql-server-mi-yao-ji-jin/"},{"title":"解决ASP.Net Core项目IIS在默认情况下不支持PUT和DELETE请求","content":"<modules runAllManagedModulesForAllRequests="true"> <remove name="WebDAVModule"/> </modules> ","link":"https://itwangaijava.github.io/post/jie-jue-aspnet-core-xiang-mu-iis-zai-mo-ren-qing-kuang-xia-bu-zhi-chi-put-he-delete-qing-qiu/"},{"title":"Esxi 安装驱动 复制速度加快","content":"1、开启维护模式: esxcli system maintenanceMode set --enable true 2、上传 scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib 到虚拟机存储,我这里是上传到 /vmfs/volumes/datastore1 里 3、把 scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib 拷贝到 /var/log/vmware/ cp /vmfs/volumes/datastore1/scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib /var/log/vmware/ 4、卸载原来的驱动 esxcli software vib remove -n scsi-hpvsa -f 5、安装新上传的驱动 esxcli software vib install -v file:scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib --force --no-sig-check --maintenance-mode 如果提示出错,那就把--force等这些开关去掉,试一下 6、完事重启,记得关闭维护模式 ","link":"https://itwangaijava.github.io/post/esxi-an-zhuang-qu-dong-fu-zhi-su-du-jia-kuai/"},{"title":"js执行滑块验证(无过程)","content":"function slide (id) { var slider = document.getElementById(id), container = slider.parentNode; var rect = slider.getBoundingClientRect(), x0 = rect.x || rect.left, y0 = rect.y || rect.top, w = container.getBoundingClientRect().width, x1 = x0 + w, y1 = y0; var mousedown = document.createEvent("MouseEvents"); mousedown.initMouseEvent("mousedown", true, true, window, 0, x0, y0, x0, y0, false, false, false, false, 0, null); slider.dispatchEvent(mousedown); var mousemove = document.createEvent("MouseEvents"); mousemove.initMouseEvent("mousemove", true, true, window, 0, x1, y1, x1, y1, false, false, false, false, 0, null); slider.dispatchEvent(mousemove); /*var mouseup = document.createEvent("MouseEvents"); mouseup.initMouseEvent("mouseup", true, true, window, 0, x1, y1, x1, y1, false, false, false, false, 0, null); slider.dispatchEvent(mouseup);*/ } slide('nc_1_n1z'); ","link":"https://itwangaijava.github.io/post/js-zhi-xing-hua-kuai-yan-zheng/"},{"title":"anaconda3与换源","content":"在terminal中输入 conda config --set show_channel_urls yes, 这一步之后会在C盘->用户->(你的用户名)这一文件夹下创建一个.condarc文件(在这个文件下我们可以修改conda源。),此处niuni是我的账户名。找到.condarc文件,使用记事本打开 打开后粘贴下列内容到文件内,修改为清华源,修改后保存文件修改。 channels: defaults show_channel_urls: true default_channels: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2 custom_channels: conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud 此处的意外之坑: 按照这个方法一般没有问题,但是在我最近一次的换源后在terminal下使用pip发现速度极慢,在探索了之后发现还需要换掉pip源才可以。更换方法为: 打开Terminal,然后键入如下命令: python -m pip install --upgrade pip pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 如果更换的时候速度过慢,建议使用如下指令: python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 、 ","link":"https://itwangaijava.github.io/post/anaconda3-yu-huan-yuan/"},{"title":"钓鱼正确看漂技巧 ","content":"1、浮漂轻点轻触。多为鲫鱼在试探,连点连触则提竿。 2、浮漂微微上升一点,徐徐下沉一目半目。说明鱼已吃稳,可提竿。 3、尾漂慢慢地从顶部,只送半粒到一粒,浮漂不动(有时被误认为是小鱼或碰线),是提竿时机。 4.浮漂有的时候会慢慢的往下沉。不可忽视它的动静,浮漂的动作愈慢,鲫鱼、鲤鱼、草鱼上钩的痕迹越明显。 5.星漂微微颤动后,略沉半粒至一粒,漂动即停止。这时提竿时机是浮漂刚刚下沉,其过程很短,垂钓者若不是精力高度集中,稍有迟缓,即可痛失良机。 6.浮漂一点一点,连续点动,动作很小。也是鲫鱼已吃稳的迹象,即可提竿。 7.浮漂点动后,接着慢慢上送。动作愈慢鲫鱼愈大,动作速度快多半是小鲫鱼。 8.浮漂轻轻斜向移位,或平移,或微沉,都要及时提竿。 9.浮漂有力猛点时。只点一下动作大,不下沉也不上送,鱼饵已吃到嘴里,鱼儿较大应及时提竿。 10.浮漂横向移动,还有点向下的动作,即提竿。 11.浮漂横移。不送漂也不黑漂,只作平行横向移动,此时鱼已咬钩,可提竿。 12.未见浮漂下沉,但送漂时往往是大鱼。说明鱼已吞饵,提必获鱼。 13.浮漂微微颤动时,连续不停,鱼已咬钩。 14.浮漂突然快速下沉,或快速上送,多半是小鲫鱼咬钩。 15.浮漂横卧水面不沉不动。这往往是大鲫鱼半路咬钩,及时提竿起鱼。 16.浮漂在水面微微连续点颤、轻送或轻沉,是鱼咬钩,应及时提竿。 17.找窝试点时,空钩下送,浮漂不下沉或突然下沉。这往往是鱼咬空钩,不可忽视,及时提竿可得鱼。 18.送漂后浮漂迅速恢复原状,漂相为一粒送平后又恢复原状。出现这种现象多为虾蟹脚爪拨动所致,起竿多为空钩。 19.黑漂后迅速恢复原状,漂相为一粒粒斜向入水,然后恢复原状。多为小杂鱼咬钩捣乱。 20.浮漂在水下忽闪一下。这鱼儿碰线所致,不用提竿。 ","link":"https://itwangaijava.github.io/post/diao-yu-zheng-que-kan-piao-ji-qiao/"},{"title":"钓鱼技巧全攻略","content":"一、传统立漂沉底钓鲫鱼: 这是比较普遍的钓法,我国南北东西都有不少钓友采用此种方法。即用立漂或散漂,铅坠沉底,鱼钩距铅坠的脑线大约25毫米。垂钓时鱼漂调整到直立,露出部分,便于判断鱼讯即可(散漂则没入水中两三粒,浮在水面三四粒)。 此法的优点是调整方便,钩坠漂配比要求不严格,便于掌握。但不很灵敏,有经验的鱼常常触动一下鱼饵,发觉较重,即警觉逃走。同时,此法鱼饵沉底不动,如不勤动一下鱼竿,常不为鲫鱼发现。 二、台钓鲫鱼: 目前较为盛行。其最大优点是灵敏度强,上鱼率高。鱼钩下沉慢,易为鱼发现。坠悬于水中,钩轻轻触底,鱼在其旁游弋,鱼钩即轻轻摇动,对鱼吸引力极大。为摘钩方便,使用无倒刺钩,摘钩迅速。漂坠饵配比要求严格,鱼汛反映极为灵敏。 缺点是漂坠调整较费事;各种鱼类混养水域,使用钓鲫鱼的钩线,遇到大鱼容易跑鱼损失工具;初学时不易掌握,常有人半途而废。但只要树立信心,勤于实践,掌握也不是很难,而一旦掌握,即会发现其优点大大过于一般传统钓法。 三、戳拱钓鲫鱼: 是一种传统钓法。常用在天气炎热的夏季,有浮萍或水草丛生的水域中。一般采用长竿、硬调、短线、无坠。热季水中缺氧,鱼常在水面浮萍下吸空气、拱食、乘凉。从而咬草出声或拱得浮萍形成一个小包。因而应采用听、看办法,寻觅鱼踪。 听主要是听鱼觅食发出的嚓嚓声响;看是看水草晃动和浮萍的鼓包,判断鱼情。发觉有鱼直指该处将钩垂入。一般轻轻将钩放到拱处,看到水面线向水中拽入,或线牵动竿梢即知有鱼咬饵,适时抖竿提起鱼来。 戳拱一般选安静处,动作要轻,鱼出水时尽量避免惊扰其它鱼儿,若有惊扰,鱼不再拱,可用嘴模仿鱼咬草的嚓嚓声,起到催鱼起拱的作用。 四、戳孔钓鲫鱼: 一般用于有荷叶、水草多、苇茬多的水域。观察荷叶边、水草孔、苇茬间的鱼泡、荷叶、苇子晃动的情况,判断鱼情。工具一般采用硬调长竿、较竿短的鱼线,小坠,先观察鱼情。 发现后针对有鱼动静的地方,垂竿下钩,使钩沉底,同时不断微微提动鱼竿,引鱼鱼池饵,凭手感觉察鱼儿咬钩,适时提竿。戳孔一般采取走钓,主动找鱼下钩。 五、浮钓鲫鱼: 鲫鱼属底层鱼,一般钓底,但遇炎热、气压低的气候,鱼浮到水面游动吸氧觅食,则可采取浮钓法,即将铅坠减轻,使鱼钩悬浮于水面下约0.3--0.5米处,动作要轻,不惊散鱼群。有人针对鲫鱼甩子期的特点也常采用浮钓法。浮钓不需打窝。 六、半浮钓鲫鱼: 一般用于体情况而定。底层杂草或淤泥较厚,钩沉底不易为鱼发觉的环境。办法是将坠减轻,调整浮漂至钩触底后露出数格,然后将漂下调5-10厘米(视水底草或淤泥的厚度而定),保持漂仍露出的格数(如坠重适当减轻)。这样使钩略高于水底,便于鱼的发现。 七、甩大边钓鲫鱼: 在河道、沟渠中常岸边有芦苇等,鱼喜欢栖居觅食,如果河道不很宽,你的钓位比较嘈杂,可以用长竿、长线,或海竿串钩甩至对岸芦苇、水草边,可以甩出四、五支竿,插好等待,手竿可用漂,海竿则将风线拉直,看竿梢湾动,往往效果很好。 八、走钓鲫鱼: 到一水塘,先行观察,选鲫鱼喜栖居的位置撒窝,可保持至少2米一上距离,撒若干窝子。然后采用5-6米左右质轻的鱼竿,采用7--10 粒的散漂,(便于适应水的不同深度,不必老调漂),钓线宜细,鱼钩最好是朝天钩,饵料一般采用红蚯蚓,保持活性最好。 走钓的特点是走,应手持钓竿,沿打过窝的水边观察鱼星的情况,有鱼星即应下钩,无鱼星可继续观察其它钓窝。打窝应每次少打,过些时间再打一遍,即少打勤打。这种钓法变等为找,因此由被动变主动,且对锻炼身体更有好处。 九、流水钓鲫鱼: 一般适用于流动水域,竿宜长,线不必太长,坠须重,漂可用数粒散漂,粒漂则宜长,饵以蚯蚓、小虾为好。钩甩入水中,如水流动,可使钩漂顺水同流,到下游后提起再甩至上游,见漂停住,立即提竿。以免底部挂住,若有托漂或下沉,即应提竿上鱼。 十、盒饭钓鲫鱼: 类似爆炸钩,但将食放在一个预制的塑料盒中,可以节省饵料,且对饵料的粘、散要求较底。方法是用一个直径为25-50毫米的塑料瓶底或盖,制成高约15-20的小盒。用螺丝自盒里底部中心穿出,固定一个铅坨。盒的四周均匀打七个直径2毫米的小孔。 一个孔穿入钓线,拴上连接环。用三棵软脑线,每棵对折,然后拧在一起套入一个短气门心内。对折的线圈挂在连接环上。三棵对折脑线的六个头,分别从六个小孔中穿出,每端系上一个鱼钩。用时,将盒中放上糟食,将钩从盒外折回到盒内,埋入糟食内,甩出到钓点进行垂钓。 十一、活水钓鲫鱼: 鱼类对氧气的需求量不亚于人类,有氧则活,无氧则死,氧气充足的水中,鱼儿最多,最活跃。垂钓水域的进、出水口,含氧量高,被称为活水,在此垂钓必有收获。 下雨时,雨水能将氧气带人水中,所以雨过天晴同样是垂钓的好时机。大风大,水随风而动,不但企氧气溶入,还有岸边的草籽、花粉、树叶等天然鱼食刮人,风停后在下风口垂钓也很好。 十二、适温钓鲫鱼: 一年四季,水温变化很大。鱼儿既怕冷又怕热,气温在 15-25T之间摄食最旺盛,过冷就会像人一样猫冬,过热就会歇伏,鲫鱼虽是广温性鱼,但大体规律也是如此。 春秋季节,气温、水温适合全天垂钓;炎热的夏季最好钓早钓晚;寒冷的冬季要选择晴朗的中午垂钓。 十三、择地钓鲫鱼: 鲫鱼胆小,喜安静。钓鲫鱼,要选择有草丛、竹木桩、砖砾、岩石、桥墩的地方下钩,这些僻静水域必然鱼多。牛滚幽、淘洗码头、水草茂密处,鱼儿有食可吃,也是钓鲫的好地方。 十四、寻洁钓鲫鱼: 鲫鱼喜欢在清洁、多氧气的水中栖息;如果水又脏又浊,鱼会感到憋闷,不想吃东西,常浮在水面嚼水,甚至窒息死亡。垂钓的水域应以浅色为上;淡绿色、淡青色次之;酱色、深褐色的污染水,腐殖质含量高,氧气不足,不宜垂钓。 十五、牵引钓钓鲫鱼: 诱饵投放以后,窝里不久就有鱼星上冒,可鱼就是不咬钩,这种情况可能是窝里有鲤鱼、草鱼之类的大鱼,鲫鱼不敢进窝吃食。 此时就应采用牵引法(也称逗钓),即在钓点上下前后左右轻轻地、缓慢地拉动渔线,诱鱼上钩,特别是鲫鱼少吃少动的冬天和初春,用红虫和蚯蚓效果特别好。 十六、换饵钓鲫鱼: 鲫鱼属条食性鱼种,荤素皆吃一草食以蚯蚓、红虫、小虾、蛆为主;素食以面粉、蚕豆粉、大米饭、红完了玉米粑为主一面钓时应革素饵变换使用鱼同人一样,有吃新的习惯,如果总吃一种食物也会腻口。 ","link":"https://itwangaijava.github.io/post/diao-yu-ji-qiao-quan-gong-lue/"},{"title":"Redmi AC2100 路由器 官方固件允许IPv6外网访问下游设备","content":"function getSTOK() { let match = location.href.match(/;stok=(.*?)//); if (!match) { return null; } return match[1]; } function execute(stok, command) { command = encodeURIComponent(command); let path = /cgi-bin/luci/;stok=${stok}/api/misystem/set_config_iotdev?bssid=SteelyWing&user_id=SteelyWing&ssid=-h%0A${command}%0A; console.log(path); return fetch(new Request(location.origin + path)); } function enableSSH() { stok = getSTOK(); if (!stok) { console.error('stok not found in URL'); return; } console.log(stok = "${stok}"); password = prompt('Input new SSH password'); if (!password) { console.error('You must input password'); return; } execute(stok, nvram set ssh_en=1 nvram commit sed -i 's/channel=.*/channel=\\\\"debug\\\\"/g' /etc/init.d/dropbear /etc/init.d/dropbear start ) .then((response) => response.text()) .then((text) => console.log(text)); console.log('New SSH password: ' + password); execute(stok, echo -e "${password}\\\\n${password}" | passwd root) .then((response) => response.text()) .then((text) => console.log(text)); } enableSSH(); 使用Putty 或 Xshell 终端连接路由器,MIWIFI默认网关地址为 192.168.31.1,用户名为 root,密码为上一步设定的密码。 使用 Vim 修改防火墙配置文件: vim /etc/config/firewall 将文件中defaults 闭包下 disable_ipv6 的值改为 0,zone 闭包下 forward 的值改为 ACCEPT 在原有的Rule 中添加一个闭包,允许IPv6外网访问路由器下游设备 config rule option name 'Allow-IPv6' option target 'ACCEPT' option family 'ipv6' list proto 'all' option src '' option dest '' 终端执行命令,重启路由器防火墙: /etc/init.d/firewall restart ","link":"https://itwangaijava.github.io/post/redmi-ac2100-lu-you-qi-guan-fang-gu-jian-yun-xu-ipv6-wai-wang-fang-wen-xia-you-she-bei/"},{"title":"OpenWrt 插件","content":"OpenWrt 编译 LuCI ---> Applications 添加插件应用说明 make menuconfig 进入定制界面 进入编译选项配置界面,.按照需要配置.( ‘*’ 代表编入固件,‘M’ 表示编译成模块或者IPK包, ‘空’不编译 ) 非常感谢大佬”L有大雕“更正补充,20181121 大佬源码仓库:https://github.com/coolsnowwolf/lede https://op.supes.top/packages/ 选择LuCI 配置 添加插件应用:常用 LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制 LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus + LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定 LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启 LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端) LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包) LuCI ---> Applications ---> luci-app-firewall #添加防火墙 LuCI ---> Applications ---> luci-app-frpc #内网穿透 Frp LuCI ---> Applications ---> luci-app-ipsec-vpnd #VPN服务器 IPSec LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器 LuCI ---> Applications ---> luci-app-ramfree #释放内存 LuCI ---> Applications ---> luci-app-samba #网络共享(Samba) LuCI ---> Applications ---> luci-app-ssr-plus #SSR科学上网Plus+ luci-app-ssr-plus ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级) luci-app-ssr-plus ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级) luci-app-ssr-plus ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级) luci-app-ssr-plus ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级) luci-app-ssr-plus ---> Include Include Shadowsocks Simple Obfs Plugin #SS Simple-Obfs混淆代理(Nginx) luci-app-ssr-plus ---> Include Xray #Xray代理(XTLS) LuCI ---> Applications ---> luci-app-turboacc #Turbo ACC 网络加速(支持 Fast Path 或者 硬件 NAT) LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本 LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发) LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置 LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器 LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划 LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线 LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒 LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟 LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透 以下是全部: 注:应用后面标记 “ * ” 为最近新添加;标记“ ! ”与其他插件依赖或冲突。 LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制 LuCI ---> Applications ---> luci-app-acme #ACME自动化证书管理环境(丢弃) LuCI ---> Applications ---> luci-app-adblock #ADB广告过滤 LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus + LuCI ---> Applications ---> luci-app-adbyby #广告过滤大师(丢弃) LuCI ---> Applications ---> luci-app-adguardhome #AdGuard home广告过滤(Le库以外的插件) LuCI ---> Applications ---> luci-app-adkill #广告过滤(丢弃) LuCI ---> Applications ---> luci-app-advanced-reboot #Linksys高级重启 LuCI ---> Applications ---> luci-app-advancedsetting #系统高级设置(Le库以外的插件) LuCI ---> Applications ---> luci-app-ahcp #Ad-Hoc配置协议(AHCP) ipv6 and 双栈 自动配置协议 ! LuCI ---> Applications ---> luci-app-airplay2 #Apple AirPlay2 无损音频接收服务器 LuCI ---> Applications ---> luci-app-aliddns #阿里DDNS客户端(丢弃,集成至ddns) LuCI ---> Applications ---> luci-app-aliyundrive-webdav #阿里云盘 WebDAV 服务 LuCI ---> Applications ---> luci-app-amule #aMule下载工具 ! LuCI ---> Applications ---> luci-app-argon-config #Argon主题配置插件(Le库以外的插件) LuCI ---> Applications ---> luci-app-aria2 # Aria2下载工具 LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定 LuCI ---> Applications ---> luci-app-asterisk #支持Asterisk电话服务器 LuCI ---> Applications ---> luci-app-attendedsysupgrade #固件更新升级相关 LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启 LuCI ---> Applications ---> luci-app-baidupcs-web #百度网盘管理 LuCI ---> Applications ---> luci-app-bcp38 #BCP38网络入口过滤(不确定) LuCI ---> Applications ---> luci-app-bird1-ipv4 #对Bird1-ipv4的支持 LuCI ---> Applications ---> luci-app-bird1-ipv6 #对Bird1-ipv6的支持 LuCI ---> Applications ---> luci-app-bird4 #Bird 4(未知)(丢弃) LuCI ---> Applications ---> luci-app-bird6 #Bird 6(未知)(丢弃) LuCI ---> Applications ---> luci-app-bmx6 #BMX6路由协议 LuCI ---> Applications ---> luci-app-bmx7 #BMX7路由协议(丢弃) LuCI ---> Applications ---> luci-app-caldav #联系人(丢弃) LuCI ---> Applications ---> luci-app-cifs-mount #CIFS/SMB挂载设置 LuCI ---> Applications ---> luci-app-cifsd #CIFS/SMB网络共享 LuCI ---> Applications ---> luci-app-cjdns #加密IPV6网络相关 LuCI ---> Applications ---> luci-app-clamav #ClamAV杀毒软件 LuCI ---> Applications ---> luci-app-clash #Clash客户端(Le库以外的插件) LuCI ---> Applications ---> luci-app-commands #Shell命令模块 LuCI ---> Applications ---> luci-app-cshark #CloudShark捕获工具 LuCI ---> Applications ---> luci-app-dawn #分布式AP管理程序 LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端) LuCI ---> Applications ---> luci-app-diag-core #core诊断工具 LuCI ---> Applications ---> luci-app-diskman #磁盘管理工具 luci-app-diskman ---> Include btrfs-progs #新型的写时复制 (COW) luci-app-diskman ---> Include lsblk #lsblk命令 用于列出所有可用块设备的信息 luci-app-diskman ---> Include mdadm #mdadm命令 用于创建、管理、监控RAID设备的工具 luci-app-diskman ---> Include kmod-md-raid456 #RAID 4,5,6 驱动程序模块(丢弃) luci-app-diskman ---> Include kmod-md-linear #RAID 驱动程序模块(丢弃) LuCI ---> Applications ---> luci-app-dnscrypt-proxy #DNSCrypt解决DNS污染 LuCI ---> Applications ---> luci-app-dnsfilter #DNSFilter基于DNS的广告过滤 LuCI ---> Applications ---> luci-app-dnsforwarder #DNSForwarder防DNS污染 LuCI ---> Applications ---> luci-app-dnspod #DNSPod动态域名解析(丢弃) LuCI ---> Applications ---> luci-app-docker #Docker容器(dockerman更名为docker) LuCI ---> Applications ---> luci-app-dump1090 #民航无线频率(不确定) LuCI ---> Applications ---> luci-app-dynapoint #DynaPoint(未知) LuCI ---> Applications ---> luci-app-e2guardian #Web内容过滤器 LuCI ---> Applications ---> luci-app-easymesh #简单MESH(可有线+无线回程) LuCI ---> Applications ---> luci-app-eqos #基于IP地址限速(Le库以外的插件) LuCI ---> Applications ---> luci-app-familycloud #家庭云盘 LuCI ---> Applications ---> luci-app-fileassistant #文件管理助手(Le库以外的插件) LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包) LuCI ---> Applications ---> luci-app-firewall #添加防火墙 LuCI ---> Applications ---> luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS(丢弃,移至TurboACC) LuCI ---> Applications ---> luci-app-freifunk-diagnostics #freifunk组件 诊断(未知)(丢弃) LuCI ---> Applications ---> luci-app-freifunk-policyrouting #freifunk组件 策略路由(未知)(丢弃) LuCI ---> Applications ---> luci-app-freifunk-widgets #freifunk组件 索引(未知)(丢弃) LuCI ---> Applications ---> luci-app-frpc #内网穿透Frp客户端 LuCI ---> Applications ---> luci-app-frps #内网穿透Frp服务端 LuCI ---> Applications ---> luci-app-fwknopd #Firewall Knock Operator服务器 LuCI ---> Applications ---> luci-app-guest-wifi #WiFi访客网络 LuCI ---> Applications ---> luci-app-gfwlist #GFW域名列表(丢弃) LuCI ---> Applications ---> luci-app-go-aliyundrive-webdav #阿里云盘webdav协议(文件管理/同步等) * LuCI ---> Applications ---> luci-app-gost #隐蔽的https代理(Le库以外的插件) LuCI ---> Applications ---> luci-app-haproxy-tcp #HAProxy负载均衡-TCP LuCI ---> Applications ---> luci-app-hd-idle #硬盘休眠 LuCI ---> Applications ---> luci-app-hnet #Homenet Status家庭网络控制协议 LuCI ---> Applications ---> luci-app-https-dns-proxy #通过HTTPS代理为DNS提供Web UI LuCI ---> Applications ---> luci-app-ipsec-vpnd #VPN服务器 IPSec LuCI ---> Applications ---> luci-app-jd-dailybonus #京东签到服务 LuCI ---> Applications ---> luci-app-kodexplorer #KOD可道云私人网盘(与vnStat冲突 ! ) LuCI ---> Applications ---> luci-app-kooldns #VPN服务器 ddns替代方案(丢弃) LuCI ---> Applications ---> luci-app-koolproxy #KP去广告(丢弃) LuCI ---> Applications ---> luci-app-lxc #LXC容器管理 LuCI ---> Applications ---> luci-app-meshwizard #网络设置向导(丢弃) LuCI ---> Applications ---> luci-app-minidlna #完全兼容DLNA / UPnP-AV客户端的服务器软件 LuCI ---> Applications ---> luci-app-mjpg-streamer #兼容Linux-UVC的摄像头程序 LuCI ---> Applications ---> luci-app-mtwifi #MTWiFi驱动的支持 (丢弃) LuCI ---> Applications ---> luci-app-mmc-over-gpio #添加SD卡操作界面(丢弃) LuCI ---> Applications ---> luci-app-multiwan #多拨虚拟网卡(丢弃,移至syncdial) LuCI ---> Applications ---> luci-app-mwan #MWAN负载均衡(丢弃) LuCI ---> Applications ---> luci-app-music-remote-center #PCHiFi 数字转盘遥控 LuCI ---> Applications ---> luci-app-mwan3 #MWAN3负载均衡 LuCI ---> Applications ---> luci-app-mwan3helper #MWAN3分流助手 LuCI ---> Applications ---> luci-app-n2n_v2 #N2N内网穿透 N2N v2 VPN服务 LuCI ---> Applications ---> luci-app-netdata #Netdata实时监控(图形化) LuCI ---> Applications ---> luci-app-nfs #NFS网络共享 LuCI ---> Applications ---> luci-app-nft-qos #QOS流控 Nftables版 LuCI ---> Applications ---> luci-app-ngrokc #Ngrok 内网穿透(丢弃) LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器 LuCI ---> Applications ---> luci-app-noddos #NodDOS Clients 阻止DDoS攻击 LuCI ---> Applications ---> luci-app-nps #内网穿透nps LuCI ---> Applications ---> luci-app-ntpc #NTP时间同步服务器 LuCI ---> Applications ---> luci-app-ocserv #OpenConnect VPN服务 LuCI ---> Applications ---> luci-app-olsr #OLSR配置和状态模块 LuCI ---> Applications ---> luci-app-olsr-services #OLSR服务器 LuCI ---> Applications ---> luci-app-olsr-viz #OLSR可视化 LuCI ---> Applications ---> luci-app-ocserv #OpenConnect VPN服务(丢弃) LuCI ---> Applications ---> luci-app-openclash #运行在OpenWrt上的Clash代理客户端(Le库以外的插件) LuCI ---> Applications ---> luci-app-openvpn #OpenVPN客户端 LuCI ---> Applications ---> luci-app-openvpn-server #易于使用的OpenVPN服务器 Web-UI LuCI ---> Applications ---> luci-app-oscam #OSCAM服务器(丢弃) LuCI ---> Applications ---> luci-app-p910nd #打印服务器模块 LuCI ---> Applications ---> luci-app-pagekitec #Pagekitec内网穿透客户端 LuCI ---> Applications ---> luci-app-passwall #科学上网(Li大佬插件) Configuration ---> Include Brook #Brook代理(跨平台强加密且不可检测代理) Configuration ---> Include ChinaDNS-NG #防污染DNS服务 Configuration ---> Include Haproxy #HAProxy #HAProxy负载均衡 Configuration ---> Include Hysteria #Hysteria双边加速工具 Configuration ---> Include Kcptun #Kcptun双边加速工具 Configuration ---> Include NaiveProxy #NaiveProxy代理(Chrome网络堆栈伪装流量) Configuration ---> Include PDNSD #DNS服务器 Configuration ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级) Configuration ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级) Configuration ---> Include Shadowsocks Rust Client #SS Rust客户端(负载均衡/探测延迟) Configuration ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级) Configuration ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级) Configuration ---> Include Simple-Obfs (Shadowsocks plugin) #simple-Obfs简单混淆工具(Nginx) Configuration ---> Include Trojan_GO #Trojan_GO代理(直接模仿协议HTTPS) Configuration ---> Include Trojan_Plus #Trojan_Plus代理(直接模仿协议HTTPS) Configuration ---> Include V2ray #V2Ray代理 Configuration ---> Include v2ray-plugin (Shadowsocks plugin) #SS V2ray插件(WebSocket+TLS ) Configuration ---> Include Xray #Xray代理(XTLS) Configuration ---> Include Xray-Plugin (Shadowsocks Plugin) #SS Xray插件(WebSocket+TLS ) * Configuration ---> Include Dns2socks #DNS服务器(丢弃) Configuration ---> Include Redsocks2 #Redsocks2代理(透明TCP定向Socks/HTTPS代理服务器)(丢弃) Configuration ---> Include Shadowsocks #SS代理(丢弃) Configuration ---> Include Shadowsocks Server #SS服务器(丢弃) Configuration ---> Include Shadowsocks Rust (AEAD ciphers only) #SS-RUST代理(AEAD加密)(丢弃) Configuration ---> Include ShadowsocksR #SSR代理(丢弃) Configuration ---> Include ShadowsocksR Server #SSR服务器(丢弃) Configuration ---> Include Https DNS Proxy(DoH) #HttpsDNS服务(丢弃) LuCI ---> Applications ---> luci-app-polipo #Polipo代理(是一个小型且快速的网页缓存代理) LuCI ---> Applications ---> luci-app-pppoe-relay #PPPoE NAT穿透 点对点协议(PPP) LuCI ---> Applications ---> luci-app-pptp-server #VPN服务器 PPTP LuCI ---> Applications ---> luci-app-privoxy #Privoxy网络代理(带过滤无缓存) LuCI ---> Applications ---> luci-app-ps3netsrv #PS3 NET服务器(用于加载蓝光/游戏ISO/PKG) LuCI ---> Applications ---> luci-app-pushbot #全能推送(钉钉推送,企业微信推送,Bark,PushPlus推送) LuCI ---> Applications ---> luci-app-qbittorrent #BT下载工具(qBittorrent) Build Version Selection (Static Build) ---> Static Build #选择静态编译版本 Build Version Selection (Static Build) ---> Dynamic Build #选择动态编译版本 LuCI ---> Applications ---> luci-app-qos #流量服务质量(QoS)流控 LuCI ---> Applications ---> luci-app-radicale #CalDAV/CardDAV同步工具 LuCI ---> Applications ---> luci-app-ramfree #释放内存 LuCI ---> Applications ---> luci-app-rclone #命令行云端同步工具 Include rclone-webui #Rclone界面 Include rclone-ng (another webui) #Rclone另一个界面 Include fuse-utils (mount cloud storage) #fuse-utils(挂载云存储)(丢弃) LuCI ---> Applications ---> luci-app-rp-pppoe-server #Roaring Penguin PPPoE Server 服务器 LuCI ---> Applications ---> luci-app-samba #网络共享(Samba) LuCI ---> Applications ---> luci-app-samba4 #网络共享(Samba4) LuCI ---> Applications ---> luci-app-serverchan #微信/Telegram推送的插件 LuCI ---> Applications ---> luci-app-sfe #Turbo ACC网络加速(丢弃,移至TurboACC) LuCI ---> Applications ---> luci-app-shadowsocks #SS科学上网(丢弃) LuCI ---> Applications ---> luci-app-shadowsocks-libes #SS-libev服务端 LuCI ---> Applications ---> luci-app-shairplay #支持AirPlay功能 LuCI ---> Applications ---> luci-app-siitwizard #SIIT配置向导 SIIT-Wizzard LuCI ---> Applications ---> luci-app-simple-adblock #简单的广告拦截 LuCI ---> Applications ---> luci-app-smartdns #SmartDNS本地服务器(丢弃) LuCI ---> Applications ---> luci-app-softethervpn #SoftEther VPN服务器 NAT穿透 LuCI ---> Applications ---> luci-app-splash #Client-Splash是无线MESH网络的一个热点认证系统 LuCI ---> Applications ---> luci-app-sqm #流量智能队列管理(QOS) LuCI ---> Applications ---> luci-app-squid #Squid代理服务器 LuCI ---> Applications ---> luci-app-ssr-plus #SSR科学上网Plus+(Le大佬插件) Include libustream-ssl ---> Include libustream-wolfssl #选择wolfSSL库(传输层安全协议) Include libustream-ssl ---> Include libustream-openssl #选择OpenSSL库(传输层安全协议) luci-app-ssr-plus ---> Include Kcptun #Kcptun双边加速工具 luci-app-ssr-plus ---> Include NaiveProxy #NaiveProxy代理(Chrome网络堆栈伪装流量) luci-app-ssr-plus ---> Include Redsocks2 #Redsocks2代理(透明TCP定向Socks/HTTPS代理服务器) luci-app-ssr-plus ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级) luci-app-ssr-plus ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级) luci-app-ssr-plus ---> Include Shadowsocks Rust Client #SS Rust客户端(负载均衡/探测延迟) luci-app-ssr-plus ---> Include Shadowsocks Rust Server #SS Rust服务端(负载均衡/探测延迟) luci-app-ssr-plus ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级) luci-app-ssr-plus ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级) luci-app-ssr-plus ---> Include Simple-Obfs Plugin #SS Simple-Obfs混淆代理(Nginx) luci-app-ssr-plus ---> Include Trojan #Trojan代理(直接模仿协议HTTPS) luci-app-ssr-plus ---> Include Shadowsocks V2ray Plugin #SS V2ray代理(WebSocket+TLS ) luci-app-ssr-plus ---> Include Xray #Xray代理(XTLS) luci-app-ssr-plus ---> Include Shadowsocks New Version #新SS代理(丢弃) luci-app-ssr-plus ---> Include Shadowsocks #SS代理(丢弃) luci-app-ssr-plus ---> Include Shadowsocks Rust (AEAD ciphers only) #SS-RUST代理(AEAD密码) (丢弃) luci-app-ssr-plus ---> Include V2ray #V2Ray代理(丢弃) luci-app-ssr-plus ---> Include Xray (V2RAY/Trojan-GO implemented) #Xray代理(丢弃) luci-app-ssr-plus ---> Include Trojan-go #Trojan-go代理(丢弃) luci-app-ssr-plus ---> Include Shadowsocks Server #SS服务器(丢弃) luci-app-ssr-plus ---> Include Shadowsocks Rust Server #SS Rust服务器(丢弃) luci-app-ssr-plus ---> Include ShadowsocksR Server #SSR服务器(丢弃) luci-app-ssr-plus ---> Include DNS2SOCKS #DNS服务器(丢弃) luci-app-ssr-plus ---> Include ShadowsocksR Socks and Tunnel(丢弃) luci-app-ssr-plus ---> Include Socks Server #socks代理服务器(丢弃) LuCI ---> Applications ---> luci-app-ssr-pro #SSR-Pro(丢弃) LuCI ---> Applications ---> luci-app-ssrserver-python #ShadowsocksR Python服务器 LuCI ---> Applications ---> luci-app-statistics #流量监控工具 LuCI ---> Applications ---> luci-app-syncdial #多拨虚拟网卡(原macvlan) LuCI ---> Applications ---> luci-app-tinyproxy #Tinyproxy是 HTTP(S)代理服务器 LuCI ---> Applications ---> luci-app-transmission #BT下载工具 LuCI ---> Applications ---> luci-app-travelmate #旅行路由器 LuCI ---> Applications ---> luci-app-ttyd #网页终端命令行 LuCI ---> Applications ---> luci-app-turboacc #Turbo ACC 网络加速(支持 Fast Path 或者 硬件 NAT) luci-app-turboacc ---> Include Shortcut-FE #Shortcut-FE 流量分载 luci-app-turboacc ---> Include BBR CCA #BBR拥塞控制算法提升TCP网络性能 luci-app-turboacc ---> Include DNSForwarder #DNS防污染 Forwarder luci-app-turboacc ---> Include DNSProxy #DNS防污染 Proxy LuCI ---> Applications ---> luci-app-udpxy #udpxy做组播服务器 LuCI ---> Applications ---> luci-app-uhttpd #uHTTPd Web服务器 LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本 UnblockNeteaseMusic Golang Version #Golang版本 UnblockNeteaseMusic NodeJS Version #NodeJS版本 LuCI ---> Applications ---> luci-app-unblockneteasemusic-go #解除网易云音乐(合并) LuCI ---> Applications ---> luci-app-unblockneteasemusic-mini #解除网易云音乐(合并) LuCI ---> Applications ---> luci-app-unbound #Unbound DNS解析器 LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发) LuCI ---> Applications ---> luci-app-usb-printer #USB 打印服务器 LuCI ---> Applications ---> luci-app-uugamebooster #UU网游加速器 LuCI ---> Applications ---> luci-app-v2ray-server #V2Ray 服务器 LuCI ---> Applications ---> luci-app-v2ray-pro #V2Ray透明代理(丢弃,集成SSR) LuCI ---> Applications ---> luci-app-verysync #微力同步 LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置 LuCI ---> Applications ---> luci-app-vnstat #vnStat网络监控(图表)(与kodexplorer冲突 ! ) LuCI ---> Applications ---> luci-app-vpnbypass #VPN BypassWebUI 绕过VPN设置 LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器 LuCI ---> Applications ---> luci-app-vssr #VSSR科学上网(je大佬插件) luci-app-vssr ---> Include Xray #Xray代理(XTLS) luci-app-vssr ---> Include Trojan #Trojan代理(直接模仿协议HTTPS) luci-app-vssr ---> Include Kcptun #Kcptun双边加速工具 luci-app-vssr ---> Include Shadowsocks Xray Plugin #SS Xray代理 luci-app-vssr ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级) LuCI ---> Applications ---> luci-app-watchcat #断网检测功能与定时重启 LuCI ---> Applications ---> luci-app-webadmin #Web管理页面设置 LuCI ---> Applications ---> luci-app-webshell #网页命令行终端(丢弃) LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划 LuCI ---> Applications ---> luci-app-wireguard #VPN服务器 WireGuard状态 LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线 LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒 LuCI ---> Applications ---> luci-app-wrtbwmon #实时流量监测 LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟 LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透 ","link":"https://itwangaijava.github.io/post/openwrt-cha-jian/"},{"title":"redmi ac2100固件","content":"更改redmi ac2100固件版本 要想刷固件,需要将路由器的固件版本改为2.0.23。但为了防止意外,强烈建议先下载官方的路由修复器。 下载路由修复器 度盘中的MIWIFIRepairTool.x86.rar压缩包,压缩可用,软件本身有使用教程 下载2.0.23版本的固件 度盘中的miwifi_rm2100_all_fb720_2.0.23.bin文件 下载后,登录路由器管理界面,打开常用设置->系统状态->升级检测,点击手动升级,将上面下载的2.0.23版本固件刷入路由器 刷入breed ps:如果是新路由器,个人认为不太需要检查坏块,所以本文中没相关的方法,有需要的可自行搜索 打开ssh 这里,我们使用openwrt官方提供的方法打开ssh 登录路由器管理界面,按f12打开开发者工具devtool,点击console,输入下列代码,并回车 复制代码 `function getSTOK() { let match = location.href.match(/;stok=(.*?)//); if (!match) { return null; } return match[1]; } function execute(stok, command) { command = encodeURIComponent(command); let path = /cgi-bin/luci/;stok=${stok}/api/misystem/set_config_iotdev?bssid=SteelyWing&user_id=SteelyWing&ssid=-h%0A${command}%0A; console.log(path); return fetch(new Request(location.origin + path)); } function enableSSH() { stok = getSTOK(); if (!stok) { console.error('stok not found in URL'); return; } console.log(stok = "${stok}"); password = prompt('Input new SSH password'); if (!password) { console.error('You must input password'); return; } execute(stok, nvram set ssh_en=1 nvram commit sed -i 's/channel=.*/channel=\\\\"debug\\\\"/g' /etc/init.d/dropbear /etc/init.d/dropbear start ) .then((response) => response.text()) .then((text) => console.log(text)); console.log('New SSH password: ' + password); execute(stok, echo -e "${password}\\\\n${password}" | passwd root) .then((response) => response.text()) .then((text) => console.log(text)); } enableSSH();` 复制代码 运行成功会返回一个弹窗,要你设置ssh的密码,输入密码点确定。默认帐号为root 通过ssh连接路由器,这里推荐xshell:https://www.netsarang.com/zh/xshell/ xshell可以免费使用 打开xshell,新建会话,主机项填路由ip,点连接。然后输入相应的帐号密码。第一次连接会要求保存凭证,接受并保存即可。 这里,暂时先告一段落,接下来是下载breed。 利用winscp传入breed 下载度盘中的breed-mt7621-xiaomi-r3g.bin和WinSCP-5.17.10-Setup.exe 安装winscp,新建会话,连接协议选scp,建立和路由器的连接 然后将breed上传到路由器的/tmp目录(软件的两边选好路径之后,选中文件,右键点upload上传) 然后,回到xshell,输入命令cd /tmp 然后输入ls看看是否上传成功 之后输入下面的命令将breed刷入路由器 mtd -r write breed-mt7621-xiaomi-r3g.bin Bootloader 刷入之后,关闭路由器电源,按住reset,重新打开路由器电源,直到路由器的system灯变成蓝灯闪烁后,松开reset键 浏览器访问192.168.1.1,可以看到breed被刷入成功 点击环境变量编辑,新增两个变量 字段xiaomi.r3g.bootfw,值为2 刷入openwrt底包(可选) ps:如果不想刷openwrt,不建议刷入底包 下载度盘中的openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-initramfs-kernel.bin,点击breed中的固件更新 勾选固件->选择文件->上传文件 即可刷入openwrt低包,然后用这个临时的openwrt去刷想要的openwrt即可 临时底包刷固件/breed刷固件教程:https://www.right.com.cn/forum/thread-4025861-1-1.html 刷入openwrt/padavan 升级固件的方法可看上一小节 openwrt可下载度盘中的03.03-openwrt-ramips-mt7621-redmi-ac2100-squashfs-sysupgrade.bin padavan可下载度盘中的RM2100_3.4.3.9-099.trx ","link":"https://itwangaijava.github.io/post/redmi-ac2100-gu-jian/"},{"title":"csdn破解登陆复制","content":"打开开发者工具(F12) 输入: document.designMode='on' 即可 ","link":"https://itwangaijava.github.io/post/csdn-po-jie-deng-lu-fu-zhi/"},{"title":"win10企业版激活","content":" slmgr -ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D slmgr -skms kms.03k.org slmgr -ato slmgr -dlv ","link":"https://itwangaijava.github.io/post/win10-qi-ye-ban-ji-huo/"},{"title":"解决升级Win10后自带App应用的闪退、崩溃问题","content":"输入“PowerShell”,回车。 解决升级Win10后自带App/应用的闪退、崩溃问题 Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\\AppXManifest.xml"} ","link":"https://itwangaijava.github.io/post/jie-jue-sheng-ji-win10-hou-zi-dai-app-ying-yong-de-shan-tui-beng-kui-wen-ti/"},{"title":"简单的EFHelper","content":"using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SqlClient; namespace DAL { //new():实例化对象,对泛型的约束 public class EFHelper<TDataBase> where TDataBase : DbContext,new() { static EFHelper<TDataBase> instance = null; //私有化构造函数 EF(Entity FrameWork):DatabaseFirst,ModelFirst,CodeFirst private EFHelper() { } /// <summary> /// 返回当前对象实例 /// </summary> /// <returns></returns> public static EFHelper<TDataBase> GetInstance() { if (instance == null) { instance = new EFHelper<TDataBase>(); } return instance; } TDataBase db = null; public TDataBase GetDataContext() { if (db == null) { db = new TDataBase(); } return db; } /// <summary> /// 返回所有数据 /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public List<T> GetList<T>() where T : class { //单例,创建者,观察者(发布订阅),适配器,门面,职责链,模板,工厂,抽象工厂 var db = GetDataContext(); return db.Set<T>().ToList(); } /// <summary> /// 根据条件查询 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="predicate"></param> /// <returns>集合对象</returns> public List<T> GetList<T>(Expression<Func<T,bool>> predicate) where T:class { var db = GetDataContext(); return db.Set<T>().Where(predicate).ToList(); } /// <summary> /// 根据条件查询 /// 使用EF时必须每张表都有主键ID /// EF:修改删除时必须先获取要修改的数据对象 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="predicate"></param> /// <returns>一个对象</returns> public T GetSingle<T>(Expression<Func<T, bool>> predicate) where T : class { var db = GetDataContext(); return db.Set<T>().FirstOrDefault(predicate); } /// <summary> /// 插入一个实体 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="Entity"></param> /// <returns></returns> public T InsertEntity<T>(T Entity) where T : class { var db = GetDataContext(); try { T result = db.Set<T>().Add(Entity); db.SaveChanges(); return result; } catch (Exception ex) { return null; } } /// <summary> /// 修改 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="Entity"></param> /// <returns></returns> public bool Update<T>(T Entity) where T : class { var db = GetDataContext(); var entry = db.Entry(Entity); //System.Data.Entity entry.State = System.Data.EntityState.Modified; return db.SaveChanges() > 0 ? true : false; } /// <summary> /// 传入实体删除 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="Entity"></param> /// <returns></returns> public bool Delete<T>(T Entity) where T : class { var db = GetDataContext(); db.Set<T>().Remove(Entity); return db.SaveChanges() > 0 ? true : false; } /// <summary> /// 分布查询 /// </summary> /// <typeparam name="T">查询的对象</typeparam> /// <typeparam name="TKey">排序字段类型</typeparam> /// <param name="predicate">查询条件</param> /// <param name="keySelector">排序字段</param> /// <param name="pageIndex">当前页数</param> /// <param name="pageNum">每页条数</param> /// <param name="orderType">排序类型,1:升序,2:降序</param> /// <returns>数据列表</returns> public List<T> GetListByPager<T , TKey>(Expression<Func<T, bool>> predicate, Expression<Func<T, TKey>> keySelector, int pageIndex, int pageNum , int orderType) where T : class { var db = GetDataContext(); if (orderType == 1) { return db.Set<T>().Where(predicate).OrderBy(keySelector).Skip((pageIndex - 1) * pageNum).Take(pageNum).ToList(); } else { return db.Set<T>().Where(predicate).OrderByDescending(keySelector).Skip((pageIndex - 1) * pageNum).Take(pageNum).ToList(); } } /// <summary> /// 使用SQL增删改 /// </summary> /// <param name="sqlstr"></param> /// <param name="pars"></param> public int GetPro(string sqlstr, SqlParameter[] pars) { var db = GetDataContext(); return db.Database.ExecuteSqlCommand(sqlstr, pars); } /// <summary> /// 使用SQL查询数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="sqlstr"></param> /// <param name="pars"></param> /// <returns></returns> public List<T> GetSqlStr<T>(string sqlstr, SqlParameter[] pars) { var db = GetDataContext(); return db.Database.SqlQuery<T>(sqlstr, pars).ToList(); } } } ","link":"https://itwangaijava.github.io/post/jian-dan-de-efhelper/"},{"title":"MYsql乱码.txt","content":"刚开始的时候普通连接出现乱码,我是这么解决的 <add name="blogdbEntities" connectionString="metadata=res://*/Models.BlogDB.csdl|res://*/Models.BlogDB.ssdl|res://*/Models.BlogDB.msl;provider=Devart.Data.MySql;provider connection string=&quot;user id=root;password=root1234;host=127.0.0.1;database=blogdb;persist security info=True;Character Set=utf8&quot;" providerName="System.Data.EntityClient" /> 把字符集给指定下。 ","link":"https://itwangaijava.github.io/post/mysql-luan-ma-txt/"},{"title":"webapi全局返回json.txt","content":"配置Global.asax文件 //webapi全局返回json GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear(); ","link":"https://itwangaijava.github.io/post/webapi-quan-ju-fan-hui-jsontxt/"},{"title":"XSS测试","content":"alert(/XSS/) 测试基本跨站代码 <Script>alert(/XSS/)</script> 大小写混合测试 <sCrIpT>alert(/XSS/)</sCrIpT> 多重嵌套测试 <scr<script>ipt>alert(/XSS/)<scr<script>ipt> ","link":"https://itwangaijava.github.io/post/ce-shi/"},{"title":"树莓派配置wifi","content":"创建wpa_supplicant.conf文件 到boot分区 文件输入以下内容 country=CN ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="WiFi名称" psk="密码" key_mgmt=WPA-PSK priority=1 } network={ ssid="WiFi名称" psk="密码" key_mgmt=WPA-PSK priority=2 scan_ssid=1 } ","link":"https://itwangaijava.github.io/post/shu-mei-pai-pei-zhi-wifi/"},{"title":"Apple ID换区","content":"转换成美国区 Apple ID 可填写如下信息: 邮编:98133 地址:One Microsoft Way Redmond WA 98052-6399 电话:(882)882-8080 转换成台湾地区 Apple ID 可填写如下信息: 邮编:11010 地址:台北市 信义区 松仁路7号 8楼 电话:0800-008833 转换成香港地区 Apple ID 可填写如下信息: 邮编:999077 地址:数码港道100号 数码港二座十三楼 电话:2388-9600 转换成日本 Apple ID 可填写如下信息: 東京王子大飯店 地址: 郵遞區號:105-8560 東京都港區芝公園3-3-1, 日本 電話: +81-(0)3-3432-1111 或 信用卡处选择“None”,Code处不添 phonetic name处添“None” postal-code处添“584-7766” prefecture处选择“osaka”, city处添“kyoto” adress处添“None” phone处添“556 4343221” ","link":"https://itwangaijava.github.io/post/apple-id-huan-qu/"},{"title":"net core iis restful webapi put delete 405 Method Not Allowed","content":"1、在web.config文件中system.webServer节点添加如下配置 <modules runAllManagedModulesForAllRequests="false"> <remove name="WebDAVModule" /> </modules> 2、重启对应的网站 ","link":"https://itwangaijava.github.io/post/net-core-iis-restful-webapi-put-delete-405-method-not-allowed/"},{"title":"git入门","content":"$ git init $ git remote add origin https://gitee.com/用户个性地址/HelloGitee.git 这样就完成了版本的一次初始化。 接下去,进入你已经初始化好的或者克隆仓库的目录,然后执行: $ git pull origin master 修改/添加文件,否则与原文件相比就没有变动。 $ git add . $ git commit -m "第一次提交" $ git push origin master ","link":"https://itwangaijava.github.io/post/git-ru-men/"},{"title":"电信光猫默认超级账号","content":"超级账号 telecomadmin 密码 nE7jA%5m ","link":"https://itwangaijava.github.io/post/dian-xin-guang-mao-mo-ren-chao-ji-zhang-hao/"},{"title":"Visual Studio 2022(VS2022)","content":"Pro: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH ","link":"https://itwangaijava.github.io/post/visual-studio-2022vs2022/"},{"title":"windows 出现在此系统上禁止运行脚本","content":"执行:get-ExecutionPolicy,返回状态:Restricted,表示状态是禁止的, 然后要设置下 执行:set-ExecutionPolicy RemoteSigned 开启 选择Y ","link":"https://itwangaijava.github.io/post/windows-chu-xian-zai-ci-xi-tong-shang-jin-zhi-yun-xing-jiao-ben/"},{"title":"linux部署dotnet环境","content":"首先我们得去官网上下载 .net core sdk 和 runtime 下载地址: https://dotnet.microsoft.com/download/dotnet-core/ $ mkdir -p dotnet $ tar -zxf dotnet-runtime-6.0.2-linux-arm64.tar.gz -C ./dotnet/ 移动与软链接 首先要把 dotnet 文件夹移动到 /usr/share/ 目录下 $ sudo mv dotnet /usr/share/dotnet/ 移动过去之后,再来创建个软连接 $ sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet ok,现在重启下终端或者ssh,你就可以开始使用dotnet了 注意可能需要安装libicu sudo apt-get install libicu-dev ","link":"https://itwangaijava.github.io/post/linux-bu-shu-dotnet-huan-jing/"},{"title":"mysql远程访问 root","content":"命令一: GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; 命令二: FLUSH PRIVILEGES; ","link":"https://itwangaijava.github.io/post/mysql-yuan-cheng-fang-wen-root/"},{"title":"树莓派换清华源","content":"sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo nano /etc/apt/sources.list 将原文件内容替换成如下: [arch=armhf] deb [arch=arm64] http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ bullseye main non-free contrib rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ bullseye main non-free contrib rpi sudo cp /etc/apt/sources.list.d/raspi.list /etc/apt/sources.list.d/raspi.list.bak sudo nano /etc/apt/sources.list.d/raspi.list 将原文件内容替换成如下: deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ bullseye main 更新源 sudo apt-get update gpg --keyserver keyserver.ubuntu.com --recv-keys 9165938D90FDDD2E gpg --export --armor 9165938D90FDDD2E| sudo apt-key add - ","link":"https://itwangaijava.github.io/post/shu-mei-pai-huan-qing-hua-yuan/"},{"title":"增加swap","content":"首先dd出一个swap文件比如 sudo dd if=/dev/zero of=/swapfile bs=1024 count=4096000 这样我们就有了一个4g的swapfile在根目录下 ls -alh /swapfile -rw-r--r-- 1 root root 4.0G Jan 2 03:22 /swapfile 接着我们格式化它 sudo mkswap /swapfile 修改文件的权限和所有者 sudo chown root:root /swapfile sudo chmod 0600 /swapfile 接着启用它 sudo swapon /swapfile 查看下是不是启用成功 free -m 当然如果不设置开机挂载的话,重启之后要重新执行 sudo swapon /swapfile 所以我们要设置开机自动挂载,编辑下面这个文件 sudo vim /etc/fstab 添加上 /swapfile swap swap defaults 0 0 重启验证下就好 ","link":"https://itwangaijava.github.io/post/zeng-jia-swap/"},{"title":"roo分区扩容","content":"U盘是这个路径 sudo fdisk /dev/sda 1、进入分区管理 输入p,看到两个分区,第一个分区不要动,我们改动第二个分区。 注意,记住/dev/mmcblk0p2的start起始块数 sudo fdisk /dev/mmcblk0 2、删除分区 输入d , 再输入2,删除第二分区 接着输入p,确认只剩下一个分区 3、创建分区 输入n,创建一个分区 输入p,建立主分区 输入2,输入起始块数 接着回车,默认能够分配到最大 最后输入y,确认 4、保存并重启 输入w,保存更改 5、修护分区 输入 sudo resize2fs /dev/mmcblk0p2 最后再查看一下 输入df -h 输入sudo reboot,重启 ","link":"https://itwangaijava.github.io/post/roo-fen-qu-kuo-rong/"},{"title":"linux定时任务","content":"#查看任务 crontab -l 编辑crontab 任务: sudo crontab -e 再文件的最后一行添加以下这行内容: 如: 0 1 * * * python example.py 0 1 代表 每天的01:00 每过5分钟执行 */5 * * * * dotnet /home/pi/GetIP/net6.0/GetIP.dll 每小时的第五分钟执行 05 * * * * curl localhost/system/dns/dnns.php?ac=ToDNS 编辑完毕后,需要执行如下命令 sudo /etc/init.d/cron restart ","link":"https://itwangaijava.github.io/post/linux-ding-shi-ren-wu/"},{"title":"Termux使用ssh链接","content":"1.更改密码(或者说设定初始密码) 输入:passwd 2.安装openssh pkg upgrade pkg install openssh 开启ssh并连接 在安卓上开启ssh请执行这一句: sshd 如果要关闭执行这一句: pkill sshd ssh -p 8022 user@IP ","link":"https://itwangaijava.github.io/post/termux-shi-yong-ssh-lian-jie/"}]} \ No newline at end of file diff --git a/api-info/index.html b/api-info/index.html new file mode 100644 index 0000000..c329e34 --- /dev/null +++ b/api-info/index.html @@ -0,0 +1 @@ +{"posts":[{"fileName":"sql-server-mi-yao-ji-jin","abstract":"","description":"SQL Server 2019 Enterprise:HMWJ3-KY3J2-NMVD7-KG4JR-X2G8G Enterprise Core:2C9JR-K3RNG-QD4M4-JQ2HR-8468J Strandard:PMBDC-F...","title":"SQL Server 密钥集锦","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/sql-server-mi-yao-ji-jin/","stats":{"text":"1 min read","time":46000,"words":125,"minutes":1},"isTop":false,"toc":"","date":"2023-11-01 10:33:15","dateFormat":"2023-11-01"},{"fileName":"jie-jue-aspnet-core-xiang-mu-iis-zai-mo-ren-qing-kuang-xia-bu-zhi-chi-put-he-delete-qing-qiu","abstract":"","description":"<modules runAllManagedModulesForAllRequests="true"> <remove name="WebDAVModule"/> &l...","title":"解决ASP.Net Core项目IIS在默认情况下不支持PUT和DELETE请求","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/jie-jue-aspnet-core-xiang-mu-iis-zai-mo-ren-qing-kuang-xia-bu-zhi-chi-put-he-delete-qing-qiu/","stats":{"text":"1 min read","time":6000,"words":17,"minutes":1},"isTop":false,"toc":"","date":"2023-08-29 14:14:38","dateFormat":"2023-08-29"},{"fileName":"esxi-an-zhuang-qu-dong-fu-zhi-su-du-jia-kuai","abstract":"","description":"1、开启维护模式: esxcli system maintenanceMode set --enable true 2、上传 scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib 到虚拟机存储,...","title":"Esxi 安装驱动 复制速度加快","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/esxi-an-zhuang-qu-dong-fu-zhi-su-du-jia-kuai/","stats":{"text":"1 min read","time":49000,"words":166,"minutes":1},"isTop":false,"toc":"","date":"2023-08-29 09:06:07","dateFormat":"2023-08-29"},{"fileName":"js-zhi-xing-hua-kuai-yan-zheng","abstract":"","description":"function slide (id) { var slider = document.getElementById(id), container = slider.parentNode; var rect = slider.getB...","title":"js执行滑块验证(无过程)","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/js-zhi-xing-hua-kuai-yan-zheng/","stats":{"text":"1 min read","time":46000,"words":123,"minutes":1},"isTop":false,"toc":"","date":"2023-08-09 14:30:45","dateFormat":"2023-08-09"},{"fileName":"anaconda3-yu-huan-yuan","abstract":"","description":"在terminal中输入 conda config --set show_channel_urls yes, 这一步之后会在C盘->用户->(你的用户名)这一文件夹下创建一个.condarc文件(在这个文件下我们可以修改cond...","title":"anaconda3与换源","tags":[{"index":-1,"name":"软件安装","slug":"ruan-jian-an-zhuang","used":true,"link":"https://itwangaijava.github.io/tag/ruan-jian-an-zhuang/"}],"feature":"","link":"https://itwangaijava.github.io/post/anaconda3-yu-huan-yuan/","stats":{"text":"2 min read","time":96000,"words":343,"minutes":2},"isTop":false,"toc":"","date":"2023-07-07 16:59:15","dateFormat":"2023-07-07"},{"fileName":"diao-yu-zheng-que-kan-piao-ji-qiao","abstract":"","description":"1、浮漂轻点轻触。多为鲫鱼在试探,连点连触则提竿。 2、浮漂微微上升一点,徐徐下沉一目半目。说明鱼已吃稳,可提竿。 3、尾漂慢慢地从顶部,只送半粒到一粒,浮漂不动(有时被误认为是小鱼或碰线),是提竿时机。 4.浮漂有的时候会慢慢的往下沉。不...","title":"钓鱼正确看漂技巧 ","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/diao-yu-zheng-que-kan-piao-ji-qiao/","stats":{"text":"3 min read","time":126000,"words":613,"minutes":3},"isTop":false,"toc":"","date":"2022-10-08 16:28:57","dateFormat":"2022-10-08"},{"fileName":"diao-yu-ji-qiao-quan-gong-lue","abstract":"","description":"一、传统立漂沉底钓鲫鱼: 这是比较普遍的钓法,我国南北东西都有不少钓友采用此种方法。即用立漂或散漂,铅坠沉底,鱼钩距铅坠的脑线大约25毫米。垂钓时鱼漂调整到直立,露出部分,便于判断鱼讯即可(散漂则没入水中两三粒,浮在水面三四粒)。 此法的优...","title":"钓鱼技巧全攻略","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/diao-yu-ji-qiao-quan-gong-lue/","stats":{"text":"8 min read","time":439000,"words":2181,"minutes":8},"isTop":false,"toc":"","date":"2022-10-08 15:46:49","dateFormat":"2022-10-08"},{"fileName":"redmi-ac2100-lu-you-qi-guan-fang-gu-jian-yun-xu-ipv6-wai-wang-fang-wen-xia-you-she-bei","abstract":"","description":"function getSTOK() { let match = location.href.match(/;stok=(.*?)//); if (!match) { return null; } return match[1]; } fu...","title":"Redmi AC2100 路由器 官方固件允许IPv6外网访问下游设备","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/redmi-ac2100-lu-you-qi-guan-fang-gu-jian-yun-xu-ipv6-wai-wang-fang-wen-xia-you-she-bei/","stats":{"text":"2 min read","time":94000,"words":298,"minutes":2},"isTop":false,"toc":"","date":"2022-03-28 20:25:21","dateFormat":"2022-03-28"},{"fileName":"openwrt-cha-jian","abstract":"","description":"OpenWrt 编译 LuCI ---> Applications 添加插件应用说明 make menuconfig 进入定制界面 进入编译选项配置界面,.按照需要配置.( ‘*’ 代表编入固件,‘M’ 表示编译成模块或者IPK包,...","title":"OpenWrt 插件","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/openwrt-cha-jian/","stats":{"text":"21 min read","time":1247000,"words":4177,"minutes":21},"isTop":false,"toc":"\n","date":"2022-03-28 14:08:47","dateFormat":"2022-03-28"},{"fileName":"redmi-ac2100-gu-jian","abstract":"","description":"更改redmi ac2100固件版本 要想刷固件,需要将路由器的固件版本改为2.0.23。但为了防止意外,强烈建议先下载官方的路由修复器。 下载路由修复器 度盘中的MIWIFIRepairTool.x86.rar压缩包,压缩可用,软件本身有...","title":"redmi ac2100固件","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/redmi-ac2100-gu-jian/","stats":{"text":"4 min read","time":227000,"words":892,"minutes":4},"isTop":false,"toc":"","date":"2022-03-27 15:14:23","dateFormat":"2022-03-27"},{"fileName":"csdn-po-jie-deng-lu-fu-zhi","abstract":"","description":"打开开发者工具(F12) 输入: document.designMode='on' 即可 ","title":"csdn破解登陆复制","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/csdn-po-jie-deng-lu-fu-zhi/","stats":{"text":"1 min read","time":3000,"words":15,"minutes":1},"isTop":false,"toc":"","date":"2022-03-25 15:22:21","dateFormat":"2022-03-25"},{"fileName":"win10-qi-ye-ban-ji-huo","abstract":"","description":" slmgr -ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D slmgr -skms kms.03k.org slmgr -ato slmgr -dlv ...","title":"win10企业版激活","tags":[{"index":-1,"name":"windows","slug":"-abEMiMjQ","used":true,"link":"https://itwangaijava.github.io/tag/-abEMiMjQ/"}],"feature":"","link":"https://itwangaijava.github.io/post/win10-qi-ye-ban-ji-huo/","stats":{"text":"1 min read","time":6000,"words":16,"minutes":1},"isTop":false,"toc":"","date":"2022-03-25 15:18:45","dateFormat":"2022-03-25"},{"fileName":"jie-jue-sheng-ji-win10-hou-zi-dai-app-ying-yong-de-shan-tui-beng-kui-wen-ti","abstract":"","description":"输入“PowerShell”,回车。 解决升级Win10后自带App/应用的闪退、崩溃问题 Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMo...","title":"解决升级Win10后自带App应用的闪退、崩溃问题","tags":[{"index":-1,"name":"windows","slug":"-abEMiMjQ","used":true,"link":"https://itwangaijava.github.io/tag/-abEMiMjQ/"}],"feature":"","link":"https://itwangaijava.github.io/post/jie-jue-sheng-ji-win10-hou-zi-dai-app-ying-yong-de-shan-tui-beng-kui-wen-ti/","stats":{"text":"1 min read","time":10000,"words":36,"minutes":1},"isTop":false,"toc":"","date":"2022-03-25 15:17:53","dateFormat":"2022-03-25"},{"fileName":"jian-dan-de-efhelper","abstract":"","description":"using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressio...","title":"简单的EFHelper","tags":[{"index":-1,"name":"C#","slug":"bftlFwBmA","used":true,"link":"https://itwangaijava.github.io/tag/bftlFwBmA/"}],"feature":"","link":"https://itwangaijava.github.io/post/jian-dan-de-efhelper/","stats":{"text":"6 min read","time":313000,"words":919,"minutes":6},"isTop":false,"toc":"","date":"2022-03-25 15:16:37","dateFormat":"2022-03-25"},{"fileName":"mysql-luan-ma-txt","abstract":"","description":"刚开始的时候普通连接出现乱码,我是这么解决的 <add name="blogdbEntities" connectionString="metadata=res://*/Models.BlogDB.csd...","title":"MYsql乱码.txt","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/mysql-luan-ma-txt/","stats":{"text":"1 min read","time":27000,"words":88,"minutes":1},"isTop":false,"toc":"","date":"2022-03-25 15:14:42","dateFormat":"2022-03-25"},{"fileName":"webapi-quan-ju-fan-hui-jsontxt","abstract":"","description":"配置Global.asax文件 //webapi全局返回json GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear(); ...","title":"webapi全局返回json.txt","tags":[{"index":-1,"name":"C#","slug":"bftlFwBmA","used":true,"link":"https://itwangaijava.github.io/tag/bftlFwBmA/"}],"feature":"","link":"https://itwangaijava.github.io/post/webapi-quan-ju-fan-hui-jsontxt/","stats":{"text":"1 min read","time":4000,"words":17,"minutes":1},"isTop":false,"toc":"","date":"2022-03-25 15:13:37","dateFormat":"2022-03-25"},{"fileName":"ce-shi","abstract":"","description":"alert(/XSS/) 测试基本跨站代码 <Script>alert(/XSS/)</script> 大小写混合测试 <sCrIpT>alert(/XSS/)</sCrIpT> 多重嵌套测试...","title":"XSS测试","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/ce-shi/","stats":{"text":"1 min read","time":16000,"words":55,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 16:05:49","dateFormat":"2022-03-23"},{"fileName":"shu-mei-pai-pei-zhi-wifi","abstract":"","description":"创建wpa_supplicant.conf文件 到boot分区 文件输入以下内容 country=CN ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_confi...","title":"树莓派配置wifi","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/shu-mei-pai-pei-zhi-wifi/","stats":{"text":"1 min read","time":20000,"words":65,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 10:14:23","dateFormat":"2022-03-23"},{"fileName":"apple-id-huan-qu","abstract":"","description":"转换成美国区 Apple ID 可填写如下信息: 邮编:98133 地址:One Microsoft Way Redmond WA 98052-6399 电话:(882)882-8080 转换成台湾地区 Apple ID 可填写如下信息: ...","title":"Apple ID换区","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/apple-id-huan-qu/","stats":{"text":"1 min read","time":49000,"words":199,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 10:13:01","dateFormat":"2022-03-23"},{"fileName":"net-core-iis-restful-webapi-put-delete-405-method-not-allowed","abstract":"","description":"1、在web.config文件中system.webServer节点添加如下配置 <modules runAllManagedModulesForAllRequests="false"> <remove...","title":"net core iis restful webapi put delete 405 Method Not Allowed","tags":[{"index":-1,"name":"C#","slug":"bftlFwBmA","used":true,"link":"https://itwangaijava.github.io/tag/bftlFwBmA/"}],"feature":"","link":"https://itwangaijava.github.io/post/net-core-iis-restful-webapi-put-delete-405-method-not-allowed/","stats":{"text":"1 min read","time":12000,"words":41,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 10:11:31","dateFormat":"2022-03-23"},{"fileName":"git-ru-men","abstract":"","description":"$ git init $ git remote add origin https://gitee.com/用户个性地址/HelloGitee.git 这样就完成了版本的一次初始化。 接下去,进入你已经初始化好的或者克隆仓库的目录,然后执行:...","title":"git入门","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/git-ru-men/","stats":{"text":"1 min read","time":23000,"words":96,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 10:10:13","dateFormat":"2022-03-23"},{"fileName":"dian-xin-guang-mao-mo-ren-chao-ji-zhang-hao","abstract":"","description":"超级账号 telecomadmin 密码 nE7jA%5m ","title":"电信光猫默认超级账号","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/dian-xin-guang-mao-mo-ren-chao-ji-zhang-hao/","stats":{"text":"1 min read","time":2000,"words":9,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 10:09:20","dateFormat":"2022-03-23"},{"fileName":"visual-studio-2022vs2022","abstract":"","description":"Pro: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH ","title":"Visual Studio 2022(VS2022)","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/visual-studio-2022vs2022/","stats":{"text":"1 min read","time":4000,"words":12,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 10:08:48","dateFormat":"2022-03-23"},{"fileName":"windows-chu-xian-zai-ci-xi-tong-shang-jin-zhi-yun-xing-jiao-ben","abstract":"","description":"执行:get-ExecutionPolicy,返回状态:Restricted,表示状态是禁止的, 然后要设置下 执行:set-ExecutionPolicy RemoteSigned 开启 选择Y ","title":"windows 出现在此系统上禁止运行脚本","tags":[{"index":-1,"name":"windows","slug":"-abEMiMjQ","used":true,"link":"https://itwangaijava.github.io/tag/-abEMiMjQ/"}],"feature":"","link":"https://itwangaijava.github.io/post/windows-chu-xian-zai-ci-xi-tong-shang-jin-zhi-yun-xing-jiao-ben/","stats":{"text":"1 min read","time":7000,"words":33,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 10:07:35","dateFormat":"2022-03-23"},{"fileName":"linux-bu-shu-dotnet-huan-jing","abstract":"","description":"首先我们得去官网上下载 .net core sdk 和 runtime 下载地址: https://dotnet.microsoft.com/download/dotnet-core/ $ mkdir -p dotnet $ tar -zx...","title":"linux部署dotnet环境","tags":[{"index":-1,"name":"linux","slug":"4ng9AvzFm","used":true,"link":"https://itwangaijava.github.io/tag/4ng9AvzFm/"}],"feature":"","link":"https://itwangaijava.github.io/post/linux-bu-shu-dotnet-huan-jing/","stats":{"text":"1 min read","time":36000,"words":131,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 09:21:55","dateFormat":"2022-03-23"},{"fileName":"mysql-yuan-cheng-fang-wen-root","abstract":"","description":"命令一: GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; 命令二: FLUSH PRIVILEGES; ...","title":"mysql远程访问 root","tags":[{"index":-1,"name":"数据库","slug":"SPQCRxxpr","used":true,"link":"https://itwangaijava.github.io/tag/SPQCRxxpr/"}],"feature":"","link":"https://itwangaijava.github.io/post/mysql-yuan-cheng-fang-wen-root/","stats":{"text":"1 min read","time":6000,"words":20,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 09:21:05","dateFormat":"2022-03-23"},{"fileName":"shu-mei-pai-huan-qing-hua-yuan","abstract":"","description":"sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo nano /etc/apt/sources.list 将原文件内容替换成如下: [arch=armhf] deb [a...","title":"树莓派换清华源","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/shu-mei-pai-huan-qing-hua-yuan/","stats":{"text":"1 min read","time":45000,"words":133,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 09:20:12","dateFormat":"2022-03-23"},{"fileName":"zeng-jia-swap","abstract":"","description":"首先dd出一个swap文件比如 sudo dd if=/dev/zero of=/swapfile bs=1024 count=4096000 这样我们就有了一个4g的swapfile在根目录下 ls -alh /swapfile -rw-...","title":"增加swap","tags":[{"index":-1,"name":"linux","slug":"4ng9AvzFm","used":true,"link":"https://itwangaijava.github.io/tag/4ng9AvzFm/"}],"feature":"","link":"https://itwangaijava.github.io/post/zeng-jia-swap/","stats":{"text":"1 min read","time":44000,"words":170,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 09:19:29","dateFormat":"2022-03-23"},{"fileName":"roo-fen-qu-kuo-rong","abstract":"","description":"U盘是这个路径 sudo fdisk /dev/sda 1、进入分区管理 输入p,看到两个分区,第一个分区不要动,我们改动第二个分区。 注意,记住/dev/mmcblk0p2的start起始块数 sudo fdisk /dev/mmcblk...","title":"roo分区扩容","tags":[{"index":-1,"name":"linux","slug":"4ng9AvzFm","used":true,"link":"https://itwangaijava.github.io/tag/4ng9AvzFm/"}],"feature":"","link":"https://itwangaijava.github.io/post/roo-fen-qu-kuo-rong/","stats":{"text":"1 min read","time":42000,"words":183,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 09:18:44","dateFormat":"2022-03-23"},{"fileName":"linux-ding-shi-ren-wu","abstract":"","description":"#查看任务 crontab -l 编辑crontab 任务: sudo crontab -e 再文件的最后一行添加以下这行内容: 如: 0 1 * * * python example.py 0 1 代表 每天的01:00 每过5分钟执行 ...","title":"linux定时任务","tags":[{"index":-1,"name":"linux","slug":"4ng9AvzFm","used":true,"link":"https://itwangaijava.github.io/tag/4ng9AvzFm/"}],"feature":"","link":"https://itwangaijava.github.io/post/linux-ding-shi-ren-wu/","stats":{"text":"1 min read","time":26000,"words":99,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 09:17:22","dateFormat":"2022-03-23"},{"fileName":"termux-shi-yong-ssh-lian-jie","abstract":"","description":"1.更改密码(或者说设定初始密码) 输入:passwd 2.安装openssh pkg upgrade pkg install openssh 开启ssh并连接 在安卓上开启ssh请执行这一句: sshd 如果要关闭执行这一句: pkill...","title":"Termux使用ssh链接","tags":[],"feature":"","link":"https://itwangaijava.github.io/post/termux-shi-yong-ssh-lian-jie/","stats":{"text":"1 min read","time":15000,"words":63,"minutes":1},"isTop":false,"toc":"","date":"2022-03-23 09:14:49","dateFormat":"2022-03-23"}],"tags":[{"index":-1,"name":"软件安装","slug":"ruan-jian-an-zhuang","used":true,"link":"https://itwangaijava.github.io/tag/ruan-jian-an-zhuang/","count":1},{"index":-1,"name":"windows","slug":"-abEMiMjQ","used":true,"link":"https://itwangaijava.github.io/tag/-abEMiMjQ/","count":3},{"index":-1,"name":"C#","slug":"bftlFwBmA","used":true,"link":"https://itwangaijava.github.io/tag/bftlFwBmA/","count":3},{"index":-1,"name":"linux","slug":"4ng9AvzFm","used":true,"link":"https://itwangaijava.github.io/tag/4ng9AvzFm/","count":4},{"index":-1,"name":"数据库","slug":"SPQCRxxpr","used":true,"link":"https://itwangaijava.github.io/tag/SPQCRxxpr/","count":1}],"menus":[{"link":"/","name":"首页","openType":"Internal"},{"link":"/archives","name":"归档","openType":"Internal"},{"link":"/tags","name":"标签","openType":"Internal"},{"link":"/about","name":"关于","openType":"Internal"}],"themeConfig":{"themeName":"gridea-theme-pure","postPageSize":10,"archivesPageSize":50,"siteName":"itwangaijava","siteDescription":"温故而知新,记录美好生活","footerInfo":"
\n @2021-2022\n
","showFeatureImage":false,"domain":"https://itwangaijava.github.io","postUrlFormat":"SLUG","tagUrlFormat":"SLUG","dateFormat":"YYYY-MM-DD","feedFullText":true,"feedCount":10,"archivesPath":"archives","postPath":"post","tagPath":"tag"},"customConfig":{"APP_ID":"","APP_KEY":"","about":"

记录点点滴滴

\n","avatar":"","caf":"#84fab0","ccf":"#5f6169","ccs":"#999fa7","ctf":"#ffffff","cts":"#dddddd","customCss":"","descfriend":"","dribbble":"","facebook":"","friends":[],"ga":"","github":"","isEnabledCustomColor":false,"pageSize":"5","placeholder":"Just Go Go","recordIp":false,"skin":"gray","twitter":"","vMaxWidth":"1000","vPadding":"2.5%","vPercentWidth":"100","valine":false,"visitor":false,"weibo":"","zhihu":""},"utils":{"now":1698806005922}} diff --git a/archives/index.html b/archives/index.html new file mode 100644 index 0000000..8e1cc21 --- /dev/null +++ b/archives/index.html @@ -0,0 +1,562 @@ + + + + + + +归档 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+
+

归档

+ + +
+ +

2023

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

2022

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+
+
+ + + + +
+
+ + diff --git a/atom.xml b/atom.xml new file mode 100644 index 0000000..f647ee3 --- /dev/null +++ b/atom.xml @@ -0,0 +1,637 @@ + + + https://itwangaijava.github.io + itwangaijava + 2023-11-01T02:33:31.438Z + https://github.com/jpmonette/feed + + + 温故而知新,记录美好生活 + https://itwangaijava.github.io/images/avatar.png + https://itwangaijava.github.io/favicon.ico + All rights reserved 2023, itwangaijava + + <![CDATA[SQL Server 密钥集锦]]> + https://itwangaijava.github.io/post/sql-server-mi-yao-ji-jin/ + + + 2023-11-01T02:33:15.000Z + SQL Server 2019
+Enterprise:HMWJ3-KY3J2-NMVD7-KG4JR-X2G8G
+Enterprise Core:2C9JR-K3RNG-QD4M4-JQ2HR-8468J
+Strandard:PMBDC-FXVM3-T777P-N4FY8-PKFF4
+Web:33QQK-WWQNB-G6T46-C86YB-TX2PH

+

SQL Server 2017
+Enterprise:TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
+Enterprise Core:6GPYM-VHN83-PHDM2-Q9T2R-KBV83
+Strandard:PHDV4-3VJWD-N7JVP-FGPKY-XBV89
+Web:WV79P-7K6YG-T7QFN-M3WHF-37BXC

+

SQL Server 2016
+Enterprise:MDCJV-3YX8N-WG89M-KV443-G8249
+Enterprise Core:TBR8B-BXC4Y-298NV-PYTBY-G3BCP
+Standard:B9GQY-GBG4J-282NY-QRG4X-KQBCR
+Web:BXJTY-X3GNH-WHTHG-8V3XK-T8243

+

SQL Server 2014
+Business Intelligence:GJPF4-7PTW4-BB9JH-BVP6M-WFTMJ
+Developer:82YJF-9RP6B-YQV9M-VXQFR-YJBGX
+Enterprise:27HMJ-GH7P9-X2TTB-WPHQC-RG79R
+Enterprise Core:TJYBJ-8YGH6-QK2JJ-M9DFB-D7M9D
+Strandard:P7FRV-Y6X6Y-Y8C6Q-TB4QR-DMTTK
+Web:J9MBB-R8PMP-R8WTW-8JJRD-C6GGW

+]]>
+
+ + <![CDATA[解决ASP.Net Core项目IIS在默认情况下不支持PUT和DELETE请求]]> + https://itwangaijava.github.io/post/jie-jue-aspnet-core-xiang-mu-iis-zai-mo-ren-qing-kuang-xia-bu-zhi-chi-put-he-delete-qing-qiu/ + + + 2023-08-29T06:14:38.000Z + <modules runAllManagedModulesForAllRequests="true"> + + <remove name="WebDAVModule"/> + +</modules> + +]]> + + + <![CDATA[Esxi 安装驱动 复制速度加快]]> + https://itwangaijava.github.io/post/esxi-an-zhuang-qu-dong-fu-zhi-su-du-jia-kuai/ + + + 2023-08-29T01:06:07.000Z + 1、开启维护模式:

+

esxcli system maintenanceMode set --enable true

+

2、上传 scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib 到虚拟机存储,我这里是上传到 /vmfs/volumes/datastore1 里

+

3、把 scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib 拷贝到 /var/log/vmware/

+

cp /vmfs/volumes/datastore1/scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib /var/log/vmware/

+

4、卸载原来的驱动

+

esxcli software vib remove -n scsi-hpvsa -f

+

5、安装新上传的驱动

+

esxcli software vib install -v file:scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib --force --no-sig-check --maintenance-mode

+

如果提示出错,那就把--force等这些开关去掉,试一下

+

6、完事重启,记得关闭维护模式

+]]>
+
+ + <![CDATA[js执行滑块验证(无过程)]]> + https://itwangaijava.github.io/post/js-zhi-xing-hua-kuai-yan-zheng/ + + + 2023-08-09T06:30:45.000Z + function slide (id) {
+var slider = document.getElementById(id),
+container = slider.parentNode;

+
var rect = slider.getBoundingClientRect(),
+    x0          = rect.x || rect.left,
+    y0          = rect.y || rect.top,
+    w           = container.getBoundingClientRect().width,
+    x1          = x0 + w,
+    y1          = y0;
+
+var mousedown = document.createEvent("MouseEvents");
+mousedown.initMouseEvent("mousedown", true, true, window, 0,
+    x0, y0, x0, y0, false, false, false, false, 0, null);
+slider.dispatchEvent(mousedown);
+
+var mousemove = document.createEvent("MouseEvents");
+mousemove.initMouseEvent("mousemove", true, true, window, 0,
+    x1, y1, x1, y1, false, false, false, false, 0, null);
+slider.dispatchEvent(mousemove);
+
+/*var mouseup = document.createEvent("MouseEvents");
+mouseup.initMouseEvent("mouseup", true, true, window, 0,
+    x1, y1, x1, y1, false, false, false, false, 0, null);
+slider.dispatchEvent(mouseup);*/
+
+

}
+slide('nc_1_n1z');

+]]>
+
+ + <![CDATA[anaconda3与换源]]> + https://itwangaijava.github.io/post/anaconda3-yu-huan-yuan/ + + + 2023-07-07T08:59:15.000Z + 在terminal中输入

+

conda config --set show_channel_urls yes,

+

这一步之后会在C盘->用户->(你的用户名)这一文件夹下创建一个.condarc文件(在这个文件下我们可以修改conda源。),此处niuni是我的账户名。找到.condarc文件,使用记事本打开

+

打开后粘贴下列内容到文件内,修改为清华源,修改后保存文件修改。

+

channels:

+
    +
  • defaults
    +show_channel_urls: true
    +default_channels:
  • +
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  • +
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  • +
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
    +custom_channels:
    +conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  • +
+

此处的意外之坑:

+

按照这个方法一般没有问题,但是在我最近一次的换源后在terminal下使用pip发现速度极慢,在探索了之后发现还需要换掉pip源才可以。更换方法为:

+

打开Terminal,然后键入如下命令:

+

python -m pip install --upgrade pip
+pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
+如果更换的时候速度过慢,建议使用如下指令:

+

python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
+pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
+、

+]]>
+
+ + <![CDATA[钓鱼正确看漂技巧 ]]> + https://itwangaijava.github.io/post/diao-yu-zheng-que-kan-piao-ji-qiao/ + + + 2022-10-08T08:28:57.000Z + 1、浮漂轻点轻触。多为鲫鱼在试探,连点连触则提竿。
+2、浮漂微微上升一点,徐徐下沉一目半目。说明鱼已吃稳,可提竿。
+3、尾漂慢慢地从顶部,只送半粒到一粒,浮漂不动(有时被误认为是小鱼或碰线),是提竿时机。
+4.浮漂有的时候会慢慢的往下沉。不可忽视它的动静,浮漂的动作愈慢,鲫鱼、鲤鱼、草鱼上钩的痕迹越明显。
+5.星漂微微颤动后,略沉半粒至一粒,漂动即停止。这时提竿时机是浮漂刚刚下沉,其过程很短,垂钓者若不是精力高度集中,稍有迟缓,即可痛失良机。
+6.浮漂一点一点,连续点动,动作很小。也是鲫鱼已吃稳的迹象,即可提竿。
+7.浮漂点动后,接着慢慢上送。动作愈慢鲫鱼愈大,动作速度快多半是小鲫鱼。
+8.浮漂轻轻斜向移位,或平移,或微沉,都要及时提竿。
+9.浮漂有力猛点时。只点一下动作大,不下沉也不上送,鱼饵已吃到嘴里,鱼儿较大应及时提竿。
+10.浮漂横向移动,还有点向下的动作,即提竿。
+11.浮漂横移。不送漂也不黑漂,只作平行横向移动,此时鱼已咬钩,可提竿。
+12.未见浮漂下沉,但送漂时往往是大鱼。说明鱼已吞饵,提必获鱼。
+13.浮漂微微颤动时,连续不停,鱼已咬钩。
+14.浮漂突然快速下沉,或快速上送,多半是小鲫鱼咬钩。
+15.浮漂横卧水面不沉不动。这往往是大鲫鱼半路咬钩,及时提竿起鱼。
+16.浮漂在水面微微连续点颤、轻送或轻沉,是鱼咬钩,应及时提竿。
+17.找窝试点时,空钩下送,浮漂不下沉或突然下沉。这往往是鱼咬空钩,不可忽视,及时提竿可得鱼。
+18.送漂后浮漂迅速恢复原状,漂相为一粒送平后又恢复原状。出现这种现象多为虾蟹脚爪拨动所致,起竿多为空钩。
+19.黑漂后迅速恢复原状,漂相为一粒粒斜向入水,然后恢复原状。多为小杂鱼咬钩捣乱。
+20.浮漂在水下忽闪一下。这鱼儿碰线所致,不用提竿。

+]]>
+
+ + <![CDATA[钓鱼技巧全攻略]]> + https://itwangaijava.github.io/post/diao-yu-ji-qiao-quan-gong-lue/ + + + 2022-10-08T07:46:49.000Z + 一、传统立漂沉底钓鲫鱼: 这是比较普遍的钓法,我国南北东西都有不少钓友采用此种方法。即用立漂或散漂,铅坠沉底,鱼钩距铅坠的脑线大约25毫米。垂钓时鱼漂调整到直立,露出部分,便于判断鱼讯即可(散漂则没入水中两三粒,浮在水面三四粒)。 此法的优点是调整方便,钩坠漂配比要求不严格,便于掌握。但不很灵敏,有经验的鱼常常触动一下鱼饵,发觉较重,即警觉逃走。同时,此法鱼饵沉底不动,如不勤动一下鱼竿,常不为鲫鱼发现。

+

二、台钓鲫鱼: 目前较为盛行。其最大优点是灵敏度强,上鱼率高。鱼钩下沉慢,易为鱼发现。坠悬于水中,钩轻轻触底,鱼在其旁游弋,鱼钩即轻轻摇动,对鱼吸引力极大。为摘钩方便,使用无倒刺钩,摘钩迅速。漂坠饵配比要求严格,鱼汛反映极为灵敏。 缺点是漂坠调整较费事;各种鱼类混养水域,使用钓鲫鱼的钩线,遇到大鱼容易跑鱼损失工具;初学时不易掌握,常有人半途而废。但只要树立信心,勤于实践,掌握也不是很难,而一旦掌握,即会发现其优点大大过于一般传统钓法。

+

三、戳拱钓鲫鱼: 是一种传统钓法。常用在天气炎热的夏季,有浮萍或水草丛生的水域中。一般采用长竿、硬调、短线、无坠。热季水中缺氧,鱼常在水面浮萍下吸空气、拱食、乘凉。从而咬草出声或拱得浮萍形成一个小包。因而应采用听、看办法,寻觅鱼踪。 听主要是听鱼觅食发出的嚓嚓声响;看是看水草晃动和浮萍的鼓包,判断鱼情。发觉有鱼直指该处将钩垂入。一般轻轻将钩放到拱处,看到水面线向水中拽入,或线牵动竿梢即知有鱼咬饵,适时抖竿提起鱼来。 戳拱一般选安静处,动作要轻,鱼出水时尽量避免惊扰其它鱼儿,若有惊扰,鱼不再拱,可用嘴模仿鱼咬草的嚓嚓声,起到催鱼起拱的作用。

+

四、戳孔钓鲫鱼: 一般用于有荷叶、水草多、苇茬多的水域。观察荷叶边、水草孔、苇茬间的鱼泡、荷叶、苇子晃动的情况,判断鱼情。工具一般采用硬调长竿、较竿短的鱼线,小坠,先观察鱼情。 发现后针对有鱼动静的地方,垂竿下钩,使钩沉底,同时不断微微提动鱼竿,引鱼鱼池饵,凭手感觉察鱼儿咬钩,适时提竿。戳孔一般采取走钓,主动找鱼下钩。

+

五、浮钓鲫鱼: 鲫鱼属底层鱼,一般钓底,但遇炎热、气压低的气候,鱼浮到水面游动吸氧觅食,则可采取浮钓法,即将铅坠减轻,使鱼钩悬浮于水面下约0.3--0.5米处,动作要轻,不惊散鱼群。有人针对鲫鱼甩子期的特点也常采用浮钓法。浮钓不需打窝。

+

六、半浮钓鲫鱼: 一般用于体情况而定。底层杂草或淤泥较厚,钩沉底不易为鱼发觉的环境。办法是将坠减轻,调整浮漂至钩触底后露出数格,然后将漂下调5-10厘米(视水底草或淤泥的厚度而定),保持漂仍露出的格数(如坠重适当减轻)。这样使钩略高于水底,便于鱼的发现。

+

七、甩大边钓鲫鱼: 在河道、沟渠中常岸边有芦苇等,鱼喜欢栖居觅食,如果河道不很宽,你的钓位比较嘈杂,可以用长竿、长线,或海竿串钩甩至对岸芦苇、水草边,可以甩出四、五支竿,插好等待,手竿可用漂,海竿则将风线拉直,看竿梢湾动,往往效果很好。

+

八、走钓鲫鱼: 到一水塘,先行观察,选鲫鱼喜栖居的位置撒窝,可保持至少2米一上距离,撒若干窝子。然后采用5-6米左右质轻的鱼竿,采用7--10 粒的散漂,(便于适应水的不同深度,不必老调漂),钓线宜细,鱼钩最好是朝天钩,饵料一般采用红蚯蚓,保持活性最好。 走钓的特点是走,应手持钓竿,沿打过窝的水边观察鱼星的情况,有鱼星即应下钩,无鱼星可继续观察其它钓窝。打窝应每次少打,过些时间再打一遍,即少打勤打。这种钓法变等为找,因此由被动变主动,且对锻炼身体更有好处。

+

九、流水钓鲫鱼: 一般适用于流动水域,竿宜长,线不必太长,坠须重,漂可用数粒散漂,粒漂则宜长,饵以蚯蚓、小虾为好。钩甩入水中,如水流动,可使钩漂顺水同流,到下游后提起再甩至上游,见漂停住,立即提竿。以免底部挂住,若有托漂或下沉,即应提竿上鱼。

+

十、盒饭钓鲫鱼: 类似爆炸钩,但将食放在一个预制的塑料盒中,可以节省饵料,且对饵料的粘、散要求较底。方法是用一个直径为25-50毫米的塑料瓶底或盖,制成高约15-20的小盒。用螺丝自盒里底部中心穿出,固定一个铅坨。盒的四周均匀打七个直径2毫米的小孔。 一个孔穿入钓线,拴上连接环。用三棵软脑线,每棵对折,然后拧在一起套入一个短气门心内。对折的线圈挂在连接环上。三棵对折脑线的六个头,分别从六个小孔中穿出,每端系上一个鱼钩。用时,将盒中放上糟食,将钩从盒外折回到盒内,埋入糟食内,甩出到钓点进行垂钓。

+

十一、活水钓鲫鱼: 鱼类对氧气的需求量不亚于人类,有氧则活,无氧则死,氧气充足的水中,鱼儿最多,最活跃。垂钓水域的进、出水口,含氧量高,被称为活水,在此垂钓必有收获。 下雨时,雨水能将氧气带人水中,所以雨过天晴同样是垂钓的好时机。大风大,水随风而动,不但企氧气溶入,还有岸边的草籽、花粉、树叶等天然鱼食刮人,风停后在下风口垂钓也很好。

+

十二、适温钓鲫鱼: 一年四季,水温变化很大。鱼儿既怕冷又怕热,气温在 15-25T之间摄食最旺盛,过冷就会像人一样猫冬,过热就会歇伏,鲫鱼虽是广温性鱼,但大体规律也是如此。 春秋季节,气温、水温适合全天垂钓;炎热的夏季最好钓早钓晚;寒冷的冬季要选择晴朗的中午垂钓。

+

十三、择地钓鲫鱼: 鲫鱼胆小,喜安静。钓鲫鱼,要选择有草丛、竹木桩、砖砾、岩石、桥墩的地方下钩,这些僻静水域必然鱼多。牛滚幽、淘洗码头、水草茂密处,鱼儿有食可吃,也是钓鲫的好地方。

+

十四、寻洁钓鲫鱼: 鲫鱼喜欢在清洁、多氧气的水中栖息;如果水又脏又浊,鱼会感到憋闷,不想吃东西,常浮在水面嚼水,甚至窒息死亡。垂钓的水域应以浅色为上;淡绿色、淡青色次之;酱色、深褐色的污染水,腐殖质含量高,氧气不足,不宜垂钓。

+

十五、牵引钓钓鲫鱼: 诱饵投放以后,窝里不久就有鱼星上冒,可鱼就是不咬钩,这种情况可能是窝里有鲤鱼、草鱼之类的大鱼,鲫鱼不敢进窝吃食。 此时就应采用牵引法(也称逗钓),即在钓点上下前后左右轻轻地、缓慢地拉动渔线,诱鱼上钩,特别是鲫鱼少吃少动的冬天和初春,用红虫和蚯蚓效果特别好。

+

十六、换饵钓鲫鱼: 鲫鱼属条食性鱼种,荤素皆吃一草食以蚯蚓、红虫、小虾、蛆为主;素食以面粉、蚕豆粉、大米饭、红完了玉米粑为主一面钓时应革素饵变换使用鱼同人一样,有吃新的习惯,如果总吃一种食物也会腻口。

+]]>
+
+ + <![CDATA[Redmi AC2100 路由器 官方固件允许IPv6外网访问下游设备]]> + https://itwangaijava.github.io/post/redmi-ac2100-lu-you-qi-guan-fang-gu-jian-yun-xu-ipv6-wai-wang-fang-wen-xia-you-she-bei/ + + + 2022-03-28T12:25:21.000Z + function getSTOK() {
+let match = location.href.match(/;stok=(.*?)//);
+if (!match) {
+return null;
+}
+return match[1];
+}

+

function execute(stok, command) {
+command = encodeURIComponent(command);
+let path = /cgi-bin/luci/;stok=${stok}/api/misystem/set_config_iotdev?bssid=SteelyWing&user_id=SteelyWing&ssid=-h%0A${command}%0A;
+console.log(path);
+return fetch(new Request(location.origin + path));
+}

+

function enableSSH() {
+stok = getSTOK();
+if (!stok) {
+console.error('stok not found in URL');
+return;
+}
+console.log(stok = "${stok}");

+
password = prompt('Input new SSH password');
+if (!password) {
+    console.error('You must input password');
+    return;
+}
+
+execute(stok, 
+
+

nvram set ssh_en=1 nvram commit sed -i 's/channel=.*/channel=\\"debug\\"/g' /etc/init.d/dropbear /etc/init.d/dropbear start
+)
+.then((response) => response.text())
+.then((text) => console.log(text));
+console.log('New SSH password: ' + password);
+execute(stok, echo -e "${password}\\n${password}" | passwd root)
+.then((response) => response.text())
+.then((text) => console.log(text));
+}

+

enableSSH();

+

使用Putty 或 Xshell 终端连接路由器,MIWIFI默认网关地址为 192.168.31.1,用户名为 root,密码为上一步设定的密码。

+

使用 Vim 修改防火墙配置文件:

+

vim /etc/config/firewall

+

将文件中defaults 闭包下 disable_ipv6 的值改为 0,zone 闭包下 forward 的值改为 ACCEPT

+

在原有的Rule 中添加一个闭包,允许IPv6外网访问路由器下游设备

+

config rule
+option name 'Allow-IPv6'
+option target 'ACCEPT'
+option family 'ipv6'
+list proto 'all'
+option src ''
+option dest '
'

+

终端执行命令,重启路由器防火墙:

+

/etc/init.d/firewall restart

+]]>
+
+ + <![CDATA[OpenWrt 插件]]> + https://itwangaijava.github.io/post/openwrt-cha-jian/ + + + 2022-03-28T06:08:47.000Z + OpenWrt 编译 LuCI ---> Applications 添加插件应用说明

+

make menuconfig 进入定制界面
+进入编译选项配置界面,.按照需要配置.( ‘*’ 代表编入固件,‘M’ 表示编译成模块或者IPK包, ‘空’不编译 )

+

非常感谢大佬”L有大雕“更正补充,20181121
+大佬源码仓库:https://github.com/coolsnowwolf/lede
+https://op.supes.top/packages/

+

选择LuCI 配置 添加插件应用:常用

+

LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制
+LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus +
+LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定
+LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启
+LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端)
+LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包)
+LuCI ---> Applications ---> luci-app-firewall #添加防火墙
+LuCI ---> Applications ---> luci-app-frpc #内网穿透 Frp
+LuCI ---> Applications ---> luci-app-ipsec-vpnd #VPN服务器 IPSec
+LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器
+LuCI ---> Applications ---> luci-app-ramfree #释放内存
+LuCI ---> Applications ---> luci-app-samba #网络共享(Samba)

+

LuCI ---> Applications ---> luci-app-ssr-plus #SSR科学上网Plus+
+luci-app-ssr-plus ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级)
+luci-app-ssr-plus ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级)
+luci-app-ssr-plus ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级)
+luci-app-ssr-plus ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级)
+luci-app-ssr-plus ---> Include Include Shadowsocks Simple Obfs Plugin #SS Simple-Obfs混淆代理(Nginx)
+luci-app-ssr-plus ---> Include Xray #Xray代理(XTLS)

+

LuCI ---> Applications ---> luci-app-turboacc #Turbo ACC 网络加速(支持 Fast Path 或者 硬件 NAT)
+LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本
+LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发)
+LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置
+LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器
+LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划
+LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线
+LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒
+LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟
+LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透

+

以下是全部: 注:应用后面标记 “ * ” 为最近新添加;标记“ ! ”与其他插件依赖或冲突。

+

LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制
+LuCI ---> Applications ---> luci-app-acme #ACME自动化证书管理环境(丢弃)
+LuCI ---> Applications ---> luci-app-adblock #ADB广告过滤
+LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus +
+LuCI ---> Applications ---> luci-app-adbyby #广告过滤大师(丢弃)
+LuCI ---> Applications ---> luci-app-adguardhome #AdGuard home广告过滤(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-adkill #广告过滤(丢弃)
+LuCI ---> Applications ---> luci-app-advanced-reboot #Linksys高级重启
+LuCI ---> Applications ---> luci-app-advancedsetting #系统高级设置(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-ahcp #Ad-Hoc配置协议(AHCP) ipv6 and 双栈 自动配置协议 !
+LuCI ---> Applications ---> luci-app-airplay2 #Apple AirPlay2 无损音频接收服务器
+LuCI ---> Applications ---> luci-app-aliddns #阿里DDNS客户端(丢弃,集成至ddns)
+LuCI ---> Applications ---> luci-app-aliyundrive-webdav #阿里云盘 WebDAV 服务
+LuCI ---> Applications ---> luci-app-amule #aMule下载工具 !
+LuCI ---> Applications ---> luci-app-argon-config #Argon主题配置插件(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-aria2 # Aria2下载工具
+LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定
+LuCI ---> Applications ---> luci-app-asterisk #支持Asterisk电话服务器
+LuCI ---> Applications ---> luci-app-attendedsysupgrade #固件更新升级相关
+LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启
+LuCI ---> Applications ---> luci-app-baidupcs-web #百度网盘管理
+LuCI ---> Applications ---> luci-app-bcp38 #BCP38网络入口过滤(不确定)
+LuCI ---> Applications ---> luci-app-bird1-ipv4 #对Bird1-ipv4的支持
+LuCI ---> Applications ---> luci-app-bird1-ipv6 #对Bird1-ipv6的支持
+LuCI ---> Applications ---> luci-app-bird4 #Bird 4(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-bird6 #Bird 6(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-bmx6 #BMX6路由协议
+LuCI ---> Applications ---> luci-app-bmx7 #BMX7路由协议(丢弃)
+LuCI ---> Applications ---> luci-app-caldav #联系人(丢弃)
+LuCI ---> Applications ---> luci-app-cifs-mount #CIFS/SMB挂载设置
+LuCI ---> Applications ---> luci-app-cifsd #CIFS/SMB网络共享
+LuCI ---> Applications ---> luci-app-cjdns #加密IPV6网络相关
+LuCI ---> Applications ---> luci-app-clamav #ClamAV杀毒软件
+LuCI ---> Applications ---> luci-app-clash #Clash客户端(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-commands #Shell命令模块
+LuCI ---> Applications ---> luci-app-cshark #CloudShark捕获工具
+LuCI ---> Applications ---> luci-app-dawn #分布式AP管理程序
+LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端)
+LuCI ---> Applications ---> luci-app-diag-core #core诊断工具
+LuCI ---> Applications ---> luci-app-diskman #磁盘管理工具
+luci-app-diskman ---> Include btrfs-progs #新型的写时复制 (COW)
+luci-app-diskman ---> Include lsblk #lsblk命令 用于列出所有可用块设备的信息
+luci-app-diskman ---> Include mdadm #mdadm命令 用于创建、管理、监控RAID设备的工具
+luci-app-diskman ---> Include kmod-md-raid456 #RAID 4,5,6 驱动程序模块(丢弃)
+luci-app-diskman ---> Include kmod-md-linear #RAID 驱动程序模块(丢弃)
+LuCI ---> Applications ---> luci-app-dnscrypt-proxy #DNSCrypt解决DNS污染
+LuCI ---> Applications ---> luci-app-dnsfilter #DNSFilter基于DNS的广告过滤
+LuCI ---> Applications ---> luci-app-dnsforwarder #DNSForwarder防DNS污染
+LuCI ---> Applications ---> luci-app-dnspod #DNSPod动态域名解析(丢弃)
+LuCI ---> Applications ---> luci-app-docker #Docker容器(dockerman更名为docker)
+LuCI ---> Applications ---> luci-app-dump1090 #民航无线频率(不确定)
+LuCI ---> Applications ---> luci-app-dynapoint #DynaPoint(未知)
+LuCI ---> Applications ---> luci-app-e2guardian #Web内容过滤器
+LuCI ---> Applications ---> luci-app-easymesh #简单MESH(可有线+无线回程)
+LuCI ---> Applications ---> luci-app-eqos #基于IP地址限速(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-familycloud #家庭云盘
+LuCI ---> Applications ---> luci-app-fileassistant #文件管理助手(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包)
+LuCI ---> Applications ---> luci-app-firewall #添加防火墙
+LuCI ---> Applications ---> luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS(丢弃,移至TurboACC)
+LuCI ---> Applications ---> luci-app-freifunk-diagnostics #freifunk组件 诊断(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-freifunk-policyrouting #freifunk组件 策略路由(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-freifunk-widgets #freifunk组件 索引(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-frpc #内网穿透Frp客户端
+LuCI ---> Applications ---> luci-app-frps #内网穿透Frp服务端
+LuCI ---> Applications ---> luci-app-fwknopd #Firewall Knock Operator服务器
+LuCI ---> Applications ---> luci-app-guest-wifi #WiFi访客网络
+LuCI ---> Applications ---> luci-app-gfwlist #GFW域名列表(丢弃)
+LuCI ---> Applications ---> luci-app-go-aliyundrive-webdav #阿里云盘webdav协议(文件管理/同步等) *
+LuCI ---> Applications ---> luci-app-gost #隐蔽的https代理(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-haproxy-tcp #HAProxy负载均衡-TCP
+LuCI ---> Applications ---> luci-app-hd-idle #硬盘休眠
+LuCI ---> Applications ---> luci-app-hnet #Homenet Status家庭网络控制协议
+LuCI ---> Applications ---> luci-app-https-dns-proxy #通过HTTPS代理为DNS提供Web UI
+LuCI ---> Applications ---> luci-app-ipsec-vpnd #VPN服务器 IPSec
+LuCI ---> Applications ---> luci-app-jd-dailybonus #京东签到服务
+LuCI ---> Applications ---> luci-app-kodexplorer #KOD可道云私人网盘(与vnStat冲突 ! )
+LuCI ---> Applications ---> luci-app-kooldns #VPN服务器 ddns替代方案(丢弃)
+LuCI ---> Applications ---> luci-app-koolproxy #KP去广告(丢弃)
+LuCI ---> Applications ---> luci-app-lxc #LXC容器管理
+LuCI ---> Applications ---> luci-app-meshwizard #网络设置向导(丢弃)
+LuCI ---> Applications ---> luci-app-minidlna #完全兼容DLNA / UPnP-AV客户端的服务器软件
+LuCI ---> Applications ---> luci-app-mjpg-streamer #兼容Linux-UVC的摄像头程序
+LuCI ---> Applications ---> luci-app-mtwifi #MTWiFi驱动的支持 (丢弃)
+LuCI ---> Applications ---> luci-app-mmc-over-gpio #添加SD卡操作界面(丢弃)
+LuCI ---> Applications ---> luci-app-multiwan #多拨虚拟网卡(丢弃,移至syncdial)
+LuCI ---> Applications ---> luci-app-mwan #MWAN负载均衡(丢弃)
+LuCI ---> Applications ---> luci-app-music-remote-center #PCHiFi 数字转盘遥控
+LuCI ---> Applications ---> luci-app-mwan3 #MWAN3负载均衡
+LuCI ---> Applications ---> luci-app-mwan3helper #MWAN3分流助手
+LuCI ---> Applications ---> luci-app-n2n_v2 #N2N内网穿透 N2N v2 VPN服务
+LuCI ---> Applications ---> luci-app-netdata #Netdata实时监控(图形化)
+LuCI ---> Applications ---> luci-app-nfs #NFS网络共享
+LuCI ---> Applications ---> luci-app-nft-qos #QOS流控 Nftables版
+LuCI ---> Applications ---> luci-app-ngrokc #Ngrok 内网穿透(丢弃)
+LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器
+LuCI ---> Applications ---> luci-app-noddos #NodDOS Clients 阻止DDoS攻击
+LuCI ---> Applications ---> luci-app-nps #内网穿透nps
+LuCI ---> Applications ---> luci-app-ntpc #NTP时间同步服务器
+LuCI ---> Applications ---> luci-app-ocserv #OpenConnect VPN服务
+LuCI ---> Applications ---> luci-app-olsr #OLSR配置和状态模块
+LuCI ---> Applications ---> luci-app-olsr-services #OLSR服务器
+LuCI ---> Applications ---> luci-app-olsr-viz #OLSR可视化
+LuCI ---> Applications ---> luci-app-ocserv #OpenConnect VPN服务(丢弃)
+LuCI ---> Applications ---> luci-app-openclash #运行在OpenWrt上的Clash代理客户端(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-openvpn #OpenVPN客户端
+LuCI ---> Applications ---> luci-app-openvpn-server #易于使用的OpenVPN服务器 Web-UI
+LuCI ---> Applications ---> luci-app-oscam #OSCAM服务器(丢弃)
+LuCI ---> Applications ---> luci-app-p910nd #打印服务器模块
+LuCI ---> Applications ---> luci-app-pagekitec #Pagekitec内网穿透客户端
+LuCI ---> Applications ---> luci-app-passwall #科学上网(Li大佬插件)
+Configuration ---> Include Brook #Brook代理(跨平台强加密且不可检测代理)
+Configuration ---> Include ChinaDNS-NG #防污染DNS服务
+Configuration ---> Include Haproxy #HAProxy #HAProxy负载均衡
+Configuration ---> Include Hysteria #Hysteria双边加速工具
+Configuration ---> Include Kcptun #Kcptun双边加速工具
+Configuration ---> Include NaiveProxy #NaiveProxy代理(Chrome网络堆栈伪装流量)
+Configuration ---> Include PDNSD #DNS服务器
+Configuration ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级)
+Configuration ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级)
+Configuration ---> Include Shadowsocks Rust Client #SS Rust客户端(负载均衡/探测延迟)
+Configuration ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级)
+Configuration ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级)
+Configuration ---> Include Simple-Obfs (Shadowsocks plugin) #simple-Obfs简单混淆工具(Nginx)
+Configuration ---> Include Trojan_GO #Trojan_GO代理(直接模仿协议HTTPS)
+Configuration ---> Include Trojan_Plus #Trojan_Plus代理(直接模仿协议HTTPS)
+Configuration ---> Include V2ray #V2Ray代理
+Configuration ---> Include v2ray-plugin (Shadowsocks plugin) #SS V2ray插件(WebSocket+TLS )
+Configuration ---> Include Xray #Xray代理(XTLS)
+Configuration ---> Include Xray-Plugin (Shadowsocks Plugin) #SS Xray插件(WebSocket+TLS ) *
+Configuration ---> Include Dns2socks #DNS服务器(丢弃)
+Configuration ---> Include Redsocks2 #Redsocks2代理(透明TCP定向Socks/HTTPS代理服务器)(丢弃)
+Configuration ---> Include Shadowsocks #SS代理(丢弃)
+Configuration ---> Include Shadowsocks Server #SS服务器(丢弃)
+Configuration ---> Include Shadowsocks Rust (AEAD ciphers only) #SS-RUST代理(AEAD加密)(丢弃)
+Configuration ---> Include ShadowsocksR #SSR代理(丢弃)
+Configuration ---> Include ShadowsocksR Server #SSR服务器(丢弃)
+Configuration ---> Include Https DNS Proxy(DoH) #HttpsDNS服务(丢弃)
+LuCI ---> Applications ---> luci-app-polipo #Polipo代理(是一个小型且快速的网页缓存代理)
+LuCI ---> Applications ---> luci-app-pppoe-relay #PPPoE NAT穿透 点对点协议(PPP)
+LuCI ---> Applications ---> luci-app-pptp-server #VPN服务器 PPTP
+LuCI ---> Applications ---> luci-app-privoxy #Privoxy网络代理(带过滤无缓存)
+LuCI ---> Applications ---> luci-app-ps3netsrv #PS3 NET服务器(用于加载蓝光/游戏ISO/PKG)
+LuCI ---> Applications ---> luci-app-pushbot #全能推送(钉钉推送,企业微信推送,Bark,PushPlus推送)
+LuCI ---> Applications ---> luci-app-qbittorrent #BT下载工具(qBittorrent)
+Build Version Selection (Static Build) ---> Static Build #选择静态编译版本
+Build Version Selection (Static Build) ---> Dynamic Build #选择动态编译版本
+LuCI ---> Applications ---> luci-app-qos #流量服务质量(QoS)流控
+LuCI ---> Applications ---> luci-app-radicale #CalDAV/CardDAV同步工具
+LuCI ---> Applications ---> luci-app-ramfree #释放内存
+LuCI ---> Applications ---> luci-app-rclone #命令行云端同步工具
+Include rclone-webui #Rclone界面
+Include rclone-ng (another webui) #Rclone另一个界面
+Include fuse-utils (mount cloud storage) #fuse-utils(挂载云存储)(丢弃)
+LuCI ---> Applications ---> luci-app-rp-pppoe-server #Roaring Penguin PPPoE Server 服务器
+LuCI ---> Applications ---> luci-app-samba #网络共享(Samba)
+LuCI ---> Applications ---> luci-app-samba4 #网络共享(Samba4)
+LuCI ---> Applications ---> luci-app-serverchan #微信/Telegram推送的插件
+LuCI ---> Applications ---> luci-app-sfe #Turbo ACC网络加速(丢弃,移至TurboACC)
+LuCI ---> Applications ---> luci-app-shadowsocks #SS科学上网(丢弃)
+LuCI ---> Applications ---> luci-app-shadowsocks-libes #SS-libev服务端
+LuCI ---> Applications ---> luci-app-shairplay #支持AirPlay功能
+LuCI ---> Applications ---> luci-app-siitwizard #SIIT配置向导 SIIT-Wizzard
+LuCI ---> Applications ---> luci-app-simple-adblock #简单的广告拦截
+LuCI ---> Applications ---> luci-app-smartdns #SmartDNS本地服务器(丢弃)
+LuCI ---> Applications ---> luci-app-softethervpn #SoftEther VPN服务器 NAT穿透
+LuCI ---> Applications ---> luci-app-splash #Client-Splash是无线MESH网络的一个热点认证系统
+LuCI ---> Applications ---> luci-app-sqm #流量智能队列管理(QOS)
+LuCI ---> Applications ---> luci-app-squid #Squid代理服务器
+LuCI ---> Applications ---> luci-app-ssr-plus #SSR科学上网Plus+(Le大佬插件)
+Include libustream-ssl ---> Include libustream-wolfssl #选择wolfSSL库(传输层安全协议)
+Include libustream-ssl ---> Include libustream-openssl #选择OpenSSL库(传输层安全协议)
+luci-app-ssr-plus ---> Include Kcptun #Kcptun双边加速工具
+luci-app-ssr-plus ---> Include NaiveProxy #NaiveProxy代理(Chrome网络堆栈伪装流量)
+luci-app-ssr-plus ---> Include Redsocks2 #Redsocks2代理(透明TCP定向Socks/HTTPS代理服务器)
+luci-app-ssr-plus ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级)
+luci-app-ssr-plus ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级)
+luci-app-ssr-plus ---> Include Shadowsocks Rust Client #SS Rust客户端(负载均衡/探测延迟)
+luci-app-ssr-plus ---> Include Shadowsocks Rust Server #SS Rust服务端(负载均衡/探测延迟)
+luci-app-ssr-plus ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级)
+luci-app-ssr-plus ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级)
+luci-app-ssr-plus ---> Include Simple-Obfs Plugin #SS Simple-Obfs混淆代理(Nginx)
+luci-app-ssr-plus ---> Include Trojan #Trojan代理(直接模仿协议HTTPS)
+luci-app-ssr-plus ---> Include Shadowsocks V2ray Plugin #SS V2ray代理(WebSocket+TLS )
+luci-app-ssr-plus ---> Include Xray #Xray代理(XTLS)
+luci-app-ssr-plus ---> Include Shadowsocks New Version #新SS代理(丢弃)
+luci-app-ssr-plus ---> Include Shadowsocks #SS代理(丢弃)
+luci-app-ssr-plus ---> Include Shadowsocks Rust (AEAD ciphers only) #SS-RUST代理(AEAD密码) (丢弃)
+luci-app-ssr-plus ---> Include V2ray #V2Ray代理(丢弃)
+luci-app-ssr-plus ---> Include Xray (V2RAY/Trojan-GO implemented) #Xray代理(丢弃)
+luci-app-ssr-plus ---> Include Trojan-go #Trojan-go代理(丢弃)
+luci-app-ssr-plus ---> Include Shadowsocks Server #SS服务器(丢弃)
+luci-app-ssr-plus ---> Include Shadowsocks Rust Server #SS Rust服务器(丢弃)
+luci-app-ssr-plus ---> Include ShadowsocksR Server #SSR服务器(丢弃)
+luci-app-ssr-plus ---> Include DNS2SOCKS #DNS服务器(丢弃)
+luci-app-ssr-plus ---> Include ShadowsocksR Socks and Tunnel(丢弃)
+luci-app-ssr-plus ---> Include Socks Server #socks代理服务器(丢弃)
+LuCI ---> Applications ---> luci-app-ssr-pro #SSR-Pro(丢弃)
+LuCI ---> Applications ---> luci-app-ssrserver-python #ShadowsocksR Python服务器
+LuCI ---> Applications ---> luci-app-statistics #流量监控工具
+LuCI ---> Applications ---> luci-app-syncdial #多拨虚拟网卡(原macvlan)
+LuCI ---> Applications ---> luci-app-tinyproxy #Tinyproxy是 HTTP(S)代理服务器
+LuCI ---> Applications ---> luci-app-transmission #BT下载工具
+LuCI ---> Applications ---> luci-app-travelmate #旅行路由器
+LuCI ---> Applications ---> luci-app-ttyd #网页终端命令行
+LuCI ---> Applications ---> luci-app-turboacc #Turbo ACC 网络加速(支持 Fast Path 或者 硬件 NAT)
+luci-app-turboacc ---> Include Shortcut-FE #Shortcut-FE 流量分载
+luci-app-turboacc ---> Include BBR CCA #BBR拥塞控制算法提升TCP网络性能
+luci-app-turboacc ---> Include DNSForwarder #DNS防污染 Forwarder
+luci-app-turboacc ---> Include DNSProxy #DNS防污染 Proxy
+LuCI ---> Applications ---> luci-app-udpxy #udpxy做组播服务器
+LuCI ---> Applications ---> luci-app-uhttpd #uHTTPd Web服务器
+LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本
+UnblockNeteaseMusic Golang Version #Golang版本
+UnblockNeteaseMusic NodeJS Version #NodeJS版本
+LuCI ---> Applications ---> luci-app-unblockneteasemusic-go #解除网易云音乐(合并)
+LuCI ---> Applications ---> luci-app-unblockneteasemusic-mini #解除网易云音乐(合并)
+LuCI ---> Applications ---> luci-app-unbound #Unbound DNS解析器
+LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发)
+LuCI ---> Applications ---> luci-app-usb-printer #USB 打印服务器
+LuCI ---> Applications ---> luci-app-uugamebooster #UU网游加速器
+LuCI ---> Applications ---> luci-app-v2ray-server #V2Ray 服务器
+LuCI ---> Applications ---> luci-app-v2ray-pro #V2Ray透明代理(丢弃,集成SSR)
+LuCI ---> Applications ---> luci-app-verysync #微力同步
+LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置
+LuCI ---> Applications ---> luci-app-vnstat #vnStat网络监控(图表)(与kodexplorer冲突 ! )
+LuCI ---> Applications ---> luci-app-vpnbypass #VPN BypassWebUI 绕过VPN设置
+LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器
+LuCI ---> Applications ---> luci-app-vssr #VSSR科学上网(je大佬插件)
+luci-app-vssr ---> Include Xray #Xray代理(XTLS)
+luci-app-vssr ---> Include Trojan #Trojan代理(直接模仿协议HTTPS)
+luci-app-vssr ---> Include Kcptun #Kcptun双边加速工具
+luci-app-vssr ---> Include Shadowsocks Xray Plugin #SS Xray代理
+luci-app-vssr ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级)
+LuCI ---> Applications ---> luci-app-watchcat #断网检测功能与定时重启
+LuCI ---> Applications ---> luci-app-webadmin #Web管理页面设置
+LuCI ---> Applications ---> luci-app-webshell #网页命令行终端(丢弃)
+LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划
+LuCI ---> Applications ---> luci-app-wireguard #VPN服务器 WireGuard状态
+LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线
+LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒
+LuCI ---> Applications ---> luci-app-wrtbwmon #实时流量监测
+LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟
+LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透

+]]>
+
+ + <![CDATA[redmi ac2100固件]]> + https://itwangaijava.github.io/post/redmi-ac2100-gu-jian/ + + + 2022-03-27T07:14:23.000Z + 更改redmi ac2100固件版本
+要想刷固件,需要将路由器的固件版本改为2.0.23。但为了防止意外,强烈建议先下载官方的路由修复器。

+

下载路由修复器
+度盘中的MIWIFIRepairTool.x86.rar压缩包,压缩可用,软件本身有使用教程

+

下载2.0.23版本的固件
+度盘中的miwifi_rm2100_all_fb720_2.0.23.bin文件

+

下载后,登录路由器管理界面,打开常用设置->系统状态->升级检测,点击手动升级,将上面下载的2.0.23版本固件刷入路由器

+

刷入breed
+ps:如果是新路由器,个人认为不太需要检查坏块,所以本文中没相关的方法,有需要的可自行搜索

+

打开ssh
+这里,我们使用openwrt官方提供的方法打开ssh

+

登录路由器管理界面,按f12打开开发者工具devtool,点击console,输入下列代码,并回车

+

复制代码
+`function getSTOK() {
+let match = location.href.match(/;stok=(.*?)//);
+if (!match) {
+return null;
+}
+return match[1];
+}

+

function execute(stok, command) {
+command = encodeURIComponent(command);
+let path = /cgi-bin/luci/;stok=${stok}/api/misystem/set_config_iotdev?bssid=SteelyWing&user_id=SteelyWing&ssid=-h%0A${command}%0A;
+console.log(path);
+return fetch(new Request(location.origin + path));
+}

+

function enableSSH() {
+stok = getSTOK();
+if (!stok) {
+console.error('stok not found in URL');
+return;
+}
+console.log(stok = "${stok}");

+
password = prompt('Input new SSH password');
+if (!password) {
+    console.error('You must input password');
+    return;
+}
+
+execute(stok, 
+
+

nvram set ssh_en=1 nvram commit sed -i 's/channel=.*/channel=\\"debug\\"/g' /etc/init.d/dropbear /etc/init.d/dropbear start
+)
+.then((response) => response.text())
+.then((text) => console.log(text));
+console.log('New SSH password: ' + password);
+execute(stok, echo -e "${password}\\n${password}" | passwd root)
+.then((response) => response.text())
+.then((text) => console.log(text));
+}

+

enableSSH();`
+复制代码
+运行成功会返回一个弹窗,要你设置ssh的密码,输入密码点确定。默认帐号为root

+

通过ssh连接路由器,这里推荐xshell:https://www.netsarang.com/zh/xshell/

+

xshell可以免费使用

+

打开xshell,新建会话,主机项填路由ip,点连接。然后输入相应的帐号密码。第一次连接会要求保存凭证,接受并保存即可。

+

这里,暂时先告一段落,接下来是下载breed。

+

利用winscp传入breed
+下载度盘中的breed-mt7621-xiaomi-r3g.bin和WinSCP-5.17.10-Setup.exe

+

安装winscp,新建会话,连接协议选scp,建立和路由器的连接

+

然后将breed上传到路由器的/tmp目录(软件的两边选好路径之后,选中文件,右键点upload上传)

+

然后,回到xshell,输入命令cd /tmp

+

然后输入ls看看是否上传成功

+

之后输入下面的命令将breed刷入路由器

+

mtd -r write breed-mt7621-xiaomi-r3g.bin Bootloader
+刷入之后,关闭路由器电源,按住reset,重新打开路由器电源,直到路由器的system灯变成蓝灯闪烁后,松开reset键

+

浏览器访问192.168.1.1,可以看到breed被刷入成功

+

点击环境变量编辑,新增两个变量

+

字段xiaomi.r3g.bootfw,值为2

+

刷入openwrt底包(可选)
+ps:如果不想刷openwrt,不建议刷入底包

+

下载度盘中的openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-initramfs-kernel.bin,点击breed中的固件更新

+

勾选固件->选择文件->上传文件

+

即可刷入openwrt低包,然后用这个临时的openwrt去刷想要的openwrt即可

+

临时底包刷固件/breed刷固件教程:https://www.right.com.cn/forum/thread-4025861-1-1.html

+

刷入openwrt/padavan
+升级固件的方法可看上一小节

+

openwrt可下载度盘中的03.03-openwrt-ramips-mt7621-redmi-ac2100-squashfs-sysupgrade.bin

+

padavan可下载度盘中的RM2100_3.4.3.9-099.trx

+]]>
+
+
\ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..b5eb6ff Binary files /dev/null and b/favicon.ico differ diff --git a/friends/index.html b/friends/index.html new file mode 100644 index 0000000..a4085eb --- /dev/null +++ b/friends/index.html @@ -0,0 +1,159 @@ + + + + + + + +友情链接 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+
+ +
+
+ +
+ + + + +
+ +
+
+ +
+ + + + + + + +
+
+ + + diff --git a/images/avatar.png b/images/avatar.png new file mode 100644 index 0000000..b5eb6ff Binary files /dev/null and b/images/avatar.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..303c3d5 --- /dev/null +++ b/index.html @@ -0,0 +1,364 @@ + + + + + + +itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ + + 下一页 + +
+ + + + + + +
+
+ + diff --git a/media/README.md b/media/README.md new file mode 100644 index 0000000..07f95b9 --- /dev/null +++ b/media/README.md @@ -0,0 +1 @@ +media: 静态资源存放文件夹,可在此文件夹放 images、fonts、scripts... 等资源 diff --git a/media/gridea-search/gridea-search.js b/media/gridea-search/gridea-search.js new file mode 100644 index 0000000..00d1c49 --- /dev/null +++ b/media/gridea-search/gridea-search.js @@ -0,0 +1,230 @@ +/** + * 由 宝硕(https://github.com/renbaoshuo) 修改自 https://github.com/tangkaichuan/gridea-search + */ + +(function () { + //获取url参数 + function getParam(url, param) { + if (url.indexOf('?') > -1) { + var urlSearch = url.split('?'); + var paramList = urlSearch[1].split('&'); + for (var i = paramList.length - 1; i >= 0; i--) { + var temp = paramList[i].split('='); + if (temp[0] === param) { + return temp[1]; + } + } + } else { + return ""; + } + } + + //获取解码后的搜索词 + function getQueryPhrase() { + if(window.location.href.indexOf('?') == -1) return ""; + var phrase = getParam(window.location.href, 'q'); + var queryPhrase = decodeURIComponent(phrase.replace(/\+/g, ' ')); + return queryPhrase; + } + + //填充搜索输入框 + function fillSearchInput() { + var searchForm = document.getElementById('gridea-search-form'); + var searchInput = searchForm.getElementsByTagName('input')[0]; + searchInput.value = getQueryPhrase(); + } + + //Ajax异步GET请求 + function ajax(obj) { + var xhr = new XMLHttpRequest(); + xhr.open('get', obj.url, true); + xhr.send(null); + xhr.onreadystatechange = function () { + //异步请求:响应状态为4,数据加载完毕 + if (xhr.readyState === 4) { + if (xhr.status === 200) { + obj.success(xhr.responseText); + } else { + obj.error(xhr.status); + } + } + } + } + + //模糊搜索 https://github.com/krisk/fuse + function fuzzySearch(data, phrase) { + var options = { + includeMatches: true, + ignoreLocation: true, + keys: [ + 'title', + 'content' + ] + }; + var fuse = new Fuse(data, options); + var fuzzyResult = fuse.search(phrase); + return fuzzyResult; + } + + //检查缓存是否最新 + function checkCache() { + var caches = {}; + caches.infos = JSON.parse(localStorage.getItem('InfosCache')); + caches.contents = JSON.parse(localStorage.getItem('ContentsCache')); + if (caches.infos && caches.contents) { + var cachedTime = caches.infos.utils.now.toString(); + var updateTime = document.getElementById('gridea-search-result').getAttribute('data-update'); + if (cachedTime === updateTime) { + return caches; + } + } + localStorage.removeItem('InfosCache'); + localStorage.removeItem('ContentsCache'); + return false; + } + + //获取博客全文api + function getContents(callback) { + var caches = checkCache(); + if (caches) { + callback(caches.contents); + } + else { + ajax({ + url: '../api-content/index.html' + "?_=" + Date.now(), + success: function (data) { + callback(JSON.parse(data)); + localStorage.setItem('ContentsCache', data); + } + }); + } + } + + //获取博客信息api + function getInfos(callback) { + var caches = checkCache(); + if (caches) { + callback(caches.infos); + } + else { + ajax({ + url: '../api-info/index.html' + "?_=" + Date.now(), + success: function (data) { + callback(JSON.parse(data)); + localStorage.setItem('InfosCache', data); + } + }); + } + } + + //根据一段文本调用模糊搜索 + function searchBy(phrase, callback) { + var result = ''; + var getFuzzyResult = function (data) { + result = fuzzySearch(data.posts, phrase); + callback(result); + } + //根据全文内容获取搜索结果 + getContents(getFuzzyResult); + } + + //显示无搜索结果 + function showNoResult() { + var resultDIV = document.getElementById('gridea-search-result'); + var noResult = resultDIV.getElementsByClassName('no-result')[0]; + noResult.style.display = 'block'; + resultDIV.innerHTML = noResult.outerHTML; + } + + //根据解码后的搜索词执行搜索 + function searchByPhrase(resultHandler) { + var queryPhrase = getQueryPhrase(); + if (queryPhrase === '' || typeof (queryPhrase) === 'undefined') { + showNoResult(); + } else { + searchBy(queryPhrase, resultHandler); + } + } + + //获取搜索结果列表模板的URL + function getTemplateURL() { + var scripts = document.getElementsByTagName('script'); + var templateURL = ''; + for (var i = 0; i < scripts.length; i++) { + if (scripts[i].type === 'text/ejs') { + templateURL = scripts[i].src; + return templateURL; + } + } + } + + //渲染搜索结果列表ejs https://github.com/mde/ejs + function renderResult(searchedInfos) { + if (searchedInfos.posts.length > 0) { + ajax({ + url: getTemplateURL(), + success: function (data) { + var resultDIV = document.getElementById('gridea-search-result'); + resultDIV.innerHTML = ejs.compile(data)(searchedInfos); + } + }); + } else { + showNoResult(); + } + } + + //搜索结果关键字高亮 + function keywordHighlight(searchedContent) { + var searchedPostContent = searchedContent.item.content;//搜索结果内容预览 + var preview = '... '; + for (var i = 0; i < searchedContent.matches.length; i++) { + if (searchedContent.matches[i].key === 'content') {//如果匹配到文章内容,截取关键字 + var indices = searchedContent.matches[i].indices[0]; + var beforeKeyword = searchedPostContent.substring(indices[0] - 20, indices[0]);//关键字前10字 + var keyword = searchedPostContent.substring(indices[0], indices[1] + 1);//关键字 + var afterKeyword = searchedPostContent.substring(indices[1] + 1, indices[1] + 120);//关键字后70字 + preview = beforeKeyword + '' + + keyword + '' + afterKeyword; + } else {//没有匹配到文章内容,则是标题,直接截取前80字 + preview = searchedPostContent.substring(0, 80); + } + } + return preview + ' ...'; + } + + //循环匹配搜索到的内容与展示信息 + function getResult(infos, searchedContents) { + var searchedInfos = JSON.parse(JSON.stringify(infos));//对象深拷贝 + searchedInfos.posts = []; + for (var i = 0; i < searchedContents.length; i++) { + for (var j = 0; j < infos.posts.length; j++) { + if (searchedContents[i].item.link === infos.posts[j].link) { + infos.posts[j].searchedPreview = keywordHighlight(searchedContents[i]);// 预览关键字高亮 + infos.posts[j].content = searchedContents[i].item.content;// content注入 + searchedInfos.posts.push(infos.posts[j]);// push到所需结果中 + } + } + } + return searchedInfos; + } + + //主方法 + function grideaSearch() { + //搜索结果回调 + var resultHandler = function (searchedContents) { + getInfos(function (infos) { + // console.log(infos); + // console.log(searchedContents); + var searchedInfos = getResult(infos, searchedContents); + renderResult(searchedInfos); + }); + } + searchByPhrase(resultHandler); + } + + //页面加载完执行 + window.onload = function () { + fillSearchInput(); + grideaSearch(); + } +})(); diff --git a/media/gridea-search/result-template.ejs b/media/gridea-search/result-template.ejs new file mode 100644 index 0000000..26d8df6 --- /dev/null +++ b/media/gridea-search/result-template.ejs @@ -0,0 +1,33 @@ +
+
+ <% posts.forEach(function(post) { %> +
+
+ +
+ + <%= post.title %> + +
+
+

<%- post.searchedPreview %>

+
+
+ +
+ <% if (themeConfig.showFeatureImage && post.feature) { %> + + <% } %> +
+ <% }); %> +
+
diff --git a/media/scripts/index.js b/media/scripts/index.js new file mode 100644 index 0000000..a32b591 --- /dev/null +++ b/media/scripts/index.js @@ -0,0 +1 @@ +console.log('Hello Gridea') \ No newline at end of file diff --git a/page/2/index.html b/page/2/index.html new file mode 100644 index 0000000..3bf9fea --- /dev/null +++ b/page/2/index.html @@ -0,0 +1,382 @@ + + + + + + +itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ + 上一页 + + + 下一页 + +
+ + + + + + +
+
+ + diff --git a/page/3/index.html b/page/3/index.html new file mode 100644 index 0000000..5b1a976 --- /dev/null +++ b/page/3/index.html @@ -0,0 +1,386 @@ + + + + + + +itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ + 上一页 + + + 下一页 + +
+ + + + + + +
+
+ + diff --git a/page/4/index.html b/page/4/index.html new file mode 100644 index 0000000..65a6c6e --- /dev/null +++ b/page/4/index.html @@ -0,0 +1,171 @@ + + + + + + +itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ + 上一页 + + +
+ + + + + + +
+
+ + diff --git a/post-images/anaconda3-yu-huan-yuan.gif b/post-images/anaconda3-yu-huan-yuan.gif new file mode 100644 index 0000000..049f93e Binary files /dev/null and b/post-images/anaconda3-yu-huan-yuan.gif differ diff --git a/post/anaconda3-yu-huan-yuan/index.html b/post/anaconda3-yu-huan-yuan/index.html new file mode 100644 index 0000000..bd9e084 --- /dev/null +++ b/post/anaconda3-yu-huan-yuan/index.html @@ -0,0 +1,202 @@ + + + + + + +anaconda3与换源 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ anaconda3与换源 +

+ +
+

在terminal中输入

+

conda config --set show_channel_urls yes,

+

这一步之后会在C盘->用户->(你的用户名)这一文件夹下创建一个.condarc文件(在这个文件下我们可以修改conda源。),此处niuni是我的账户名。找到.condarc文件,使用记事本打开

+

打开后粘贴下列内容到文件内,修改为清华源,修改后保存文件修改。

+

channels:

+
    +
  • defaults
    +show_channel_urls: true
    +default_channels:
  • +
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  • +
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  • +
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
    +custom_channels:
    +conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    +simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  • +
+

此处的意外之坑:

+

按照这个方法一般没有问题,但是在我最近一次的换源后在terminal下使用pip发现速度极慢,在探索了之后发现还需要换掉pip源才可以。更换方法为:

+

打开Terminal,然后键入如下命令:

+

python -m pip install --upgrade pip
+pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
+如果更换的时候速度过慢,建议使用如下指令:

+

python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
+pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
+、

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/apple-id-huan-qu/index.html b/post/apple-id-huan-qu/index.html new file mode 100644 index 0000000..86a4f6c --- /dev/null +++ b/post/apple-id-huan-qu/index.html @@ -0,0 +1,191 @@ + + + + + + +Apple ID换区 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ Apple ID换区 +

+ +
+

转换成美国区 Apple ID 可填写如下信息:
+邮编:98133
+地址:One Microsoft Way Redmond WA 98052-6399
+电话:(882)882-8080

+

转换成台湾地区 Apple ID 可填写如下信息:
+邮编:11010
+地址:台北市 信义区 松仁路7号 8楼
+电话:0800-008833

+

转换成香港地区 Apple ID 可填写如下信息:
+邮编:999077
+地址:数码港道100号 数码港二座十三楼
+电话:2388-9600

+

转换成日本 Apple ID 可填写如下信息:
+東京王子大飯店
+地址: 郵遞區號:105-8560 東京都港區芝公園3-3-1, 日本
+電話: +81-(0)3-3432-1111
+或
+信用卡处选择“None”,Code处不添
+phonetic name处添“None”
+postal-code处添“584-7766”
+prefecture处选择“osaka”, city处添“kyoto”
+adress处添“None”
+phone处添“556 4343221”

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/ce-shi/index.html b/post/ce-shi/index.html new file mode 100644 index 0000000..a9c4a90 --- /dev/null +++ b/post/ce-shi/index.html @@ -0,0 +1,175 @@ + + + + + + +XSS测试 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ XSS测试 +

+ +
+ +

测试基本跨站代码
+<Script>alert(/XSS/)</script>
+大小写混合测试
+<sCrIpT>alert(/XSS/)</sCrIpT>
+多重嵌套测试
+<scr<script>ipt>alert(/XSS/)<scr<script>ipt>

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/csdn-po-jie-deng-lu-fu-zhi/index.html b/post/csdn-po-jie-deng-lu-fu-zhi/index.html new file mode 100644 index 0000000..1e432e6 --- /dev/null +++ b/post/csdn-po-jie-deng-lu-fu-zhi/index.html @@ -0,0 +1,172 @@ + + + + + + +csdn破解登陆复制 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ csdn破解登陆复制 +

+ +
+

打开开发者工具(F12)
+输入:
+document.designMode='on'
+即可

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/dian-xin-guang-mao-mo-ren-chao-ji-zhang-hao/index.html b/post/dian-xin-guang-mao-mo-ren-chao-ji-zhang-hao/index.html new file mode 100644 index 0000000..976a6bf --- /dev/null +++ b/post/dian-xin-guang-mao-mo-ren-chao-ji-zhang-hao/index.html @@ -0,0 +1,170 @@ + + + + + + +电信光猫默认超级账号 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 电信光猫默认超级账号 +

+ +
+

超级账号 telecomadmin
+密码 nE7jA%5m

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/diao-yu-ji-qiao-quan-gong-lue/index.html b/post/diao-yu-ji-qiao-quan-gong-lue/index.html new file mode 100644 index 0000000..f0efe81 --- /dev/null +++ b/post/diao-yu-ji-qiao-quan-gong-lue/index.html @@ -0,0 +1,184 @@ + + + + + + +钓鱼技巧全攻略 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 钓鱼技巧全攻略 +

+ +
+

一、传统立漂沉底钓鲫鱼: 这是比较普遍的钓法,我国南北东西都有不少钓友采用此种方法。即用立漂或散漂,铅坠沉底,鱼钩距铅坠的脑线大约25毫米。垂钓时鱼漂调整到直立,露出部分,便于判断鱼讯即可(散漂则没入水中两三粒,浮在水面三四粒)。 此法的优点是调整方便,钩坠漂配比要求不严格,便于掌握。但不很灵敏,有经验的鱼常常触动一下鱼饵,发觉较重,即警觉逃走。同时,此法鱼饵沉底不动,如不勤动一下鱼竿,常不为鲫鱼发现。

+

二、台钓鲫鱼: 目前较为盛行。其最大优点是灵敏度强,上鱼率高。鱼钩下沉慢,易为鱼发现。坠悬于水中,钩轻轻触底,鱼在其旁游弋,鱼钩即轻轻摇动,对鱼吸引力极大。为摘钩方便,使用无倒刺钩,摘钩迅速。漂坠饵配比要求严格,鱼汛反映极为灵敏。 缺点是漂坠调整较费事;各种鱼类混养水域,使用钓鲫鱼的钩线,遇到大鱼容易跑鱼损失工具;初学时不易掌握,常有人半途而废。但只要树立信心,勤于实践,掌握也不是很难,而一旦掌握,即会发现其优点大大过于一般传统钓法。

+

三、戳拱钓鲫鱼: 是一种传统钓法。常用在天气炎热的夏季,有浮萍或水草丛生的水域中。一般采用长竿、硬调、短线、无坠。热季水中缺氧,鱼常在水面浮萍下吸空气、拱食、乘凉。从而咬草出声或拱得浮萍形成一个小包。因而应采用听、看办法,寻觅鱼踪。 听主要是听鱼觅食发出的嚓嚓声响;看是看水草晃动和浮萍的鼓包,判断鱼情。发觉有鱼直指该处将钩垂入。一般轻轻将钩放到拱处,看到水面线向水中拽入,或线牵动竿梢即知有鱼咬饵,适时抖竿提起鱼来。 戳拱一般选安静处,动作要轻,鱼出水时尽量避免惊扰其它鱼儿,若有惊扰,鱼不再拱,可用嘴模仿鱼咬草的嚓嚓声,起到催鱼起拱的作用。

+

四、戳孔钓鲫鱼: 一般用于有荷叶、水草多、苇茬多的水域。观察荷叶边、水草孔、苇茬间的鱼泡、荷叶、苇子晃动的情况,判断鱼情。工具一般采用硬调长竿、较竿短的鱼线,小坠,先观察鱼情。 发现后针对有鱼动静的地方,垂竿下钩,使钩沉底,同时不断微微提动鱼竿,引鱼鱼池饵,凭手感觉察鱼儿咬钩,适时提竿。戳孔一般采取走钓,主动找鱼下钩。

+

五、浮钓鲫鱼: 鲫鱼属底层鱼,一般钓底,但遇炎热、气压低的气候,鱼浮到水面游动吸氧觅食,则可采取浮钓法,即将铅坠减轻,使鱼钩悬浮于水面下约0.3--0.5米处,动作要轻,不惊散鱼群。有人针对鲫鱼甩子期的特点也常采用浮钓法。浮钓不需打窝。

+

六、半浮钓鲫鱼: 一般用于体情况而定。底层杂草或淤泥较厚,钩沉底不易为鱼发觉的环境。办法是将坠减轻,调整浮漂至钩触底后露出数格,然后将漂下调5-10厘米(视水底草或淤泥的厚度而定),保持漂仍露出的格数(如坠重适当减轻)。这样使钩略高于水底,便于鱼的发现。

+

七、甩大边钓鲫鱼: 在河道、沟渠中常岸边有芦苇等,鱼喜欢栖居觅食,如果河道不很宽,你的钓位比较嘈杂,可以用长竿、长线,或海竿串钩甩至对岸芦苇、水草边,可以甩出四、五支竿,插好等待,手竿可用漂,海竿则将风线拉直,看竿梢湾动,往往效果很好。

+

八、走钓鲫鱼: 到一水塘,先行观察,选鲫鱼喜栖居的位置撒窝,可保持至少2米一上距离,撒若干窝子。然后采用5-6米左右质轻的鱼竿,采用7--10 粒的散漂,(便于适应水的不同深度,不必老调漂),钓线宜细,鱼钩最好是朝天钩,饵料一般采用红蚯蚓,保持活性最好。 走钓的特点是走,应手持钓竿,沿打过窝的水边观察鱼星的情况,有鱼星即应下钩,无鱼星可继续观察其它钓窝。打窝应每次少打,过些时间再打一遍,即少打勤打。这种钓法变等为找,因此由被动变主动,且对锻炼身体更有好处。

+

九、流水钓鲫鱼: 一般适用于流动水域,竿宜长,线不必太长,坠须重,漂可用数粒散漂,粒漂则宜长,饵以蚯蚓、小虾为好。钩甩入水中,如水流动,可使钩漂顺水同流,到下游后提起再甩至上游,见漂停住,立即提竿。以免底部挂住,若有托漂或下沉,即应提竿上鱼。

+

十、盒饭钓鲫鱼: 类似爆炸钩,但将食放在一个预制的塑料盒中,可以节省饵料,且对饵料的粘、散要求较底。方法是用一个直径为25-50毫米的塑料瓶底或盖,制成高约15-20的小盒。用螺丝自盒里底部中心穿出,固定一个铅坨。盒的四周均匀打七个直径2毫米的小孔。 一个孔穿入钓线,拴上连接环。用三棵软脑线,每棵对折,然后拧在一起套入一个短气门心内。对折的线圈挂在连接环上。三棵对折脑线的六个头,分别从六个小孔中穿出,每端系上一个鱼钩。用时,将盒中放上糟食,将钩从盒外折回到盒内,埋入糟食内,甩出到钓点进行垂钓。

+

十一、活水钓鲫鱼: 鱼类对氧气的需求量不亚于人类,有氧则活,无氧则死,氧气充足的水中,鱼儿最多,最活跃。垂钓水域的进、出水口,含氧量高,被称为活水,在此垂钓必有收获。 下雨时,雨水能将氧气带人水中,所以雨过天晴同样是垂钓的好时机。大风大,水随风而动,不但企氧气溶入,还有岸边的草籽、花粉、树叶等天然鱼食刮人,风停后在下风口垂钓也很好。

+

十二、适温钓鲫鱼: 一年四季,水温变化很大。鱼儿既怕冷又怕热,气温在 15-25T之间摄食最旺盛,过冷就会像人一样猫冬,过热就会歇伏,鲫鱼虽是广温性鱼,但大体规律也是如此。 春秋季节,气温、水温适合全天垂钓;炎热的夏季最好钓早钓晚;寒冷的冬季要选择晴朗的中午垂钓。

+

十三、择地钓鲫鱼: 鲫鱼胆小,喜安静。钓鲫鱼,要选择有草丛、竹木桩、砖砾、岩石、桥墩的地方下钩,这些僻静水域必然鱼多。牛滚幽、淘洗码头、水草茂密处,鱼儿有食可吃,也是钓鲫的好地方。

+

十四、寻洁钓鲫鱼: 鲫鱼喜欢在清洁、多氧气的水中栖息;如果水又脏又浊,鱼会感到憋闷,不想吃东西,常浮在水面嚼水,甚至窒息死亡。垂钓的水域应以浅色为上;淡绿色、淡青色次之;酱色、深褐色的污染水,腐殖质含量高,氧气不足,不宜垂钓。

+

十五、牵引钓钓鲫鱼: 诱饵投放以后,窝里不久就有鱼星上冒,可鱼就是不咬钩,这种情况可能是窝里有鲤鱼、草鱼之类的大鱼,鲫鱼不敢进窝吃食。 此时就应采用牵引法(也称逗钓),即在钓点上下前后左右轻轻地、缓慢地拉动渔线,诱鱼上钩,特别是鲫鱼少吃少动的冬天和初春,用红虫和蚯蚓效果特别好。

+

十六、换饵钓鲫鱼: 鲫鱼属条食性鱼种,荤素皆吃一草食以蚯蚓、红虫、小虾、蛆为主;素食以面粉、蚕豆粉、大米饭、红完了玉米粑为主一面钓时应革素饵变换使用鱼同人一样,有吃新的习惯,如果总吃一种食物也会腻口。

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/diao-yu-zheng-que-kan-piao-ji-qiao/index.html b/post/diao-yu-zheng-que-kan-piao-ji-qiao/index.html new file mode 100644 index 0000000..a3d212e --- /dev/null +++ b/post/diao-yu-zheng-que-kan-piao-ji-qiao/index.html @@ -0,0 +1,188 @@ + + + + + + +钓鱼正确看漂技巧 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 钓鱼正确看漂技巧 +

+ +
+

1、浮漂轻点轻触。多为鲫鱼在试探,连点连触则提竿。
+2、浮漂微微上升一点,徐徐下沉一目半目。说明鱼已吃稳,可提竿。
+3、尾漂慢慢地从顶部,只送半粒到一粒,浮漂不动(有时被误认为是小鱼或碰线),是提竿时机。
+4.浮漂有的时候会慢慢的往下沉。不可忽视它的动静,浮漂的动作愈慢,鲫鱼、鲤鱼、草鱼上钩的痕迹越明显。
+5.星漂微微颤动后,略沉半粒至一粒,漂动即停止。这时提竿时机是浮漂刚刚下沉,其过程很短,垂钓者若不是精力高度集中,稍有迟缓,即可痛失良机。
+6.浮漂一点一点,连续点动,动作很小。也是鲫鱼已吃稳的迹象,即可提竿。
+7.浮漂点动后,接着慢慢上送。动作愈慢鲫鱼愈大,动作速度快多半是小鲫鱼。
+8.浮漂轻轻斜向移位,或平移,或微沉,都要及时提竿。
+9.浮漂有力猛点时。只点一下动作大,不下沉也不上送,鱼饵已吃到嘴里,鱼儿较大应及时提竿。
+10.浮漂横向移动,还有点向下的动作,即提竿。
+11.浮漂横移。不送漂也不黑漂,只作平行横向移动,此时鱼已咬钩,可提竿。
+12.未见浮漂下沉,但送漂时往往是大鱼。说明鱼已吞饵,提必获鱼。
+13.浮漂微微颤动时,连续不停,鱼已咬钩。
+14.浮漂突然快速下沉,或快速上送,多半是小鲫鱼咬钩。
+15.浮漂横卧水面不沉不动。这往往是大鲫鱼半路咬钩,及时提竿起鱼。
+16.浮漂在水面微微连续点颤、轻送或轻沉,是鱼咬钩,应及时提竿。
+17.找窝试点时,空钩下送,浮漂不下沉或突然下沉。这往往是鱼咬空钩,不可忽视,及时提竿可得鱼。
+18.送漂后浮漂迅速恢复原状,漂相为一粒送平后又恢复原状。出现这种现象多为虾蟹脚爪拨动所致,起竿多为空钩。
+19.黑漂后迅速恢复原状,漂相为一粒粒斜向入水,然后恢复原状。多为小杂鱼咬钩捣乱。
+20.浮漂在水下忽闪一下。这鱼儿碰线所致,不用提竿。

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/esxi-an-zhuang-qu-dong-fu-zhi-su-du-jia-kuai/index.html b/post/esxi-an-zhuang-qu-dong-fu-zhi-su-du-jia-kuai/index.html new file mode 100644 index 0000000..94d1a1e --- /dev/null +++ b/post/esxi-an-zhuang-qu-dong-fu-zhi-su-du-jia-kuai/index.html @@ -0,0 +1,179 @@ + + + + + + +Esxi 安装驱动 复制速度加快 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ Esxi 安装驱动 复制速度加快 +

+ +
+

1、开启维护模式:

+

esxcli system maintenanceMode set --enable true

+

2、上传 scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib 到虚拟机存储,我这里是上传到 /vmfs/volumes/datastore1 里

+

3、把 scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib 拷贝到 /var/log/vmware/

+

cp /vmfs/volumes/datastore1/scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib /var/log/vmware/

+

4、卸载原来的驱动

+

esxcli software vib remove -n scsi-hpvsa -f

+

5、安装新上传的驱动

+

esxcli software vib install -v file:scsi-hpvsa-5.5.0-88OEM.550.0.0.1331820.x86_64.vib --force --no-sig-check --maintenance-mode

+

如果提示出错,那就把--force等这些开关去掉,试一下

+

6、完事重启,记得关闭维护模式

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/git-ru-men/index.html b/post/git-ru-men/index.html new file mode 100644 index 0000000..b85e8f2 --- /dev/null +++ b/post/git-ru-men/index.html @@ -0,0 +1,177 @@ + + + + + + +git入门 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ git入门 +

+ +
+

$ git init
+$ git remote add origin https://gitee.com/用户个性地址/HelloGitee.git
+这样就完成了版本的一次初始化。
+接下去,进入你已经初始化好的或者克隆仓库的目录,然后执行:
+$ git pull origin master
+修改/添加文件,否则与原文件相比就没有变动。
+$ git add .
+$ git commit -m "第一次提交"
+$ git push origin master

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/jian-dan-de-efhelper/index.html b/post/jian-dan-de-efhelper/index.html new file mode 100644 index 0000000..10ee32f --- /dev/null +++ b/post/jian-dan-de-efhelper/index.html @@ -0,0 +1,353 @@ + + + + + + +简单的EFHelper | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 简单的EFHelper +

+ +
+

using System;
+using System.Collections.Generic;
+using System.Data.Entity;
+using System.Linq;
+using System.Linq.Expressions;
+using System.Text;
+using System.Threading.Tasks;
+using System.Data;
+using System.Data.SqlClient;

+

namespace DAL
+{

+
//new():实例化对象,对泛型的约束
+public class EFHelper<TDataBase> where TDataBase : DbContext,new()
+{
+    static EFHelper<TDataBase> instance = null;
+    //私有化构造函数 EF(Entity FrameWork):DatabaseFirst,ModelFirst,CodeFirst
+    private EFHelper()
+    {  
+    
+    }
+
+    /// <summary>
+    /// 返回当前对象实例
+    /// </summary>
+    /// <returns></returns>
+    public static EFHelper<TDataBase> GetInstance()
+    {
+        if (instance == null)
+        {
+            instance = new EFHelper<TDataBase>();
+        }
+        return instance;
+    }
+
+    TDataBase db = null;
+    public TDataBase GetDataContext()
+    {
+        if (db == null)
+        {
+            db = new TDataBase();
+        }
+        return db;
+    }
+
+    /// <summary>
+    /// 返回所有数据
+    /// </summary>
+    /// <typeparam name="T"></typeparam>
+    /// <returns></returns>
+    public List<T> GetList<T>() where T : class
+    {
+        //单例,创建者,观察者(发布订阅),适配器,门面,职责链,模板,工厂,抽象工厂
+        var db = GetDataContext();
+        return db.Set<T>().ToList();
+    }
+
+    /// <summary>
+    /// 根据条件查询
+    /// </summary>
+    /// <typeparam name="T"></typeparam>
+    /// <param name="predicate"></param>
+    /// <returns>集合对象</returns>
+    public List<T> GetList<T>(Expression<Func<T,bool>> predicate) where T:class
+    {
+        var db = GetDataContext();
+        return db.Set<T>().Where(predicate).ToList();
+    }
+
+    /// <summary>
+    /// 根据条件查询
+    /// 使用EF时必须每张表都有主键ID
+    /// EF:修改删除时必须先获取要修改的数据对象
+    /// </summary>
+    /// <typeparam name="T"></typeparam>
+    /// <param name="predicate"></param>
+    /// <returns>一个对象</returns>
+    public T GetSingle<T>(Expression<Func<T, bool>> predicate) where T : class
+    {
+        var db = GetDataContext();
+        return db.Set<T>().FirstOrDefault(predicate);
+    }
+
+    /// <summary>
+    /// 插入一个实体
+    /// </summary>
+    /// <typeparam name="T"></typeparam>
+    /// <param name="Entity"></param>
+    /// <returns></returns>
+    public T InsertEntity<T>(T Entity) where T : class
+    {
+        var db = GetDataContext();
+        try
+        {
+            T result = db.Set<T>().Add(Entity);
+            db.SaveChanges();
+            return result;
+        }
+        catch (Exception ex)
+        {
+            return null;
+        }
+    }
+
+    /// <summary>
+    /// 修改
+    /// </summary>
+    /// <typeparam name="T"></typeparam>
+    /// <param name="Entity"></param>
+    /// <returns></returns>
+    public bool Update<T>(T Entity) where T : class
+    {
+        var db = GetDataContext();
+        var entry = db.Entry(Entity);
+        //System.Data.Entity
+        entry.State = System.Data.EntityState.Modified;
+        return db.SaveChanges() > 0 ? true : false;
+    }
+
+    /// <summary>
+    /// 传入实体删除
+    /// </summary>
+    /// <typeparam name="T"></typeparam>
+    /// <param name="Entity"></param>
+    /// <returns></returns>
+    public bool Delete<T>(T Entity) where T : class
+    {
+        var db = GetDataContext();
+        db.Set<T>().Remove(Entity);
+        return db.SaveChanges() > 0 ? true : false;
+    }
+
+    /// <summary>
+    /// 分布查询
+    /// </summary>
+    /// <typeparam name="T">查询的对象</typeparam>
+    /// <typeparam name="TKey">排序字段类型</typeparam>
+    /// <param name="predicate">查询条件</param>
+    /// <param name="keySelector">排序字段</param>
+    /// <param name="pageIndex">当前页数</param>
+    /// <param name="pageNum">每页条数</param>
+    /// <param name="orderType">排序类型,1:升序,2:降序</param>
+    /// <returns>数据列表</returns>
+    public List<T> GetListByPager<T , TKey>(Expression<Func<T, bool>> predicate, Expression<Func<T, TKey>> keySelector, int pageIndex, int pageNum , int orderType) where T : class
+    {
+        var db = GetDataContext();
+        if (orderType == 1)
+        {
+            return db.Set<T>().Where(predicate).OrderBy(keySelector).Skip((pageIndex - 1) * pageNum).Take(pageNum).ToList();
+        }
+        else
+        {
+            return db.Set<T>().Where(predicate).OrderByDescending(keySelector).Skip((pageIndex - 1) * pageNum).Take(pageNum).ToList();
+        }
+    }
+
+    /// <summary>
+    /// 使用SQL增删改
+    /// </summary>
+    /// <param name="sqlstr"></param>
+    /// <param name="pars"></param>
+    public int GetPro(string sqlstr, SqlParameter[] pars)
+    {
+        var db = GetDataContext();
+        return db.Database.ExecuteSqlCommand(sqlstr, pars);
+    }
+
+    /// <summary>
+    /// 使用SQL查询数据
+    /// </summary>
+    /// <typeparam name="T"></typeparam>
+    /// <param name="sqlstr"></param>
+    /// <param name="pars"></param>
+    /// <returns></returns>
+    public List<T> GetSqlStr<T>(string sqlstr, SqlParameter[] pars)
+    {
+        var db = GetDataContext();
+        return db.Database.SqlQuery<T>(sqlstr, pars).ToList();
+    }
+}
+
+

}

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/jie-jue-aspnet-core-xiang-mu-iis-zai-mo-ren-qing-kuang-xia-bu-zhi-chi-put-he-delete-qing-qiu/index.html b/post/jie-jue-aspnet-core-xiang-mu-iis-zai-mo-ren-qing-kuang-xia-bu-zhi-chi-put-he-delete-qing-qiu/index.html new file mode 100644 index 0000000..6784861 --- /dev/null +++ b/post/jie-jue-aspnet-core-xiang-mu-iis-zai-mo-ren-qing-kuang-xia-bu-zhi-chi-put-he-delete-qing-qiu/index.html @@ -0,0 +1,174 @@ + + + + + + +解决ASP.Net Core项目IIS在默认情况下不支持PUT和DELETE请求 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 解决ASP.Net Core项目IIS在默认情况下不支持PUT和DELETE请求 +

+ +
+
<modules runAllManagedModulesForAllRequests="true">
+
+  <remove name="WebDAVModule"/>
+
+</modules>
+
+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/jie-jue-sheng-ji-win10-hou-zi-dai-app-ying-yong-de-shan-tui-beng-kui-wen-ti/index.html b/post/jie-jue-sheng-ji-win10-hou-zi-dai-app-ying-yong-de-shan-tui-beng-kui-wen-ti/index.html new file mode 100644 index 0000000..b17ef4a --- /dev/null +++ b/post/jie-jue-sheng-ji-win10-hou-zi-dai-app-ying-yong-de-shan-tui-beng-kui-wen-ti/index.html @@ -0,0 +1,175 @@ + + + + + + +解决升级Win10后自带App应用的闪退、崩溃问题 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 解决升级Win10后自带App应用的闪退、崩溃问题 +

+ +
+

输入“PowerShell”,回车。
+解决升级Win10后自带App/应用的闪退、崩溃问题

+

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/js-zhi-xing-hua-kuai-yan-zheng/index.html b/post/js-zhi-xing-hua-kuai-yan-zheng/index.html new file mode 100644 index 0000000..4831f67 --- /dev/null +++ b/post/js-zhi-xing-hua-kuai-yan-zheng/index.html @@ -0,0 +1,195 @@ + + + + + + +js执行滑块验证(无过程) | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ js执行滑块验证(无过程) +

+ +
+

function slide (id) {
+var slider = document.getElementById(id),
+container = slider.parentNode;

+
var rect = slider.getBoundingClientRect(),
+    x0          = rect.x || rect.left,
+    y0          = rect.y || rect.top,
+    w           = container.getBoundingClientRect().width,
+    x1          = x0 + w,
+    y1          = y0;
+
+var mousedown = document.createEvent("MouseEvents");
+mousedown.initMouseEvent("mousedown", true, true, window, 0,
+    x0, y0, x0, y0, false, false, false, false, 0, null);
+slider.dispatchEvent(mousedown);
+
+var mousemove = document.createEvent("MouseEvents");
+mousemove.initMouseEvent("mousemove", true, true, window, 0,
+    x1, y1, x1, y1, false, false, false, false, 0, null);
+slider.dispatchEvent(mousemove);
+
+/*var mouseup = document.createEvent("MouseEvents");
+mouseup.initMouseEvent("mouseup", true, true, window, 0,
+    x1, y1, x1, y1, false, false, false, false, 0, null);
+slider.dispatchEvent(mouseup);*/
+
+

}
+slide('nc_1_n1z');

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/linux-bu-shu-dotnet-huan-jing/index.html b/post/linux-bu-shu-dotnet-huan-jing/index.html new file mode 100644 index 0000000..29bd7de --- /dev/null +++ b/post/linux-bu-shu-dotnet-huan-jing/index.html @@ -0,0 +1,184 @@ + + + + + + +linux部署dotnet环境 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ linux部署dotnet环境 +

+ +
+

首先我们得去官网上下载 .net core sdk 和 runtime
+下载地址: https://dotnet.microsoft.com/download/dotnet-core/
+$ mkdir -p dotnet
+$ tar -zxf dotnet-runtime-6.0.2-linux-arm64.tar.gz -C ./dotnet/
+移动与软链接
+首先要把 dotnet 文件夹移动到 /usr/share/ 目录下
+$ sudo mv dotnet /usr/share/dotnet/
+移动过去之后,再来创建个软连接
+$ sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
+ok,现在重启下终端或者ssh,你就可以开始使用dotnet了

+

注意可能需要安装libicu
+sudo apt-get install libicu-dev

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/linux-ding-shi-ren-wu/index.html b/post/linux-ding-shi-ren-wu/index.html new file mode 100644 index 0000000..10d6727 --- /dev/null +++ b/post/linux-ding-shi-ren-wu/index.html @@ -0,0 +1,186 @@ + + + + + + +linux定时任务 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ linux定时任务 +

+ +
+

#查看任务
+crontab -l

+

编辑crontab 任务:
+sudo crontab -e

+

再文件的最后一行添加以下这行内容:

+

如:
+0 1 * * * python example.py
+0 1 代表 每天的01:00
+每过5分钟执行
+*/5 * * * * dotnet /home/pi/GetIP/net6.0/GetIP.dll
+每小时的第五分钟执行
+05 * * * * curl localhost/system/dns/dnns.php?ac=ToDNS

+

编辑完毕后,需要执行如下命令

+

sudo /etc/init.d/cron restart

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/mysql-luan-ma-txt/index.html b/post/mysql-luan-ma-txt/index.html new file mode 100644 index 0000000..2e594f9 --- /dev/null +++ b/post/mysql-luan-ma-txt/index.html @@ -0,0 +1,171 @@ + + + + + + +MYsql乱码.txt | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ MYsql乱码.txt +

+ +
+

刚开始的时候普通连接出现乱码,我是这么解决的

+

<add name="blogdbEntities" connectionString="metadata=res://*/Models.BlogDB.csdl|res://*/Models.BlogDB.ssdl|res://*/Models.BlogDB.msl;provider=Devart.Data.MySql;provider connection string=&quot;user id=root;password=root1234;host=127.0.0.1;database=blogdb;persist security info=True;Character Set=utf8&quot;" providerName="System.Data.EntityClient" />

+

把字符集给指定下。

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/mysql-yuan-cheng-fang-wen-root/index.html b/post/mysql-yuan-cheng-fang-wen-root/index.html new file mode 100644 index 0000000..698c446 --- /dev/null +++ b/post/mysql-yuan-cheng-fang-wen-root/index.html @@ -0,0 +1,176 @@ + + + + + + +mysql远程访问 root | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ mysql远程访问 root +

+ +
+

命令一:
+GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;

+

命令二:
+FLUSH PRIVILEGES;

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/net-core-iis-restful-webapi-put-delete-405-method-not-allowed/index.html b/post/net-core-iis-restful-webapi-put-delete-405-method-not-allowed/index.html new file mode 100644 index 0000000..0cbfc2f --- /dev/null +++ b/post/net-core-iis-restful-webapi-put-delete-405-method-not-allowed/index.html @@ -0,0 +1,175 @@ + + + + + + +net core iis restful webapi put delete 405 Method Not Allowed | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ net core iis restful webapi put delete 405 Method Not Allowed +

+ +
+

1、在web.config文件中system.webServer节点添加如下配置

+

<modules runAllManagedModulesForAllRequests="false"> <remove name="WebDAVModule" /> </modules>

+

2、重启对应的网站

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/openwrt-cha-jian/index.html b/post/openwrt-cha-jian/index.html new file mode 100644 index 0000000..9edbed6 --- /dev/null +++ b/post/openwrt-cha-jian/index.html @@ -0,0 +1,449 @@ + + + + + + +OpenWrt 插件 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ OpenWrt 插件 +

+ +
+

OpenWrt 编译 LuCI ---> Applications 添加插件应用说明

+

make menuconfig 进入定制界面
+进入编译选项配置界面,.按照需要配置.( ‘*’ 代表编入固件,‘M’ 表示编译成模块或者IPK包, ‘空’不编译 )

+

非常感谢大佬”L有大雕“更正补充,20181121
+大佬源码仓库:https://github.com/coolsnowwolf/lede
+https://op.supes.top/packages/

+

选择LuCI 配置 添加插件应用:常用

+

LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制
+LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus +
+LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定
+LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启
+LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端)
+LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包)
+LuCI ---> Applications ---> luci-app-firewall #添加防火墙
+LuCI ---> Applications ---> luci-app-frpc #内网穿透 Frp
+LuCI ---> Applications ---> luci-app-ipsec-vpnd #VPN服务器 IPSec
+LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器
+LuCI ---> Applications ---> luci-app-ramfree #释放内存
+LuCI ---> Applications ---> luci-app-samba #网络共享(Samba)

+

LuCI ---> Applications ---> luci-app-ssr-plus #SSR科学上网Plus+
+luci-app-ssr-plus ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级)
+luci-app-ssr-plus ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级)
+luci-app-ssr-plus ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级)
+luci-app-ssr-plus ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级)
+luci-app-ssr-plus ---> Include Include Shadowsocks Simple Obfs Plugin #SS Simple-Obfs混淆代理(Nginx)
+luci-app-ssr-plus ---> Include Xray #Xray代理(XTLS)

+

LuCI ---> Applications ---> luci-app-turboacc #Turbo ACC 网络加速(支持 Fast Path 或者 硬件 NAT)
+LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本
+LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发)
+LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置
+LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器
+LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划
+LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线
+LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒
+LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟
+LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透

+

以下是全部: 注:应用后面标记 “ * ” 为最近新添加;标记“ ! ”与其他插件依赖或冲突。

+

LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制
+LuCI ---> Applications ---> luci-app-acme #ACME自动化证书管理环境(丢弃)
+LuCI ---> Applications ---> luci-app-adblock #ADB广告过滤
+LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus +
+LuCI ---> Applications ---> luci-app-adbyby #广告过滤大师(丢弃)
+LuCI ---> Applications ---> luci-app-adguardhome #AdGuard home广告过滤(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-adkill #广告过滤(丢弃)
+LuCI ---> Applications ---> luci-app-advanced-reboot #Linksys高级重启
+LuCI ---> Applications ---> luci-app-advancedsetting #系统高级设置(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-ahcp #Ad-Hoc配置协议(AHCP) ipv6 and 双栈 自动配置协议 !
+LuCI ---> Applications ---> luci-app-airplay2 #Apple AirPlay2 无损音频接收服务器
+LuCI ---> Applications ---> luci-app-aliddns #阿里DDNS客户端(丢弃,集成至ddns)
+LuCI ---> Applications ---> luci-app-aliyundrive-webdav #阿里云盘 WebDAV 服务
+LuCI ---> Applications ---> luci-app-amule #aMule下载工具 !
+LuCI ---> Applications ---> luci-app-argon-config #Argon主题配置插件(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-aria2 # Aria2下载工具
+LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定
+LuCI ---> Applications ---> luci-app-asterisk #支持Asterisk电话服务器
+LuCI ---> Applications ---> luci-app-attendedsysupgrade #固件更新升级相关
+LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启
+LuCI ---> Applications ---> luci-app-baidupcs-web #百度网盘管理
+LuCI ---> Applications ---> luci-app-bcp38 #BCP38网络入口过滤(不确定)
+LuCI ---> Applications ---> luci-app-bird1-ipv4 #对Bird1-ipv4的支持
+LuCI ---> Applications ---> luci-app-bird1-ipv6 #对Bird1-ipv6的支持
+LuCI ---> Applications ---> luci-app-bird4 #Bird 4(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-bird6 #Bird 6(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-bmx6 #BMX6路由协议
+LuCI ---> Applications ---> luci-app-bmx7 #BMX7路由协议(丢弃)
+LuCI ---> Applications ---> luci-app-caldav #联系人(丢弃)
+LuCI ---> Applications ---> luci-app-cifs-mount #CIFS/SMB挂载设置
+LuCI ---> Applications ---> luci-app-cifsd #CIFS/SMB网络共享
+LuCI ---> Applications ---> luci-app-cjdns #加密IPV6网络相关
+LuCI ---> Applications ---> luci-app-clamav #ClamAV杀毒软件
+LuCI ---> Applications ---> luci-app-clash #Clash客户端(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-commands #Shell命令模块
+LuCI ---> Applications ---> luci-app-cshark #CloudShark捕获工具
+LuCI ---> Applications ---> luci-app-dawn #分布式AP管理程序
+LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端)
+LuCI ---> Applications ---> luci-app-diag-core #core诊断工具
+LuCI ---> Applications ---> luci-app-diskman #磁盘管理工具
+luci-app-diskman ---> Include btrfs-progs #新型的写时复制 (COW)
+luci-app-diskman ---> Include lsblk #lsblk命令 用于列出所有可用块设备的信息
+luci-app-diskman ---> Include mdadm #mdadm命令 用于创建、管理、监控RAID设备的工具
+luci-app-diskman ---> Include kmod-md-raid456 #RAID 4,5,6 驱动程序模块(丢弃)
+luci-app-diskman ---> Include kmod-md-linear #RAID 驱动程序模块(丢弃)
+LuCI ---> Applications ---> luci-app-dnscrypt-proxy #DNSCrypt解决DNS污染
+LuCI ---> Applications ---> luci-app-dnsfilter #DNSFilter基于DNS的广告过滤
+LuCI ---> Applications ---> luci-app-dnsforwarder #DNSForwarder防DNS污染
+LuCI ---> Applications ---> luci-app-dnspod #DNSPod动态域名解析(丢弃)
+LuCI ---> Applications ---> luci-app-docker #Docker容器(dockerman更名为docker)
+LuCI ---> Applications ---> luci-app-dump1090 #民航无线频率(不确定)
+LuCI ---> Applications ---> luci-app-dynapoint #DynaPoint(未知)
+LuCI ---> Applications ---> luci-app-e2guardian #Web内容过滤器
+LuCI ---> Applications ---> luci-app-easymesh #简单MESH(可有线+无线回程)
+LuCI ---> Applications ---> luci-app-eqos #基于IP地址限速(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-familycloud #家庭云盘
+LuCI ---> Applications ---> luci-app-fileassistant #文件管理助手(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包)
+LuCI ---> Applications ---> luci-app-firewall #添加防火墙
+LuCI ---> Applications ---> luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS(丢弃,移至TurboACC)
+LuCI ---> Applications ---> luci-app-freifunk-diagnostics #freifunk组件 诊断(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-freifunk-policyrouting #freifunk组件 策略路由(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-freifunk-widgets #freifunk组件 索引(未知)(丢弃)
+LuCI ---> Applications ---> luci-app-frpc #内网穿透Frp客户端
+LuCI ---> Applications ---> luci-app-frps #内网穿透Frp服务端
+LuCI ---> Applications ---> luci-app-fwknopd #Firewall Knock Operator服务器
+LuCI ---> Applications ---> luci-app-guest-wifi #WiFi访客网络
+LuCI ---> Applications ---> luci-app-gfwlist #GFW域名列表(丢弃)
+LuCI ---> Applications ---> luci-app-go-aliyundrive-webdav #阿里云盘webdav协议(文件管理/同步等) *
+LuCI ---> Applications ---> luci-app-gost #隐蔽的https代理(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-haproxy-tcp #HAProxy负载均衡-TCP
+LuCI ---> Applications ---> luci-app-hd-idle #硬盘休眠
+LuCI ---> Applications ---> luci-app-hnet #Homenet Status家庭网络控制协议
+LuCI ---> Applications ---> luci-app-https-dns-proxy #通过HTTPS代理为DNS提供Web UI
+LuCI ---> Applications ---> luci-app-ipsec-vpnd #VPN服务器 IPSec
+LuCI ---> Applications ---> luci-app-jd-dailybonus #京东签到服务
+LuCI ---> Applications ---> luci-app-kodexplorer #KOD可道云私人网盘(与vnStat冲突 ! )
+LuCI ---> Applications ---> luci-app-kooldns #VPN服务器 ddns替代方案(丢弃)
+LuCI ---> Applications ---> luci-app-koolproxy #KP去广告(丢弃)
+LuCI ---> Applications ---> luci-app-lxc #LXC容器管理
+LuCI ---> Applications ---> luci-app-meshwizard #网络设置向导(丢弃)
+LuCI ---> Applications ---> luci-app-minidlna #完全兼容DLNA / UPnP-AV客户端的服务器软件
+LuCI ---> Applications ---> luci-app-mjpg-streamer #兼容Linux-UVC的摄像头程序
+LuCI ---> Applications ---> luci-app-mtwifi #MTWiFi驱动的支持 (丢弃)
+LuCI ---> Applications ---> luci-app-mmc-over-gpio #添加SD卡操作界面(丢弃)
+LuCI ---> Applications ---> luci-app-multiwan #多拨虚拟网卡(丢弃,移至syncdial)
+LuCI ---> Applications ---> luci-app-mwan #MWAN负载均衡(丢弃)
+LuCI ---> Applications ---> luci-app-music-remote-center #PCHiFi 数字转盘遥控
+LuCI ---> Applications ---> luci-app-mwan3 #MWAN3负载均衡
+LuCI ---> Applications ---> luci-app-mwan3helper #MWAN3分流助手
+LuCI ---> Applications ---> luci-app-n2n_v2 #N2N内网穿透 N2N v2 VPN服务
+LuCI ---> Applications ---> luci-app-netdata #Netdata实时监控(图形化)
+LuCI ---> Applications ---> luci-app-nfs #NFS网络共享
+LuCI ---> Applications ---> luci-app-nft-qos #QOS流控 Nftables版
+LuCI ---> Applications ---> luci-app-ngrokc #Ngrok 内网穿透(丢弃)
+LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器
+LuCI ---> Applications ---> luci-app-noddos #NodDOS Clients 阻止DDoS攻击
+LuCI ---> Applications ---> luci-app-nps #内网穿透nps
+LuCI ---> Applications ---> luci-app-ntpc #NTP时间同步服务器
+LuCI ---> Applications ---> luci-app-ocserv #OpenConnect VPN服务
+LuCI ---> Applications ---> luci-app-olsr #OLSR配置和状态模块
+LuCI ---> Applications ---> luci-app-olsr-services #OLSR服务器
+LuCI ---> Applications ---> luci-app-olsr-viz #OLSR可视化
+LuCI ---> Applications ---> luci-app-ocserv #OpenConnect VPN服务(丢弃)
+LuCI ---> Applications ---> luci-app-openclash #运行在OpenWrt上的Clash代理客户端(Le库以外的插件)
+LuCI ---> Applications ---> luci-app-openvpn #OpenVPN客户端
+LuCI ---> Applications ---> luci-app-openvpn-server #易于使用的OpenVPN服务器 Web-UI
+LuCI ---> Applications ---> luci-app-oscam #OSCAM服务器(丢弃)
+LuCI ---> Applications ---> luci-app-p910nd #打印服务器模块
+LuCI ---> Applications ---> luci-app-pagekitec #Pagekitec内网穿透客户端
+LuCI ---> Applications ---> luci-app-passwall #科学上网(Li大佬插件)
+Configuration ---> Include Brook #Brook代理(跨平台强加密且不可检测代理)
+Configuration ---> Include ChinaDNS-NG #防污染DNS服务
+Configuration ---> Include Haproxy #HAProxy #HAProxy负载均衡
+Configuration ---> Include Hysteria #Hysteria双边加速工具
+Configuration ---> Include Kcptun #Kcptun双边加速工具
+Configuration ---> Include NaiveProxy #NaiveProxy代理(Chrome网络堆栈伪装流量)
+Configuration ---> Include PDNSD #DNS服务器
+Configuration ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级)
+Configuration ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级)
+Configuration ---> Include Shadowsocks Rust Client #SS Rust客户端(负载均衡/探测延迟)
+Configuration ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级)
+Configuration ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级)
+Configuration ---> Include Simple-Obfs (Shadowsocks plugin) #simple-Obfs简单混淆工具(Nginx)
+Configuration ---> Include Trojan_GO #Trojan_GO代理(直接模仿协议HTTPS)
+Configuration ---> Include Trojan_Plus #Trojan_Plus代理(直接模仿协议HTTPS)
+Configuration ---> Include V2ray #V2Ray代理
+Configuration ---> Include v2ray-plugin (Shadowsocks plugin) #SS V2ray插件(WebSocket+TLS )
+Configuration ---> Include Xray #Xray代理(XTLS)
+Configuration ---> Include Xray-Plugin (Shadowsocks Plugin) #SS Xray插件(WebSocket+TLS ) *
+Configuration ---> Include Dns2socks #DNS服务器(丢弃)
+Configuration ---> Include Redsocks2 #Redsocks2代理(透明TCP定向Socks/HTTPS代理服务器)(丢弃)
+Configuration ---> Include Shadowsocks #SS代理(丢弃)
+Configuration ---> Include Shadowsocks Server #SS服务器(丢弃)
+Configuration ---> Include Shadowsocks Rust (AEAD ciphers only) #SS-RUST代理(AEAD加密)(丢弃)
+Configuration ---> Include ShadowsocksR #SSR代理(丢弃)
+Configuration ---> Include ShadowsocksR Server #SSR服务器(丢弃)
+Configuration ---> Include Https DNS Proxy(DoH) #HttpsDNS服务(丢弃)
+LuCI ---> Applications ---> luci-app-polipo #Polipo代理(是一个小型且快速的网页缓存代理)
+LuCI ---> Applications ---> luci-app-pppoe-relay #PPPoE NAT穿透 点对点协议(PPP)
+LuCI ---> Applications ---> luci-app-pptp-server #VPN服务器 PPTP
+LuCI ---> Applications ---> luci-app-privoxy #Privoxy网络代理(带过滤无缓存)
+LuCI ---> Applications ---> luci-app-ps3netsrv #PS3 NET服务器(用于加载蓝光/游戏ISO/PKG)
+LuCI ---> Applications ---> luci-app-pushbot #全能推送(钉钉推送,企业微信推送,Bark,PushPlus推送)
+LuCI ---> Applications ---> luci-app-qbittorrent #BT下载工具(qBittorrent)
+Build Version Selection (Static Build) ---> Static Build #选择静态编译版本
+Build Version Selection (Static Build) ---> Dynamic Build #选择动态编译版本
+LuCI ---> Applications ---> luci-app-qos #流量服务质量(QoS)流控
+LuCI ---> Applications ---> luci-app-radicale #CalDAV/CardDAV同步工具
+LuCI ---> Applications ---> luci-app-ramfree #释放内存
+LuCI ---> Applications ---> luci-app-rclone #命令行云端同步工具
+Include rclone-webui #Rclone界面
+Include rclone-ng (another webui) #Rclone另一个界面
+Include fuse-utils (mount cloud storage) #fuse-utils(挂载云存储)(丢弃)
+LuCI ---> Applications ---> luci-app-rp-pppoe-server #Roaring Penguin PPPoE Server 服务器
+LuCI ---> Applications ---> luci-app-samba #网络共享(Samba)
+LuCI ---> Applications ---> luci-app-samba4 #网络共享(Samba4)
+LuCI ---> Applications ---> luci-app-serverchan #微信/Telegram推送的插件
+LuCI ---> Applications ---> luci-app-sfe #Turbo ACC网络加速(丢弃,移至TurboACC)
+LuCI ---> Applications ---> luci-app-shadowsocks #SS科学上网(丢弃)
+LuCI ---> Applications ---> luci-app-shadowsocks-libes #SS-libev服务端
+LuCI ---> Applications ---> luci-app-shairplay #支持AirPlay功能
+LuCI ---> Applications ---> luci-app-siitwizard #SIIT配置向导 SIIT-Wizzard
+LuCI ---> Applications ---> luci-app-simple-adblock #简单的广告拦截
+LuCI ---> Applications ---> luci-app-smartdns #SmartDNS本地服务器(丢弃)
+LuCI ---> Applications ---> luci-app-softethervpn #SoftEther VPN服务器 NAT穿透
+LuCI ---> Applications ---> luci-app-splash #Client-Splash是无线MESH网络的一个热点认证系统
+LuCI ---> Applications ---> luci-app-sqm #流量智能队列管理(QOS)
+LuCI ---> Applications ---> luci-app-squid #Squid代理服务器
+LuCI ---> Applications ---> luci-app-ssr-plus #SSR科学上网Plus+(Le大佬插件)
+Include libustream-ssl ---> Include libustream-wolfssl #选择wolfSSL库(传输层安全协议)
+Include libustream-ssl ---> Include libustream-openssl #选择OpenSSL库(传输层安全协议)
+luci-app-ssr-plus ---> Include Kcptun #Kcptun双边加速工具
+luci-app-ssr-plus ---> Include NaiveProxy #NaiveProxy代理(Chrome网络堆栈伪装流量)
+luci-app-ssr-plus ---> Include Redsocks2 #Redsocks2代理(透明TCP定向Socks/HTTPS代理服务器)
+luci-app-ssr-plus ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级)
+luci-app-ssr-plus ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级)
+luci-app-ssr-plus ---> Include Shadowsocks Rust Client #SS Rust客户端(负载均衡/探测延迟)
+luci-app-ssr-plus ---> Include Shadowsocks Rust Server #SS Rust服务端(负载均衡/探测延迟)
+luci-app-ssr-plus ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级)
+luci-app-ssr-plus ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级)
+luci-app-ssr-plus ---> Include Simple-Obfs Plugin #SS Simple-Obfs混淆代理(Nginx)
+luci-app-ssr-plus ---> Include Trojan #Trojan代理(直接模仿协议HTTPS)
+luci-app-ssr-plus ---> Include Shadowsocks V2ray Plugin #SS V2ray代理(WebSocket+TLS )
+luci-app-ssr-plus ---> Include Xray #Xray代理(XTLS)
+luci-app-ssr-plus ---> Include Shadowsocks New Version #新SS代理(丢弃)
+luci-app-ssr-plus ---> Include Shadowsocks #SS代理(丢弃)
+luci-app-ssr-plus ---> Include Shadowsocks Rust (AEAD ciphers only) #SS-RUST代理(AEAD密码) (丢弃)
+luci-app-ssr-plus ---> Include V2ray #V2Ray代理(丢弃)
+luci-app-ssr-plus ---> Include Xray (V2RAY/Trojan-GO implemented) #Xray代理(丢弃)
+luci-app-ssr-plus ---> Include Trojan-go #Trojan-go代理(丢弃)
+luci-app-ssr-plus ---> Include Shadowsocks Server #SS服务器(丢弃)
+luci-app-ssr-plus ---> Include Shadowsocks Rust Server #SS Rust服务器(丢弃)
+luci-app-ssr-plus ---> Include ShadowsocksR Server #SSR服务器(丢弃)
+luci-app-ssr-plus ---> Include DNS2SOCKS #DNS服务器(丢弃)
+luci-app-ssr-plus ---> Include ShadowsocksR Socks and Tunnel(丢弃)
+luci-app-ssr-plus ---> Include Socks Server #socks代理服务器(丢弃)
+LuCI ---> Applications ---> luci-app-ssr-pro #SSR-Pro(丢弃)
+LuCI ---> Applications ---> luci-app-ssrserver-python #ShadowsocksR Python服务器
+LuCI ---> Applications ---> luci-app-statistics #流量监控工具
+LuCI ---> Applications ---> luci-app-syncdial #多拨虚拟网卡(原macvlan)
+LuCI ---> Applications ---> luci-app-tinyproxy #Tinyproxy是 HTTP(S)代理服务器
+LuCI ---> Applications ---> luci-app-transmission #BT下载工具
+LuCI ---> Applications ---> luci-app-travelmate #旅行路由器
+LuCI ---> Applications ---> luci-app-ttyd #网页终端命令行
+LuCI ---> Applications ---> luci-app-turboacc #Turbo ACC 网络加速(支持 Fast Path 或者 硬件 NAT)
+luci-app-turboacc ---> Include Shortcut-FE #Shortcut-FE 流量分载
+luci-app-turboacc ---> Include BBR CCA #BBR拥塞控制算法提升TCP网络性能
+luci-app-turboacc ---> Include DNSForwarder #DNS防污染 Forwarder
+luci-app-turboacc ---> Include DNSProxy #DNS防污染 Proxy
+LuCI ---> Applications ---> luci-app-udpxy #udpxy做组播服务器
+LuCI ---> Applications ---> luci-app-uhttpd #uHTTPd Web服务器
+LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本
+UnblockNeteaseMusic Golang Version #Golang版本
+UnblockNeteaseMusic NodeJS Version #NodeJS版本
+LuCI ---> Applications ---> luci-app-unblockneteasemusic-go #解除网易云音乐(合并)
+LuCI ---> Applications ---> luci-app-unblockneteasemusic-mini #解除网易云音乐(合并)
+LuCI ---> Applications ---> luci-app-unbound #Unbound DNS解析器
+LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发)
+LuCI ---> Applications ---> luci-app-usb-printer #USB 打印服务器
+LuCI ---> Applications ---> luci-app-uugamebooster #UU网游加速器
+LuCI ---> Applications ---> luci-app-v2ray-server #V2Ray 服务器
+LuCI ---> Applications ---> luci-app-v2ray-pro #V2Ray透明代理(丢弃,集成SSR)
+LuCI ---> Applications ---> luci-app-verysync #微力同步
+LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置
+LuCI ---> Applications ---> luci-app-vnstat #vnStat网络监控(图表)(与kodexplorer冲突 ! )
+LuCI ---> Applications ---> luci-app-vpnbypass #VPN BypassWebUI 绕过VPN设置
+LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器
+LuCI ---> Applications ---> luci-app-vssr #VSSR科学上网(je大佬插件)
+luci-app-vssr ---> Include Xray #Xray代理(XTLS)
+luci-app-vssr ---> Include Trojan #Trojan代理(直接模仿协议HTTPS)
+luci-app-vssr ---> Include Kcptun #Kcptun双边加速工具
+luci-app-vssr ---> Include Shadowsocks Xray Plugin #SS Xray代理
+luci-app-vssr ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级)
+LuCI ---> Applications ---> luci-app-watchcat #断网检测功能与定时重启
+LuCI ---> Applications ---> luci-app-webadmin #Web管理页面设置
+LuCI ---> Applications ---> luci-app-webshell #网页命令行终端(丢弃)
+LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划
+LuCI ---> Applications ---> luci-app-wireguard #VPN服务器 WireGuard状态
+LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线
+LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒
+LuCI ---> Applications ---> luci-app-wrtbwmon #实时流量监测
+LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟
+LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/redmi-ac2100-gu-jian/index.html b/post/redmi-ac2100-gu-jian/index.html new file mode 100644 index 0000000..c934635 --- /dev/null +++ b/post/redmi-ac2100-gu-jian/index.html @@ -0,0 +1,247 @@ + + + + + + +redmi ac2100固件 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ redmi ac2100固件 +

+ +
+

更改redmi ac2100固件版本
+要想刷固件,需要将路由器的固件版本改为2.0.23。但为了防止意外,强烈建议先下载官方的路由修复器。

+

下载路由修复器
+度盘中的MIWIFIRepairTool.x86.rar压缩包,压缩可用,软件本身有使用教程

+

下载2.0.23版本的固件
+度盘中的miwifi_rm2100_all_fb720_2.0.23.bin文件

+

下载后,登录路由器管理界面,打开常用设置->系统状态->升级检测,点击手动升级,将上面下载的2.0.23版本固件刷入路由器

+

刷入breed
+ps:如果是新路由器,个人认为不太需要检查坏块,所以本文中没相关的方法,有需要的可自行搜索

+

打开ssh
+这里,我们使用openwrt官方提供的方法打开ssh

+

登录路由器管理界面,按f12打开开发者工具devtool,点击console,输入下列代码,并回车

+

复制代码
+`function getSTOK() {
+let match = location.href.match(/;stok=(.*?)//);
+if (!match) {
+return null;
+}
+return match[1];
+}

+

function execute(stok, command) {
+command = encodeURIComponent(command);
+let path = /cgi-bin/luci/;stok=${stok}/api/misystem/set_config_iotdev?bssid=SteelyWing&user_id=SteelyWing&ssid=-h%0A${command}%0A;
+console.log(path);
+return fetch(new Request(location.origin + path));
+}

+

function enableSSH() {
+stok = getSTOK();
+if (!stok) {
+console.error('stok not found in URL');
+return;
+}
+console.log(stok = "${stok}");

+
password = prompt('Input new SSH password');
+if (!password) {
+    console.error('You must input password');
+    return;
+}
+
+execute(stok, 
+
+

nvram set ssh_en=1 nvram commit sed -i 's/channel=.*/channel=\\"debug\\"/g' /etc/init.d/dropbear /etc/init.d/dropbear start
+)
+.then((response) => response.text())
+.then((text) => console.log(text));
+console.log('New SSH password: ' + password);
+execute(stok, echo -e "${password}\\n${password}" | passwd root)
+.then((response) => response.text())
+.then((text) => console.log(text));
+}

+

enableSSH();`
+复制代码
+运行成功会返回一个弹窗,要你设置ssh的密码,输入密码点确定。默认帐号为root

+

通过ssh连接路由器,这里推荐xshell:https://www.netsarang.com/zh/xshell/

+

xshell可以免费使用

+

打开xshell,新建会话,主机项填路由ip,点连接。然后输入相应的帐号密码。第一次连接会要求保存凭证,接受并保存即可。

+

这里,暂时先告一段落,接下来是下载breed。

+

利用winscp传入breed
+下载度盘中的breed-mt7621-xiaomi-r3g.bin和WinSCP-5.17.10-Setup.exe

+

安装winscp,新建会话,连接协议选scp,建立和路由器的连接

+

然后将breed上传到路由器的/tmp目录(软件的两边选好路径之后,选中文件,右键点upload上传)

+

然后,回到xshell,输入命令cd /tmp

+

然后输入ls看看是否上传成功

+

之后输入下面的命令将breed刷入路由器

+

mtd -r write breed-mt7621-xiaomi-r3g.bin Bootloader
+刷入之后,关闭路由器电源,按住reset,重新打开路由器电源,直到路由器的system灯变成蓝灯闪烁后,松开reset键

+

浏览器访问192.168.1.1,可以看到breed被刷入成功

+

点击环境变量编辑,新增两个变量

+

字段xiaomi.r3g.bootfw,值为2

+

刷入openwrt底包(可选)
+ps:如果不想刷openwrt,不建议刷入底包

+

下载度盘中的openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-initramfs-kernel.bin,点击breed中的固件更新

+

勾选固件->选择文件->上传文件

+

即可刷入openwrt低包,然后用这个临时的openwrt去刷想要的openwrt即可

+

临时底包刷固件/breed刷固件教程:https://www.right.com.cn/forum/thread-4025861-1-1.html

+

刷入openwrt/padavan
+升级固件的方法可看上一小节

+

openwrt可下载度盘中的03.03-openwrt-ramips-mt7621-redmi-ac2100-squashfs-sysupgrade.bin

+

padavan可下载度盘中的RM2100_3.4.3.9-099.trx

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/redmi-ac2100-lu-you-qi-guan-fang-gu-jian-yun-xu-ipv6-wai-wang-fang-wen-xia-you-she-bei/index.html b/post/redmi-ac2100-lu-you-qi-guan-fang-gu-jian-yun-xu-ipv6-wai-wang-fang-wen-xia-you-she-bei/index.html new file mode 100644 index 0000000..d9ca7a2 --- /dev/null +++ b/post/redmi-ac2100-lu-you-qi-guan-fang-gu-jian-yun-xu-ipv6-wai-wang-fang-wen-xia-you-she-bei/index.html @@ -0,0 +1,220 @@ + + + + + + +Redmi AC2100 路由器 官方固件允许IPv6外网访问下游设备 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ Redmi AC2100 路由器 官方固件允许IPv6外网访问下游设备 +

+ +
+

function getSTOK() {
+let match = location.href.match(/;stok=(.*?)//);
+if (!match) {
+return null;
+}
+return match[1];
+}

+

function execute(stok, command) {
+command = encodeURIComponent(command);
+let path = /cgi-bin/luci/;stok=${stok}/api/misystem/set_config_iotdev?bssid=SteelyWing&user_id=SteelyWing&ssid=-h%0A${command}%0A;
+console.log(path);
+return fetch(new Request(location.origin + path));
+}

+

function enableSSH() {
+stok = getSTOK();
+if (!stok) {
+console.error('stok not found in URL');
+return;
+}
+console.log(stok = "${stok}");

+
password = prompt('Input new SSH password');
+if (!password) {
+    console.error('You must input password');
+    return;
+}
+
+execute(stok, 
+
+

nvram set ssh_en=1 nvram commit sed -i 's/channel=.*/channel=\\"debug\\"/g' /etc/init.d/dropbear /etc/init.d/dropbear start
+)
+.then((response) => response.text())
+.then((text) => console.log(text));
+console.log('New SSH password: ' + password);
+execute(stok, echo -e "${password}\\n${password}" | passwd root)
+.then((response) => response.text())
+.then((text) => console.log(text));
+}

+

enableSSH();

+

使用Putty 或 Xshell 终端连接路由器,MIWIFI默认网关地址为 192.168.31.1,用户名为 root,密码为上一步设定的密码。

+

使用 Vim 修改防火墙配置文件:

+

vim /etc/config/firewall

+

将文件中defaults 闭包下 disable_ipv6 的值改为 0,zone 闭包下 forward 的值改为 ACCEPT

+

在原有的Rule 中添加一个闭包,允许IPv6外网访问路由器下游设备

+

config rule
+option name 'Allow-IPv6'
+option target 'ACCEPT'
+option family 'ipv6'
+list proto 'all'
+option src ''
+option dest '
'

+

终端执行命令,重启路由器防火墙:

+

/etc/init.d/firewall restart

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/roo-fen-qu-kuo-rong/index.html b/post/roo-fen-qu-kuo-rong/index.html new file mode 100644 index 0000000..55f50b9 --- /dev/null +++ b/post/roo-fen-qu-kuo-rong/index.html @@ -0,0 +1,195 @@ + + + + + + +roo分区扩容 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ roo分区扩容 +

+ +
+

U盘是这个路径
+sudo fdisk /dev/sda

+

1、进入分区管理
+输入p,看到两个分区,第一个分区不要动,我们改动第二个分区。
+注意,记住/dev/mmcblk0p2的start起始块数
+sudo fdisk /dev/mmcblk0
+2、删除分区

+

输入d , 再输入2,删除第二分区

+

接着输入p,确认只剩下一个分区
+3、创建分区

+

输入n,创建一个分区
+输入p,建立主分区

+

输入2,输入起始块数

+

接着回车,默认能够分配到最大

+

最后输入y,确认

+

4、保存并重启

+

输入w,保存更改

+

5、修护分区

+

输入
+sudo resize2fs /dev/mmcblk0p2

+

最后再查看一下

+

输入df -h

+

输入sudo reboot,重启

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/shu-mei-pai-huan-qing-hua-yuan/index.html b/post/shu-mei-pai-huan-qing-hua-yuan/index.html new file mode 100644 index 0000000..b1509bc --- /dev/null +++ b/post/shu-mei-pai-huan-qing-hua-yuan/index.html @@ -0,0 +1,182 @@ + + + + + + +树莓派换清华源 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 树莓派换清华源 +

+ +
+

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
+sudo nano /etc/apt/sources.list
+将原文件内容替换成如下:
+[arch=armhf]
+deb [arch=arm64] http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ bullseye main non-free contrib rpi
+deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ bullseye main non-free contrib rpi

+

sudo cp /etc/apt/sources.list.d/raspi.list /etc/apt/sources.list.d/raspi.list.bak
+sudo nano /etc/apt/sources.list.d/raspi.list
+将原文件内容替换成如下:

+

deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ bullseye main
+更新源

+

sudo apt-get update

+

gpg --keyserver keyserver.ubuntu.com --recv-keys 9165938D90FDDD2E
+gpg --export --armor 9165938D90FDDD2E| sudo apt-key add -

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/shu-mei-pai-pei-zhi-wifi/index.html b/post/shu-mei-pai-pei-zhi-wifi/index.html new file mode 100644 index 0000000..69b8943 --- /dev/null +++ b/post/shu-mei-pai-pei-zhi-wifi/index.html @@ -0,0 +1,185 @@ + + + + + + +树莓派配置wifi | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 树莓派配置wifi +

+ +
+

创建wpa_supplicant.conf文件 到boot分区 文件输入以下内容

+

country=CN
+ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+update_config=1

+

network={
+ssid="WiFi名称"
+psk="密码"
+key_mgmt=WPA-PSK
+priority=1
+}

+

network={
+ssid="WiFi名称"
+psk="密码"
+key_mgmt=WPA-PSK
+priority=2
+scan_ssid=1
+}

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/sql-server-mi-yao-ji-jin/index.html b/post/sql-server-mi-yao-ji-jin/index.html new file mode 100644 index 0000000..bbfadb6 --- /dev/null +++ b/post/sql-server-mi-yao-ji-jin/index.html @@ -0,0 +1,190 @@ + + + + + + +SQL Server 密钥集锦 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ SQL Server 密钥集锦 +

+ +
+

SQL Server 2019
+Enterprise:HMWJ3-KY3J2-NMVD7-KG4JR-X2G8G
+Enterprise Core:2C9JR-K3RNG-QD4M4-JQ2HR-8468J
+Strandard:PMBDC-FXVM3-T777P-N4FY8-PKFF4
+Web:33QQK-WWQNB-G6T46-C86YB-TX2PH

+

SQL Server 2017
+Enterprise:TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
+Enterprise Core:6GPYM-VHN83-PHDM2-Q9T2R-KBV83
+Strandard:PHDV4-3VJWD-N7JVP-FGPKY-XBV89
+Web:WV79P-7K6YG-T7QFN-M3WHF-37BXC

+

SQL Server 2016
+Enterprise:MDCJV-3YX8N-WG89M-KV443-G8249
+Enterprise Core:TBR8B-BXC4Y-298NV-PYTBY-G3BCP
+Standard:B9GQY-GBG4J-282NY-QRG4X-KQBCR
+Web:BXJTY-X3GNH-WHTHG-8V3XK-T8243

+

SQL Server 2014
+Business Intelligence:GJPF4-7PTW4-BB9JH-BVP6M-WFTMJ
+Developer:82YJF-9RP6B-YQV9M-VXQFR-YJBGX
+Enterprise:27HMJ-GH7P9-X2TTB-WPHQC-RG79R
+Enterprise Core:TJYBJ-8YGH6-QK2JJ-M9DFB-D7M9D
+Strandard:P7FRV-Y6X6Y-Y8C6Q-TB4QR-DMTTK
+Web:J9MBB-R8PMP-R8WTW-8JJRD-C6GGW

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/termux-shi-yong-ssh-lian-jie/index.html b/post/termux-shi-yong-ssh-lian-jie/index.html new file mode 100644 index 0000000..7fb8105 --- /dev/null +++ b/post/termux-shi-yong-ssh-lian-jie/index.html @@ -0,0 +1,172 @@ + + + + + + +Termux使用ssh链接 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ Termux使用ssh链接 +

+ +
+

1.更改密码(或者说设定初始密码)
+输入:passwd

+

2.安装openssh
+pkg upgrade
+pkg install openssh

+

开启ssh并连接
+在安卓上开启ssh请执行这一句:
+sshd

+

如果要关闭执行这一句:
+pkill sshd
+ssh -p 8022 user@IP

+ +
+
+
+ + + + + + + + + + + + + +
+
+ + diff --git a/post/visual-studio-2022vs2022/index.html b/post/visual-studio-2022vs2022/index.html new file mode 100644 index 0000000..893c396 --- /dev/null +++ b/post/visual-studio-2022vs2022/index.html @@ -0,0 +1,172 @@ + + + + + + +Visual Studio 2022(VS2022) | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ Visual Studio 2022(VS2022) +

+ +
+

Pro:
+  TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
+Enterprise:
+  VHF9H-NXBBB-638P6-6JHCY-88JWH

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/webapi-quan-ju-fan-hui-jsontxt/index.html b/post/webapi-quan-ju-fan-hui-jsontxt/index.html new file mode 100644 index 0000000..76ab371 --- /dev/null +++ b/post/webapi-quan-ju-fan-hui-jsontxt/index.html @@ -0,0 +1,175 @@ + + + + + + +webapi全局返回json.txt | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ webapi全局返回json.txt +

+ +
+

配置Global.asax文件
+//webapi全局返回json
+GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear();

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/win10-qi-ye-ban-ji-huo/index.html b/post/win10-qi-ye-ban-ji-huo/index.html new file mode 100644 index 0000000..3193b8e --- /dev/null +++ b/post/win10-qi-ye-ban-ji-huo/index.html @@ -0,0 +1,178 @@ + + + + + + +win10企业版激活 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ win10企业版激活 +

+ +
+
    +
  • slmgr -ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D
  • +
  • slmgr -skms kms.03k.org
  • +
  • slmgr -ato
  • +
  • slmgr -dlv
  • +
+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/windows-chu-xian-zai-ci-xi-tong-shang-jin-zhi-yun-xing-jiao-ben/index.html b/post/windows-chu-xian-zai-ci-xi-tong-shang-jin-zhi-yun-xing-jiao-ben/index.html new file mode 100644 index 0000000..b8dd2be --- /dev/null +++ b/post/windows-chu-xian-zai-ci-xi-tong-shang-jin-zhi-yun-xing-jiao-ben/index.html @@ -0,0 +1,176 @@ + + + + + + +windows 出现在此系统上禁止运行脚本 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ windows 出现在此系统上禁止运行脚本 +

+ +
+

执行:get-ExecutionPolicy,返回状态:Restricted,表示状态是禁止的,
+然后要设置下
+执行:set-ExecutionPolicy RemoteSigned 开启
+选择Y

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/post/zeng-jia-swap/index.html b/post/zeng-jia-swap/index.html new file mode 100644 index 0000000..f0547fa --- /dev/null +++ b/post/zeng-jia-swap/index.html @@ -0,0 +1,193 @@ + + + + + + +增加swap | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

+ 增加swap +

+ +
+

首先dd出一个swap文件比如
+sudo dd if=/dev/zero of=/swapfile bs=1024 count=4096000
+这样我们就有了一个4g的swapfile在根目录下

+

ls -alh /swapfile
+-rw-r--r-- 1 root root 4.0G Jan 2 03:22 /swapfile
+接着我们格式化它
+sudo mkswap /swapfile
+修改文件的权限和所有者
+sudo chown root:root /swapfile
+sudo chmod 0600 /swapfile
+接着启用它
+sudo swapon /swapfile
+查看下是不是启用成功

+

free -m

+

当然如果不设置开机挂载的话,重启之后要重新执行
+sudo swapon /swapfile
+所以我们要设置开机自动挂载,编辑下面这个文件
+sudo vim /etc/fstab
+添加上
+/swapfile swap swap defaults 0 0
+重启验证下就好

+ +
+
+
+ + + + + + + + + + + + + + + +
+
+ + diff --git a/search/index.html b/search/index.html new file mode 100644 index 0000000..17592e9 --- /dev/null +++ b/search/index.html @@ -0,0 +1,157 @@ + + + + + + + + +搜索 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+   搜索中...... +

+ 第一次搜索可能需要耗费较长时间构建索引,请耐心等待... +
+ +
+ + + + +
+ + + diff --git a/styles/main.css b/styles/main.css new file mode 100644 index 0000000..ae0ec56 --- /dev/null +++ b/styles/main.css @@ -0,0 +1,1991 @@ +/*! modern-normalize | MIT License | https://github.com/sindresorhus/modern-normalize */ +/* Document + ========================================================================== */ +/** + * Use a better box model (opinionated). + */ +html { + box-sizing: border-box; +} +*, +*::before, +*::after { + box-sizing: inherit; +} +/** + * Use a more readable tab size (opinionated). + */ +:root { + -moz-tab-size: 4; + tab-size: 4; +} +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ +html { + line-height: 1.15; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} +/* Sections + ========================================================================== */ +/** + * Remove the margin in all browsers. + */ +body { + margin: 0; +} +/** + * Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) + */ +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; +} +/* Grouping content + ========================================================================== */ +/** + * Add the correct height in Firefox. + */ +hr { + height: 0; +} +/* Text-level semantics + ========================================================================== */ +/** + * Add the correct text decoration in Chrome, Edge, and Safari. + */ +abbr[title] { + text-decoration: underline dotted; +} +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; +} +/** + * 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp, +pre { + font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ +} +/** + * Add the correct font size in all browsers. + */ +small { + font-size: 80%; +} +/** + * Prevent `sub` and `sup` elements from affecting the line height in all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sub { + bottom: -0.25em; +} +sup { + top: -0.5em; +} +/* Forms + ========================================================================== */ +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 1 */ + line-height: 1.15; + /* 1 */ + margin: 0; + /* 2 */ +} +/** + * Remove the inheritance of text transform in Edge and Firefox. + * 1. Remove the inheritance of text transform in Firefox. + */ +button, +select { + /* 1 */ + text-transform: none; +} +/** + * Correct the inability to style clickable types in iOS and Safari. + */ +button, +[type='button'], +[type='reset'], +[type='submit'] { + -webkit-appearance: button; +} +/** + * Remove the inner border and padding in Firefox. + */ +button::-moz-focus-inner, +[type='button']::-moz-focus-inner, +[type='reset']::-moz-focus-inner, +[type='submit']::-moz-focus-inner { + border-style: none; + padding: 0; +} +/** + * Restore the focus styles unset by the previous rule. + */ +button:-moz-focusring, +[type='button']:-moz-focusring, +[type='reset']:-moz-focusring, +[type='submit']:-moz-focusring { + outline: 1px dotted ButtonText; +} +/** + * Correct the padding in Firefox. + */ +fieldset { + padding: 0.35em 0.75em 0.625em; +} +/** + * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers. + */ +legend { + padding: 0; +} +/** + * Add the correct vertical alignment in Chrome and Firefox. + */ +progress { + vertical-align: baseline; +} +/** + * Correct the cursor style of increment and decrement buttons in Safari. + */ +[type='number']::-webkit-inner-spin-button, +[type='number']::-webkit-outer-spin-button { + height: auto; +} +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type='search'] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ +} +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ +[type='search']::-webkit-search-decoration { + -webkit-appearance: none; +} +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ +} +/* Interactive + ========================================================================== */ +/* + * Add the correct display in Chrome and Safari. + */ +summary { + display: list-item; +} +*, +*:before, +*:after { + margin: 0; + padding: 0; +} +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + border: 0; + vertical-align: baseline; +} +html { + font-size: 58%; +} +body { + font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, opensans, Optima, 'Microsoft Yahei', sans-serif; + font-size: 16px; + letter-spacing: 1.0382px; +} +button { + outline: none !important; +} +a { + text-decoration: none !important; + transition: all 0.3s; +} +body, +div, +a, +p, +ul, +li, +ol, +h1, +h2, +h3, +h4, +h5, +h6, +table, +tr, +td { + box-sizing: border-box; + margin: 0; + padding: 0; +} +ol li { + list-style: decimal; + font-size: 16px; +} +ul li { + list-style: disc; + font-size: 16px; +} +hr { + margin-top: 1rem; + margin-bottom: 1rem; + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} +.main { + max-width: 100%; + min-height: 100vh; + margin: 0 auto; +} +.main .main-content { + flex: 1; + display: flex; + min-height: 100vh; + flex-direction: column; + justify-content: space-between; +} +.gt-post-content { + word-break: normal; + word-wrap: break-word; +} +.gt-post-content a { + transition: all 0.3s; +} +.gt-post-content img { + display: block; + max-width: 100%; + border-radius: 2px; + margin: 18px auto; +} +.gt-post-content p { + line-height: 1.725; + margin-bottom: 18px; + font-size: 16px; + letter-spacing: 1.0382px; +} +.gt-post-content pre { + margin-bottom: 18px; +} +.gt-post-content blockquote { + padding: 16px; + border-left: 4px; + border-style: solid; + margin-bottom: 16px; +} +.gt-post-content blockquote p { + margin-bottom: 0; +} +.gt-post-content table { + border-collapse: collapse; + margin: 1rem 0; + display: block; + overflow-x: auto; +} +.gt-post-content tr { + border-top: 1px solid #dfe2e5; +} +.gt-post-content td, +.gt-post-content th { + border: 1px solid #dfe2e5; + padding: 0.6em 1em; +} +.gt-post-content ul, +.gt-post-content ol { + padding-left: 20px; + line-height: 1.725; + margin-bottom: 16px; +} +.gt-post-content h1, +.gt-post-content h2, +.gt-post-content h3, +.gt-post-content h4, +.gt-post-content h5, +.gt-post-content h6 { + margin-bottom: 18px; + padding-top: 14px; + font-weight: bold; +} +.gt-post-content h1 { + font-size: 28px; +} +.gt-post-content h2 { + font-size: 24px; +} +.gt-post-content h3 { + font-size: 20px; +} +.gt-post-content h4 { + font-size: 18px; +} +.gt-post-content h5 { + font-size: 16px; +} +.gt-post-content h6 { + font-size: 14px; +} +.gt-post-content p code, +.gt-post-content li code { + padding: 0 6px; + margin: 0 3px; + font-size: 13px; + border-radius: 4px; + display: inline-block; +} +.gt-post-content pre { + margin-bottom: 18px; +} +.gt-post-content pre code { + font-size: 13px; + font-family: Menlo, Monaco, 'Source Code Pro', Consolas, 'Courier New', monospace; + padding: 1em; + border-radius: 5px; + line-height: 1.375; + width: 100%; + overflow: scroll; + display: block; +} +.gt-fr { + display: flex; + flex-direction: row; + align-items: center; +} +.gt-fc { + display: flex; + flex-direction: column; +} +.katex .mathdefault { + font-family: KaTeX_Math; + font-style: italic; +} +.navbar { + padding: 38px 96px; + position: relative; + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; +} +.navbar .navbar-brand { + display: flex !important; + flex-direction: row; + align-items: center; + display: inline-block; + padding-top: 0.3125rem; + padding-bottom: 0.3125rem; + margin-right: 1rem; + font-size: 1.25rem; + line-height: inherit; + white-space: nowrap; +} +.navbar .navbar-brand:hover, +.navbar .navbar-brand:focus { + text-decoration: none; +} +.navbar .navbar-brand .user-avatar { + width: 40px; + height: 40px; + border-radius: 50%; +} +.navbar .navbar-brand .site-name { + font-size: 28px !important; + font-weight: bold; + margin-left: 16px; +} +.navbar .navbar-nav { + width: 100%; + display: flex; + justify-content: flex-end; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} +.navbar .navbar-nav .nav-item { + padding: 16px 32px; +} +.navbar .navbar-nav .nav-item a { + font-size: 15px; + flex-shrink: 0; +} +.navbar .img-more { + width: 22px; + height: 22px; +} +.navbar .navbar-collapse { + flex-basis: 100%; + flex-grow: 1; + align-items: center; +} +.navbar .navbar-toggler { + padding: 0.25rem 0.75rem; + font-size: 1.25rem; + line-height: 1; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0.25rem; +} +.navbar .navbar-toggler:hover, +.navbar .navbar-toggler:focus { + text-decoration: none; +} +@media (max-width: 992px) { + .navbar { + padding: 30px 30px 0 30px !important; + } + .navbar .navbar-brand .user-avatar { + width: 31px; + height: 31px; + border-radius: 50%; + } + .navbar .navbar-brand .site-name { + font-size: 21px !important; + font-weight: bold; + } + .navbar .nav-item { + padding: 16px 32px; + } + .navbar .nav-item:first-child { + margin-top: 35px; + } +} +@media (min-width: 992px) { + .navbar-expand-lg { + flex-flow: row nowrap; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + flex-direction: row; + } + .navbar-expand-lg .navbar-collapse { + display: flex !important; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } +} +@media (max-width: 991px) { + #navbarSupportedContent { + display: none; + } +} +.post-list-container { + display: flex; + flex-direction: column; + align-items: center; +} +.post-list-container .post-inner { + min-width: 1000px; + max-width: 1000px; +} +.post-list-container .post-inner .post { + margin: 30px; + border-radius: 4px; + padding: 28px; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + transition: all 0.3s; +} +.post-list-container .post-inner .post .post-left { + width: 100%; + display: flex; + flex-direction: column; +} +.post-list-container .post-inner .post .post-left .sticky-top-flag { + color: white; + padding: 3px 10px; + font-size: 12px; + border-radius: 3px; + margin-right: 10px; + vertical-align: middle; +} +.post-list-container .post-inner .post .post-left .post-title { + font-size: 22px; + font-weight: normal; + vertical-align: middle; +} +.post-list-container .post-inner .post .post-left .post-abstract { + width: 100%; + margin-top: 20px; + line-height: 1.5; +} +.post-list-container .post-inner .post .post-left .post-abstract * { + font-size: 13px; + margin-bottom: 0; +} +.post-list-container .post-inner .post .post-left .post-info { + margin-top: 20px; +} +.post-list-container .post-inner .post .post-left .post-info .post-time { + font-size: 12px; +} +.post-list-container .post-inner .post .post-left .post-info .post-tag { + font-size: 12px; + margin-left: 10px; +} +.post-list-container .post-inner .post:hover { + transform: scale(1.012); +} +.post-list-container .post-inner .post .post-feature-image { + width: 200px; + height: 100px; + flex-basis: 200px; + flex-shrink: 0; + margin-left: 20px; + border-radius: 2px; + overflow: hidden; + background-size: cover; + background-position: center; +} +.pagination-container { + padding: 24px 32px 32px; + align-self: center; +} +.pagination-container .prev-page { + margin: 0 16px; + font-size: 14px; +} +.pagination-container .next-page { + margin: 0 16px; + font-size: 14px; +} +@media (max-width: 992px) { + .post-list-container .post-inner { + min-width: 0; + width: 100%; + margin-top: 16px; + } + .post-list-container .post-inner .post { + margin: 12px 16px 12px 16px; + padding: 18px 22px 18px 22px; + } + .post-list-container .post-inner .post .post-left .post-title { + font-size: 17px; + font-weight: bold; + } + .post-list-container .post-inner .post .post-left .post-abstract { + margin-top: 10px; + } + .post-list-container .post-inner .post .post-left .post-info { + margin-top: 10px; + } + .post-list-container .post-inner .post .post-left .post-info .post-time { + font-size: 12px; + } + .post-list-container .post-inner .post .post-left .post-info .post-tag { + font-size: 12px; + margin-left: 10px; + } + .post-list-container .post-inner .post .post-feature-image { + width: 0; + height: 0; + flex-basis: 0; + flex-shrink: 0; + margin-left: 0; + border-radius: 2px; + overflow: hidden; + background-size: cover; + background-position: center; + } +} +.post-container { + display: flex; + flex-direction: column; + align-items: center; + min-height: 100%; + flex: 1; +} +.post-container .post-detail { + flex: 1; + padding: 24px 32px; + width: 1000px; + border-radius: 4px; +} +.post-container .post-detail .post-title { + font-size: 26px; + text-align: center; + padding: 24px; + font-weight: normal; +} +.post-container .post-detail .post-info { + text-align: center; + font-size: 12px; + padding-bottom: 24px; +} +.post-container .post-detail .post-info .post-tag { + padding: 8px 16px; +} +.post-container .post-detail .post-content { + margin-top: 30px; +} +.next-post { + text-align: center; + padding: 24px 32px; +} +.next-post .next { + margin-bottom: 24px; + font-size: 14px; +} +.next-post .post-title { + font-size: 20px; + font-weight: bold; +} +#gitalk-container, +#disqus_thread { + padding: 24px 32px; + width: 80%; + max-width: 1000px; +} +@media (max-width: 992px) { + .post-container .post-detail { + width: 100%; + margin-top: 20px; + } + .post-container .post-detail .post-title { + font-size: 20px; + font-weight: bold; + } + #gitalk-container, + #disqus_thread { + padding: 24px 32px; + width: 100%; + } +} +.archives-container { + padding: 32px; + display: flex; + flex-direction: column; +} +.archives-container .year { + font-size: 34px; + font-weight: bold; + margin-top: 16px; + margin-bottom: 16px; + align-self: start; +} +.archives-container .post { + float: left; + padding: 16px 0; +} +.archives-container .post .post-title { + float: left; + font-size: 16px; +} +.archives-container .post .post-title small { + float: left; + font-size: 80%; +} +@media (max-width: 600px) { + .archives-container { + padding: 16px; + } +} +.tags-container { + padding: 32px 32px; + flex: 1; + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + flex-wrap: wrap; +} +.tags-container .tag { + font-size: 15px; + margin: 5px 15px; +} +.current-tag-container .title { + text-align: center; + font-size: 18px; + margin-bottom: 24px; +} +@media (max-width: 992px) { + .current-tag-container .title { + margin-top: 50px; + } +} +.about-page { + padding: 24px 32px; +} +.site-footer { + font-size: 12px; + text-align: center; + padding: 24px; +} +.site-footer .slogan { + padding-bottom: 16px; +} +.site-footer .social-container { + padding-bottom: 16px; +} +.site-footer .social-container i { + padding-left: 10px; + padding-right: 10px; + font-size: 20px; +} +.site-footer .footer-info { + padding-bottom: 10px; +} +.friend-box { + float: left; + max-width: calc(50% - 20px); + min-width: calc(50% - 20px); + margin: 15px 10px; + background-color: rgba(20, 153, 196, 0.125); + padding: 15px; + border-radius: 15px; +} +.friend-box img.friend-avatar { + width: 70px; + height: 70px; + border-radius: 50% !important; + float: left; + margin: 0 15px 0 0 !important; +} +.friend-box .flink-info { + height: 70px; + overflow: hidden; + line-height: 24px; + padding-left: 30px; + font-size: 14px; +} +.friend-box .flink-info a { + font-size: 18px; + background: linear-gradient(180deg, transparent 75%, rgba(116, 192, 252, 0.4) 0); + margin-bottom: 10px; +} +.friend-box .flink-info .flink-info-desc { + margin-top: 10px; +} +@media (max-width: 993px) { + .friend-box { + max-width: 90% !important; + } +} +@media (max-width: 465px) { + .flink-info-desc { + display: none; + } +} +#gridea-search-form .search-input { + position: relative; + left: -2px; + width: 180px; + height: 30px; + padding: 0 0 2px 35px; + font-size: 12px; + background-size: 20px; + border: 0; + border-radius: 15px; + border-bottom-color: currentcolor; + border-bottom-style: none; + border-bottom-width: medium; + outline: 0; + border-bottom: 2px #495057; + transition: border-color 0.2s; +} +@media (max-width: 992px) { + #gridea-search-form .fa-search { + visibility: hidden; + } +} +.searching, +.no-result { + text-align: center; +} +/* + +Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull + +*/ +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #002b36; + color: #839496; +} +.hljs-comment, +.hljs-quote { + color: #586e75; +} +/* Solarized Green */ +.hljs-keyword, +.hljs-selector-tag, +.hljs-addition { + color: #859900; +} +/* Solarized Cyan */ +.hljs-number, +.hljs-string, +.hljs-meta .hljs-meta-string, +.hljs-literal, +.hljs-doctag, +.hljs-regexp { + color: #2aa198; +} +/* Solarized Blue */ +.hljs-title, +.hljs-section, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #268bd2; +} +/* Solarized Yellow */ +.hljs-attribute, +.hljs-attr, +.hljs-variable, +.hljs-template-variable, +.hljs-class .hljs-title, +.hljs-type { + color: #b58900; +} +/* Solarized Orange */ +.hljs-symbol, +.hljs-bullet, +.hljs-subst, +.hljs-meta, +.hljs-meta .hljs-keyword, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-link { + color: #cb4b16; +} +/* Solarized Red */ +.hljs-built_in, +.hljs-deletion { + color: #dc322f; +} +.hljs-formula { + background: #073642; +} +.hljs-emphasis { + font-style: italic; +} +.hljs-strong { + font-weight: bold; +} +/* 代码滑块 */ +pre::-webkit-scrollbar { + width: 8px; + height: 8px; +} +pre::-webkit-scrollbar-thumb { + border-radius: 4px; + background-color: #cbcbcb; +} +pre::-webkit-scrollbar-thumb:hover { + background-color: #bbb; +} +code::-webkit-scrollbar { + width: 8px; + height: 8px; +} +code::-webkit-scrollbar-thumb { + border-radius: 6px; + background-color: #cbcbcb; +} +code::-webkit-scrollbar-thumb:hover { + background-color: #bbb; +} +@font-face { + font-family: KaTeX_AMS; + src: url(fonts/KaTeX_AMS-Regular.eot); + src: url(fonts/KaTeX_AMS-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_AMS-Regular.woff2) format('woff2'), url(fonts/KaTeX_AMS-Regular.woff) format('woff'), url(fonts/KaTeX_AMS-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Caligraphic; + src: url(fonts/KaTeX_Caligraphic-Bold.eot); + src: url(fonts/KaTeX_Caligraphic-Bold.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Caligraphic-Bold.woff2) format('woff2'), url(fonts/KaTeX_Caligraphic-Bold.woff) format('woff'), url(fonts/KaTeX_Caligraphic-Bold.ttf) format('ttf'); + font-weight: 700; + font-style: normal; +} +@font-face { + font-family: KaTeX_Caligraphic; + src: url(fonts/KaTeX_Caligraphic-Regular.eot); + src: url(fonts/KaTeX_Caligraphic-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Caligraphic-Regular.woff2) format('woff2'), url(fonts/KaTeX_Caligraphic-Regular.woff) format('woff'), url(fonts/KaTeX_Caligraphic-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Fraktur; + src: url(fonts/KaTeX_Fraktur-Bold.eot); + src: url(fonts/KaTeX_Fraktur-Bold.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Fraktur-Bold.woff2) format('woff2'), url(fonts/KaTeX_Fraktur-Bold.woff) format('woff'), url(fonts/KaTeX_Fraktur-Bold.ttf) format('ttf'); + font-weight: 700; + font-style: normal; +} +@font-face { + font-family: KaTeX_Fraktur; + src: url(fonts/KaTeX_Fraktur-Regular.eot); + src: url(fonts/KaTeX_Fraktur-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Fraktur-Regular.woff2) format('woff2'), url(fonts/KaTeX_Fraktur-Regular.woff) format('woff'), url(fonts/KaTeX_Fraktur-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Main; + src: url(fonts/KaTeX_Main-Bold.eot); + src: url(fonts/KaTeX_Main-Bold.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Main-Bold.woff2) format('woff2'), url(fonts/KaTeX_Main-Bold.woff) format('woff'), url(fonts/KaTeX_Main-Bold.ttf) format('ttf'); + font-weight: 700; + font-style: normal; +} +@font-face { + font-family: KaTeX_Main; + src: url(fonts/KaTeX_Main-Italic.eot); + src: url(fonts/KaTeX_Main-Italic.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Main-Italic.woff2) format('woff2'), url(fonts/KaTeX_Main-Italic.woff) format('woff'), url(fonts/KaTeX_Main-Italic.ttf) format('ttf'); + font-weight: 400; + font-style: italic; +} +@font-face { + font-family: KaTeX_Main; + src: url(fonts/KaTeX_Main-Regular.eot); + src: url(fonts/KaTeX_Main-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Main-Regular.woff2) format('woff2'), url(fonts/KaTeX_Main-Regular.woff) format('woff'), url(fonts/KaTeX_Main-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Math; + src: url(fonts/KaTeX_Math-Italic.eot); + src: url(fonts/KaTeX_Math-Italic.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Math-Italic.woff2) format('woff2'), url(fonts/KaTeX_Math-Italic.woff) format('woff'), url(fonts/KaTeX_Math-Italic.ttf) format('ttf'); + font-weight: 400; + font-style: italic; +} +@font-face { + font-family: KaTeX_SansSerif; + src: url(fonts/KaTeX_SansSerif-Regular.eot); + src: url(fonts/KaTeX_SansSerif-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_SansSerif-Regular.woff2) format('woff2'), url(fonts/KaTeX_SansSerif-Regular.woff) format('woff'), url(fonts/KaTeX_SansSerif-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Script; + src: url(fonts/KaTeX_Script-Regular.eot); + src: url(fonts/KaTeX_Script-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Script-Regular.woff2) format('woff2'), url(fonts/KaTeX_Script-Regular.woff) format('woff'), url(fonts/KaTeX_Script-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Size1; + src: url(fonts/KaTeX_Size1-Regular.eot); + src: url(fonts/KaTeX_Size1-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Size1-Regular.woff2) format('woff2'), url(fonts/KaTeX_Size1-Regular.woff) format('woff'), url(fonts/KaTeX_Size1-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Size2; + src: url(fonts/KaTeX_Size2-Regular.eot); + src: url(fonts/KaTeX_Size2-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Size2-Regular.woff2) format('woff2'), url(fonts/KaTeX_Size2-Regular.woff) format('woff'), url(fonts/KaTeX_Size2-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Size3; + src: url(fonts/KaTeX_Size3-Regular.eot); + src: url(fonts/KaTeX_Size3-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Size3-Regular.woff2) format('woff2'), url(fonts/KaTeX_Size3-Regular.woff) format('woff'), url(fonts/KaTeX_Size3-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Size4; + src: url(fonts/KaTeX_Size4-Regular.eot); + src: url(fonts/KaTeX_Size4-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Size4-Regular.woff2) format('woff2'), url(fonts/KaTeX_Size4-Regular.woff) format('woff'), url(fonts/KaTeX_Size4-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: KaTeX_Typewriter; + src: url(fonts/KaTeX_Typewriter-Regular.eot); + src: url(fonts/KaTeX_Typewriter-Regular.eot#iefix) format('embedded-opentype'), url(fonts/KaTeX_Typewriter-Regular.woff2) format('woff2'), url(fonts/KaTeX_Typewriter-Regular.woff) format('woff'), url(fonts/KaTeX_Typewriter-Regular.ttf) format('ttf'); + font-weight: 400; + font-style: normal; +} +.katex-display { + display: block; + margin: 1em 0; + text-align: center; +} +.katex-display > .katex { + display: inline-block; +} +.katex { + font: 400 1.21em KaTeX_Main; + line-height: 1.2; + white-space: nowrap; + text-indent: 0; +} +.katex .katex-html { + display: inline-block; +} +.katex .katex-mathml { + position: absolute; + clip: rect(1px, 1px, 1px, 1px); + padding: 0; + border: 0; + height: 1px; + width: 1px; + overflow: hidden; +} +.katex .base, +.katex .strut { + display: inline-block; +} +.katex .mathit { + font-family: KaTeX_Math; + font-style: italic; +} +.katex .mathbf { + font-family: KaTeX_Main; + font-weight: 700; +} +.katex .amsrm, +.katex .mathbb { + font-family: KaTeX_AMS; +} +.katex .mathcal { + font-family: KaTeX_Caligraphic; +} +.katex .mathfrak { + font-family: KaTeX_Fraktur; +} +.katex .mathtt { + font-family: KaTeX_Typewriter; +} +.katex .mathscr { + font-family: KaTeX_Script; +} +.katex .mathsf { + font-family: KaTeX_SansSerif; +} +.katex .mainit { + font-family: KaTeX_Main; + font-style: italic; +} +.katex .textstyle > .mord + .mop { + margin-left: 0.16667em; +} +.katex .textstyle > .mord + .mbin { + margin-left: 0.22222em; +} +.katex .textstyle > .mord + .mrel { + margin-left: 0.27778em; +} +.katex .textstyle > .mop + .mop, +.katex .textstyle > .mop + .mord, +.katex .textstyle > .mord + .minner { + margin-left: 0.16667em; +} +.katex .textstyle > .mop + .mrel { + margin-left: 0.27778em; +} +.katex .textstyle > .mop + .minner { + margin-left: 0.16667em; +} +.katex .textstyle > .mbin + .minner, +.katex .textstyle > .mbin + .mop, +.katex .textstyle > .mbin + .mopen, +.katex .textstyle > .mbin + .mord { + margin-left: 0.22222em; +} +.katex .textstyle > .mrel + .minner, +.katex .textstyle > .mrel + .mop, +.katex .textstyle > .mrel + .mopen, +.katex .textstyle > .mrel + .mord { + margin-left: 0.27778em; +} +.katex .textstyle > .mclose + .mop { + margin-left: 0.16667em; +} +.katex .textstyle > .mclose + .mbin { + margin-left: 0.22222em; +} +.katex .textstyle > .mclose + .mrel { + margin-left: 0.27778em; +} +.katex .textstyle > .mclose + .minner, +.katex .textstyle > .minner + .mop, +.katex .textstyle > .minner + .mord, +.katex .textstyle > .mpunct + .mclose, +.katex .textstyle > .mpunct + .minner, +.katex .textstyle > .mpunct + .mop, +.katex .textstyle > .mpunct + .mopen, +.katex .textstyle > .mpunct + .mord, +.katex .textstyle > .mpunct + .mpunct, +.katex .textstyle > .mpunct + .mrel { + margin-left: 0.16667em; +} +.katex .textstyle > .minner + .mbin { + margin-left: 0.22222em; +} +.katex .textstyle > .minner + .mrel { + margin-left: 0.27778em; +} +.katex .mclose + .mop, +.katex .minner + .mop, +.katex .mop + .mop, +.katex .mop + .mord, +.katex .mord + .mop, +.katex .textstyle > .minner + .minner, +.katex .textstyle > .minner + .mopen, +.katex .textstyle > .minner + .mpunct { + margin-left: 0.16667em; +} +.katex .reset-textstyle.textstyle { + font-size: 1em; +} +.katex .reset-textstyle.scriptstyle { + font-size: 0.7em; +} +.katex .reset-textstyle.scriptscriptstyle { + font-size: 0.5em; +} +.katex .reset-scriptstyle.textstyle { + font-size: 1.42857em; +} +.katex .reset-scriptstyle.scriptstyle { + font-size: 1em; +} +.katex .reset-scriptstyle.scriptscriptstyle { + font-size: 0.71429em; +} +.katex .reset-scriptscriptstyle.textstyle { + font-size: 2em; +} +.katex .reset-scriptscriptstyle.scriptstyle { + font-size: 1.4em; +} +.katex .reset-scriptscriptstyle.scriptscriptstyle { + font-size: 1em; +} +.katex .style-wrap { + position: relative; +} +.katex .vlist { + display: inline-block; +} +.katex .vlist > span { + display: block; + height: 0; + position: relative; +} +.katex .vlist > span > span { + display: inline-block; +} +.katex .vlist .baseline-fix { + display: inline-table; + table-layout: fixed; +} +.katex .msupsub { + text-align: left; +} +.katex .mfrac > span > span { + text-align: center; +} +.katex .mfrac .frac-line { + width: 100%; +} +.katex .mfrac .frac-line:before { + border-bottom-style: solid; + border-bottom-width: 1px; + content: ""; + display: block; +} +.katex .mfrac .frac-line:after { + border-bottom-style: solid; + border-bottom-width: 0.04em; + content: ""; + display: block; + margin-top: -1px; +} +.katex .mspace { + display: inline-block; +} +.katex .mspace.negativethinspace { + margin-left: -0.16667em; +} +.katex .mspace.thinspace { + width: 0.16667em; +} +.katex .mspace.mediumspace { + width: 0.22222em; +} +.katex .mspace.thickspace { + width: 0.27778em; +} +.katex .mspace.enspace { + width: 0.5em; +} +.katex .mspace.quad { + width: 1em; +} +.katex .mspace.qquad { + width: 2em; +} +.katex .llap, +.katex .rlap { + width: 0; + position: relative; +} +.katex .llap > .inner, +.katex .rlap > .inner { + position: absolute; +} +.katex .llap > .fix, +.katex .rlap > .fix { + display: inline-block; +} +.katex .llap > .inner { + right: 0; +} +.katex .rlap > .inner { + left: 0; +} +.katex .katex-logo .a { + font-size: 0.75em; + margin-left: -0.32em; + position: relative; + top: -0.2em; +} +.katex .katex-logo .t { + margin-left: -0.23em; +} +.katex .katex-logo .e { + margin-left: -0.1667em; + position: relative; + top: 0.2155em; +} +.katex .katex-logo .x { + margin-left: -0.125em; +} +.katex .rule { + display: inline-block; + border-style: solid; + position: relative; +} +.katex .overline .overline-line { + width: 100%; +} +.katex .overline .overline-line:before { + border-bottom-style: solid; + border-bottom-width: 1px; + content: ""; + display: block; +} +.katex .overline .overline-line:after { + border-bottom-style: solid; + border-bottom-width: 0.04em; + content: ""; + display: block; + margin-top: -1px; +} +.katex .sqrt > .sqrt-sign { + position: relative; +} +.katex .sqrt .sqrt-line { + width: 100%; +} +.katex .sqrt .sqrt-line:before { + border-bottom-style: solid; + border-bottom-width: 1px; + content: ""; + display: block; +} +.katex .sqrt .sqrt-line:after { + border-bottom-style: solid; + border-bottom-width: 0.04em; + content: ""; + display: block; + margin-top: -1px; +} +.katex .sqrt > .root { + margin-left: 0.27777778em; + margin-right: -0.55555556em; +} +.katex .fontsize-ensurer, +.katex .sizing { + display: inline-block; +} +.katex .fontsize-ensurer.reset-size1.size1, +.katex .sizing.reset-size1.size1 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size1.size2, +.katex .sizing.reset-size1.size2 { + font-size: 1.4em; +} +.katex .fontsize-ensurer.reset-size1.size3, +.katex .sizing.reset-size1.size3 { + font-size: 1.6em; +} +.katex .fontsize-ensurer.reset-size1.size4, +.katex .sizing.reset-size1.size4 { + font-size: 1.8em; +} +.katex .fontsize-ensurer.reset-size1.size5, +.katex .sizing.reset-size1.size5 { + font-size: 2em; +} +.katex .fontsize-ensurer.reset-size1.size6, +.katex .sizing.reset-size1.size6 { + font-size: 2.4em; +} +.katex .fontsize-ensurer.reset-size1.size7, +.katex .sizing.reset-size1.size7 { + font-size: 2.88em; +} +.katex .fontsize-ensurer.reset-size1.size8, +.katex .sizing.reset-size1.size8 { + font-size: 3.46em; +} +.katex .fontsize-ensurer.reset-size1.size9, +.katex .sizing.reset-size1.size9 { + font-size: 4.14em; +} +.katex .fontsize-ensurer.reset-size1.size10, +.katex .sizing.reset-size1.size10 { + font-size: 4.98em; +} +.katex .fontsize-ensurer.reset-size2.size1, +.katex .sizing.reset-size2.size1 { + font-size: 0.71428571em; +} +.katex .fontsize-ensurer.reset-size2.size2, +.katex .sizing.reset-size2.size2 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size2.size3, +.katex .sizing.reset-size2.size3 { + font-size: 1.14285714em; +} +.katex .fontsize-ensurer.reset-size2.size4, +.katex .sizing.reset-size2.size4 { + font-size: 1.28571429em; +} +.katex .fontsize-ensurer.reset-size2.size5, +.katex .sizing.reset-size2.size5 { + font-size: 1.42857143em; +} +.katex .fontsize-ensurer.reset-size2.size6, +.katex .sizing.reset-size2.size6 { + font-size: 1.71428571em; +} +.katex .fontsize-ensurer.reset-size2.size7, +.katex .sizing.reset-size2.size7 { + font-size: 2.05714286em; +} +.katex .fontsize-ensurer.reset-size2.size8, +.katex .sizing.reset-size2.size8 { + font-size: 2.47142857em; +} +.katex .fontsize-ensurer.reset-size2.size9, +.katex .sizing.reset-size2.size9 { + font-size: 2.95714286em; +} +.katex .fontsize-ensurer.reset-size2.size10, +.katex .sizing.reset-size2.size10 { + font-size: 3.55714286em; +} +.katex .fontsize-ensurer.reset-size3.size1, +.katex .sizing.reset-size3.size1 { + font-size: 0.625em; +} +.katex .fontsize-ensurer.reset-size3.size2, +.katex .sizing.reset-size3.size2 { + font-size: 0.875em; +} +.katex .fontsize-ensurer.reset-size3.size3, +.katex .sizing.reset-size3.size3 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size3.size4, +.katex .sizing.reset-size3.size4 { + font-size: 1.125em; +} +.katex .fontsize-ensurer.reset-size3.size5, +.katex .sizing.reset-size3.size5 { + font-size: 1.25em; +} +.katex .fontsize-ensurer.reset-size3.size6, +.katex .sizing.reset-size3.size6 { + font-size: 1.5em; +} +.katex .fontsize-ensurer.reset-size3.size7, +.katex .sizing.reset-size3.size7 { + font-size: 1.8em; +} +.katex .fontsize-ensurer.reset-size3.size8, +.katex .sizing.reset-size3.size8 { + font-size: 2.1625em; +} +.katex .fontsize-ensurer.reset-size3.size9, +.katex .sizing.reset-size3.size9 { + font-size: 2.5875em; +} +.katex .fontsize-ensurer.reset-size3.size10, +.katex .sizing.reset-size3.size10 { + font-size: 3.1125em; +} +.katex .fontsize-ensurer.reset-size4.size1, +.katex .sizing.reset-size4.size1 { + font-size: 0.55555556em; +} +.katex .fontsize-ensurer.reset-size4.size2, +.katex .sizing.reset-size4.size2 { + font-size: 0.77777778em; +} +.katex .fontsize-ensurer.reset-size4.size3, +.katex .sizing.reset-size4.size3 { + font-size: 0.88888889em; +} +.katex .fontsize-ensurer.reset-size4.size4, +.katex .sizing.reset-size4.size4 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size4.size5, +.katex .sizing.reset-size4.size5 { + font-size: 1.11111111em; +} +.katex .fontsize-ensurer.reset-size4.size6, +.katex .sizing.reset-size4.size6 { + font-size: 1.33333333em; +} +.katex .fontsize-ensurer.reset-size4.size7, +.katex .sizing.reset-size4.size7 { + font-size: 1.6em; +} +.katex .fontsize-ensurer.reset-size4.size8, +.katex .sizing.reset-size4.size8 { + font-size: 1.92222222em; +} +.katex .fontsize-ensurer.reset-size4.size9, +.katex .sizing.reset-size4.size9 { + font-size: 2.3em; +} +.katex .fontsize-ensurer.reset-size4.size10, +.katex .sizing.reset-size4.size10 { + font-size: 2.76666667em; +} +.katex .fontsize-ensurer.reset-size5.size1, +.katex .sizing.reset-size5.size1 { + font-size: 0.5em; +} +.katex .fontsize-ensurer.reset-size5.size2, +.katex .sizing.reset-size5.size2 { + font-size: 0.7em; +} +.katex .fontsize-ensurer.reset-size5.size3, +.katex .sizing.reset-size5.size3 { + font-size: 0.8em; +} +.katex .fontsize-ensurer.reset-size5.size4, +.katex .sizing.reset-size5.size4 { + font-size: 0.9em; +} +.katex .fontsize-ensurer.reset-size5.size5, +.katex .sizing.reset-size5.size5 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size5.size6, +.katex .sizing.reset-size5.size6 { + font-size: 1.2em; +} +.katex .fontsize-ensurer.reset-size5.size7, +.katex .sizing.reset-size5.size7 { + font-size: 1.44em; +} +.katex .fontsize-ensurer.reset-size5.size8, +.katex .sizing.reset-size5.size8 { + font-size: 1.73em; +} +.katex .fontsize-ensurer.reset-size5.size9, +.katex .sizing.reset-size5.size9 { + font-size: 2.07em; +} +.katex .fontsize-ensurer.reset-size5.size10, +.katex .sizing.reset-size5.size10 { + font-size: 2.49em; +} +.katex .fontsize-ensurer.reset-size6.size1, +.katex .sizing.reset-size6.size1 { + font-size: 0.41666667em; +} +.katex .fontsize-ensurer.reset-size6.size2, +.katex .sizing.reset-size6.size2 { + font-size: 0.58333333em; +} +.katex .fontsize-ensurer.reset-size6.size3, +.katex .sizing.reset-size6.size3 { + font-size: 0.66666667em; +} +.katex .fontsize-ensurer.reset-size6.size4, +.katex .sizing.reset-size6.size4 { + font-size: 0.75em; +} +.katex .fontsize-ensurer.reset-size6.size5, +.katex .sizing.reset-size6.size5 { + font-size: 0.83333333em; +} +.katex .fontsize-ensurer.reset-size6.size6, +.katex .sizing.reset-size6.size6 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size6.size7, +.katex .sizing.reset-size6.size7 { + font-size: 1.2em; +} +.katex .fontsize-ensurer.reset-size6.size8, +.katex .sizing.reset-size6.size8 { + font-size: 1.44166667em; +} +.katex .fontsize-ensurer.reset-size6.size9, +.katex .sizing.reset-size6.size9 { + font-size: 1.725em; +} +.katex .fontsize-ensurer.reset-size6.size10, +.katex .sizing.reset-size6.size10 { + font-size: 2.075em; +} +.katex .fontsize-ensurer.reset-size7.size1, +.katex .sizing.reset-size7.size1 { + font-size: 0.34722222em; +} +.katex .fontsize-ensurer.reset-size7.size2, +.katex .sizing.reset-size7.size2 { + font-size: 0.48611111em; +} +.katex .fontsize-ensurer.reset-size7.size3, +.katex .sizing.reset-size7.size3 { + font-size: 0.55555556em; +} +.katex .fontsize-ensurer.reset-size7.size4, +.katex .sizing.reset-size7.size4 { + font-size: 0.625em; +} +.katex .fontsize-ensurer.reset-size7.size5, +.katex .sizing.reset-size7.size5 { + font-size: 0.69444444em; +} +.katex .fontsize-ensurer.reset-size7.size6, +.katex .sizing.reset-size7.size6 { + font-size: 0.83333333em; +} +.katex .fontsize-ensurer.reset-size7.size7, +.katex .sizing.reset-size7.size7 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size7.size8, +.katex .sizing.reset-size7.size8 { + font-size: 1.20138889em; +} +.katex .fontsize-ensurer.reset-size7.size9, +.katex .sizing.reset-size7.size9 { + font-size: 1.4375em; +} +.katex .fontsize-ensurer.reset-size7.size10, +.katex .sizing.reset-size7.size10 { + font-size: 1.72916667em; +} +.katex .fontsize-ensurer.reset-size8.size1, +.katex .sizing.reset-size8.size1 { + font-size: 0.28901734em; +} +.katex .fontsize-ensurer.reset-size8.size2, +.katex .sizing.reset-size8.size2 { + font-size: 0.40462428em; +} +.katex .fontsize-ensurer.reset-size8.size3, +.katex .sizing.reset-size8.size3 { + font-size: 0.46242775em; +} +.katex .fontsize-ensurer.reset-size8.size4, +.katex .sizing.reset-size8.size4 { + font-size: 0.52023121em; +} +.katex .fontsize-ensurer.reset-size8.size5, +.katex .sizing.reset-size8.size5 { + font-size: 0.57803468em; +} +.katex .fontsize-ensurer.reset-size8.size6, +.katex .sizing.reset-size8.size6 { + font-size: 0.69364162em; +} +.katex .fontsize-ensurer.reset-size8.size7, +.katex .sizing.reset-size8.size7 { + font-size: 0.83236994em; +} +.katex .fontsize-ensurer.reset-size8.size8, +.katex .sizing.reset-size8.size8 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size8.size9, +.katex .sizing.reset-size8.size9 { + font-size: 1.19653179em; +} +.katex .fontsize-ensurer.reset-size8.size10, +.katex .sizing.reset-size8.size10 { + font-size: 1.43930636em; +} +.katex .fontsize-ensurer.reset-size9.size1, +.katex .sizing.reset-size9.size1 { + font-size: 0.24154589em; +} +.katex .fontsize-ensurer.reset-size9.size2, +.katex .sizing.reset-size9.size2 { + font-size: 0.33816425em; +} +.katex .fontsize-ensurer.reset-size9.size3, +.katex .sizing.reset-size9.size3 { + font-size: 0.38647343em; +} +.katex .fontsize-ensurer.reset-size9.size4, +.katex .sizing.reset-size9.size4 { + font-size: 0.43478261em; +} +.katex .fontsize-ensurer.reset-size9.size5, +.katex .sizing.reset-size9.size5 { + font-size: 0.48309179em; +} +.katex .fontsize-ensurer.reset-size9.size6, +.katex .sizing.reset-size9.size6 { + font-size: 0.57971014em; +} +.katex .fontsize-ensurer.reset-size9.size7, +.katex .sizing.reset-size9.size7 { + font-size: 0.69565217em; +} +.katex .fontsize-ensurer.reset-size9.size8, +.katex .sizing.reset-size9.size8 { + font-size: 0.83574879em; +} +.katex .fontsize-ensurer.reset-size9.size9, +.katex .sizing.reset-size9.size9 { + font-size: 1em; +} +.katex .fontsize-ensurer.reset-size9.size10, +.katex .sizing.reset-size9.size10 { + font-size: 1.20289855em; +} +.katex .fontsize-ensurer.reset-size10.size1, +.katex .sizing.reset-size10.size1 { + font-size: 0.20080321em; +} +.katex .fontsize-ensurer.reset-size10.size2, +.katex .sizing.reset-size10.size2 { + font-size: 0.2811245em; +} +.katex .fontsize-ensurer.reset-size10.size3, +.katex .sizing.reset-size10.size3 { + font-size: 0.32128514em; +} +.katex .fontsize-ensurer.reset-size10.size4, +.katex .sizing.reset-size10.size4 { + font-size: 0.36144578em; +} +.katex .fontsize-ensurer.reset-size10.size5, +.katex .sizing.reset-size10.size5 { + font-size: 0.40160643em; +} +.katex .fontsize-ensurer.reset-size10.size6, +.katex .sizing.reset-size10.size6 { + font-size: 0.48192771em; +} +.katex .fontsize-ensurer.reset-size10.size7, +.katex .sizing.reset-size10.size7 { + font-size: 0.57831325em; +} +.katex .fontsize-ensurer.reset-size10.size8, +.katex .sizing.reset-size10.size8 { + font-size: 0.69477912em; +} +.katex .fontsize-ensurer.reset-size10.size9, +.katex .sizing.reset-size10.size9 { + font-size: 0.8313253em; +} +.katex .fontsize-ensurer.reset-size10.size10, +.katex .sizing.reset-size10.size10 { + font-size: 1em; +} +.katex .delimsizing.size1 { + font-family: KaTeX_Size1; +} +.katex .delimsizing.size2 { + font-family: KaTeX_Size2; +} +.katex .delimsizing.size3 { + font-family: KaTeX_Size3; +} +.katex .delimsizing.size4 { + font-family: KaTeX_Size4; +} +.katex .delimsizing.mult .delim-size1 > span { + font-family: KaTeX_Size1; +} +.katex .delimsizing.mult .delim-size4 > span { + font-family: KaTeX_Size4; +} +.katex .nulldelimiter { + display: inline-block; + width: 0.12em; +} +.katex .op-symbol { + position: relative; +} +.katex .op-symbol.small-op { + font-family: KaTeX_Size1; +} +.katex .op-symbol.large-op { + font-family: KaTeX_Size2; +} +.katex .accent > .vlist > span, +.katex .op-limits > .vlist > span { + text-align: center; +} +.katex .accent .accent-body > span { + width: 0; +} +.katex .accent .accent-body.accent-vec > span { + position: relative; + left: 0.326em; +} +.katex .mtable .vertical-separator { + display: inline-block; + margin: 0 -0.025em; + border-right: 0.05em solid #000; +} +.katex .mtable .arraycolsep { + display: inline-block; +} +.katex .mtable .col-align-c > .vlist { + text-align: center; +} +.katex .mtable .col-align-l > .vlist { + text-align: left; +} +.katex .mtable .col-align-r > .vlist { + text-align: right; +} + + .gt-bg-theme-color-first { + background: #f9f9f9!important; + } + + .gt-bg-theme-color-second { + background: #f3f3f3!important; + } + + .gt-bg-content-color-first { + background: #5e5e5e!important; + } + + .gt-bg-content-color-second { + background: #BFBFBF!important; + } + + .gt-bg-accent-color-first { + background: #8b959f!important; + } + + .gt-bg-accent-color-second { + background: RGBA(139,149,159,0.14)!important; + } + + .gt-c-theme-color-first { + color: #f9f9f9!important; + } + + .gt-c-theme-color-second { + color: #f3f3f3!important; + } + + .gt-c-content-color-first { + color: #5e5e5e!important; + } + + .gt-c-content-color-second { + color: #BFBFBF!important; + } + + .gt-c-accent-color-first { + color: #8b959f!important; + } + + .gt-c-accent-color-second { + color: RGBA(139,149,159,0.14)!important; + } + + body { + color: #5e5e5e!important; + } + + a { + color: #8b959f!important; + } + + .post-content h1 { + display: inline-block; + color: #5e5e5e!important; + position: relative!important; + background: linear-gradient(180deg, transparent 75%, RGBA(139,149,159,0.4) 0)!important; + } + + .post-content h2 { + display: inline-block; + color: #5e5e5e!important; + position: relative!important; + background: linear-gradient(180deg, transparent 75%, RGBA(139,149,159,0.4) 0)!important; + } + + .gt-a-link { + color: #5e5e5e!important; + position: relative!important; + background: linear-gradient(180deg, transparent 75%, RGBA(139,149,159,0.4) 0)!important; + } + + .gt-post-content a { + color: #8b959f!important; + } + + .gt-post-content blockquote { + background: RGBA(139,149,159,0.14)!important; + border-color: #8b959f!important; + } + + .gt-post-content code { + background: RGBA(139,149,159,0.14)!important; + } + + input::placeholder { + color: #BFBFBF!important; + } + + .search-input { + color: #5e5e5e!important; + background-color: #f3f3f3!important; + } + \ No newline at end of file diff --git a/tag/-abEMiMjQ/index.html b/tag/-abEMiMjQ/index.html new file mode 100644 index 0000000..abc10fc --- /dev/null +++ b/tag/-abEMiMjQ/index.html @@ -0,0 +1,225 @@ + + + + + + +windows | itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+

+ #windows +

+
+
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+
+ + +
+ + + + + +
+
+ + diff --git a/tag/4ng9AvzFm/index.html b/tag/4ng9AvzFm/index.html new file mode 100644 index 0000000..b4b46e4 --- /dev/null +++ b/tag/4ng9AvzFm/index.html @@ -0,0 +1,250 @@ + + + + + + +linux | itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+

+ #linux +

+
+
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+
+ + +
+ + + + + +
+
+ + diff --git a/tag/SPQCRxxpr/index.html b/tag/SPQCRxxpr/index.html new file mode 100644 index 0000000..7cd1adf --- /dev/null +++ b/tag/SPQCRxxpr/index.html @@ -0,0 +1,175 @@ + + + + + + +数据库 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+

+ #数据库 +

+
+
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+
+ + +
+ + + + + +
+
+ + diff --git a/tag/bftlFwBmA/index.html b/tag/bftlFwBmA/index.html new file mode 100644 index 0000000..9c2d5e4 --- /dev/null +++ b/tag/bftlFwBmA/index.html @@ -0,0 +1,225 @@ + + + + + + +C# | itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+

+ #C# +

+
+
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+
+ + +
+ + + + + +
+
+ + diff --git a/tag/ruan-jian-an-zhuang/index.html b/tag/ruan-jian-an-zhuang/index.html new file mode 100644 index 0000000..e203fd8 --- /dev/null +++ b/tag/ruan-jian-an-zhuang/index.html @@ -0,0 +1,175 @@ + + + + + + +软件安装 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+

+ #软件安装 +

+
+
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+
+ + +
+ + + + + +
+
+ + diff --git a/tags/index.html b/tags/index.html new file mode 100644 index 0000000..e8379ea --- /dev/null +++ b/tags/index.html @@ -0,0 +1,160 @@ + + + + + + +标签 | itwangaijava + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+ +
+
+ + + + +
+
+ +