[{"comment":"全部先加锁","lock":"lock","showFilter":false,"filter":{"main":[],"stars":[],"level":[0,20],"set":[],"position":[],"lock":[],"character":[],"subCount":[],"includeSub":[],"includeSubCount":0,"excludeSub":[],"excludeSubCount":0,"scoreFilters":{"cur":{"value":0,"equation":3},"md":{"value":0,"equation":3},"tot":{"value":0,"equation":3}},"scoreWeight":{"hp":0.3,"atk":0.5,"def":0.3,"hpp":1,"atkp":1,"defp":1,"em":1,"er":1,"cr":1.5,"cd":1.5,"hpprop":0.5,"defprop":0.5,"main":0.5,"set":0.3},"useRankFilter":false,"rankGroup":{"main":false,"set":false,"position":false},"rankAscend":false,"rankSelectNumber":10,"rankReverseSelect":false,"rankScoreName":"tot"}},{"comment":"非羽毛主攻击无爆","lock":"unlock","showFilter":false,"filter":{"main":["atkp"],"stars":[],"level":[],"set":[],"position":[],"lock":[],"character":[],"subCount":[4],"includeSub":[],"includeSubCount":0,"excludeSub":[{"name":"cr","value":"0%","equation":2},{"name":"cd","value":"0%","equation":2}],"excludeSubCount":0,"scoreFilt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
import random | |
import time | |
import json | |
import base64 | |
import requests | |
# Map will not update frequently, if you need latest mapping, please refer to LPSim/backend:src/lpsim/utils/deck_code_data.json. | |
map = [ "甘雨", "迪奥娜", "凯亚", "重云", "神里绫华", "优菈", "申鹤", "七七", "芭芭拉", "行秋", "莫娜", "达达利亚", "珊瑚宫心海", "神里绫人", "坎蒂丝", "妮露", "迪卢克", "香菱", "班尼特", "安柏", "宵宫", "可莉", "胡桃", "烟绯", "迪希雅", "菲谢尔", "雷泽", "刻晴", "赛诺", "北斗", "九条裟罗", "雷电将军", "八重神子", "丽莎", "多莉", "砂糖", "琴", "温迪", "魈", "枫原万叶", "流浪者", "凝光", "诺艾尔", "钟离", "阿贝多", "荒泷一斗", "柯莱", "提纳里", "纳西妲", "瑶瑶", "白术", "愚人众·冰萤术士", "纯水精灵·洛蒂娅", "愚人众·藏镜仕女", "愚人众·火之债务处理人", "深渊咏者·渊火", "无相之雷", "魔偶剑鬼", "丘丘岩盔王", "翠翎恐蕈", "唯此一心", "猫爪冰摇", "冷血之剑", "吐纳真定", "寒天宣命祝词", "战欲涌现", "忘玄", "起死回骸", "光辉的季节", "重帘留香", "沉没的预言", "深渊之灾·凝水盛放", "匣中玉栉", "镜华风姿", "衍溢的汐潮", "星天的花雨", "流火焦灼", "交叉火力", "冒险憧憬", "一触即发", "长野原龙势流星群", "砰砰礼物", "血之灶火", "最终解释权", "崇诚之真", "噬星魔鸦", "觉醒", "抵天雷罚", "落羽的裁择", "霹雳连霄", "我界", "万千的愿望", "神篱之御荫", "脉冲的魔女", "酌盈剂虚", "混元熵增论", "蒲公英的国土", "绪风之拥", "降魔·护法夜叉", "风物之诗咏", "梦迹一风", "储之千日,用之一刻", "支援就交给我 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%% | |
from pkgutil import get_data | |
import formulas | |
import os | |
import re | |
# https://bbs.nga.cn/read.php?tid=25843014 | |
# Modified 优菈 阿贝多 甘雨 八重 魈 丽莎, make final result depends on actual atk.. etc | |
# https://pan.baidu.com/s/1MClQpeRQPg6onzL2dgZiLw passcode: pxrh | |
# updated 2.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doone(){ | |
data = `登出返回首页 蒋骐泽 | |
成绩:86.0分 | |
错题解析 | |
1、:实验室内存放的危险化学品总量应符合规定要求,原则上不应超过( )公升或( )千克,其中易燃易爆性化学品的存放总量不应超过( )公升或( )千克,且单一包装容器不应大于( )公升或( )千克。 | |
选项A:200 200 100 100 50 50 | |
选项B:200 200 100 100 20 20 | |
选项C:100 100 50 50 20 20 | |
选项D:100 100 50 50 10 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSHD_CONF=/etc/ssh/sshd_config | |
SSH_PORT=30022 | |
mv $SSHD_CONF $SSHD_CONF.bak | |
cat $SSHD_CONF.bak | sed "s/^#\? \?Port .\+$/Port $SSH_PORT/" | sed "s/^#\? \?GatewayPorts .\+$//" > $SSHD_CONF | |
echo "\nGatewayPorts yes" >> $SSHD_CONF | |
systemctl restart sshd.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, shutil | |
rarpath = 'C:\\Progra~1\\WinRAR\\Rar.exe ' | |
def checkbackup(filepath): | |
assert filepath[-4:] == '.rar' | |
res = os.popen(rarpath + 'lta "' + filepath + '"').read() | |
#res = res.split('\n') | |
#for l in res: | |
if '恢复记录' in res: | |
return True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import random | |
import time | |
os.system('~/remount.sh') | |
filename = sys.argv[1] | |
fsize = os.path.getsize(filename) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import requests | |
import urllib | |
gotname = {} | |
def downimg(img): | |
name = re.search('plugin=([^&"]*)[&"]', img).group(1) + '-' | |
name += re.search('page=([^&"]*)[&"]', img).group(1) + '-' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; save it as GB18030 ;;; | |
;;; 你用GB18030保存或者打开了吗 ;;; | |
;;;;;; RapidHotkey ;;;;;; | |
RapidHotkey(keystroke, times="2", delay=0.2, IsLabel=0) | |
{ | |
Pattern := Morse(delay*1000) | |
If (StrLen(Pattern) < 2 and Chr(Asc(times)) != "1") | |
Return | |
If (times = "" and InStr(keystroke, """")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Put user rules line by line in this file. | |
! See https://adblockplus.org/en/filter-cheatsheet | |
||github.com | |
||live.github.com | |
githubusercontent.com | |
api.github.com | |
githubapp.com | |
githubassets.com |
NewerOlder