In IDAPython,
execfile('<path>/cxxparser.py')
parse_file('<path>/a.cpp',[r'-I<path>\LuaJIT-2.0.5\src', '-D__NT__', '-D__X64__', '-D__EA64__'])
parse_file('<path>/malloc.c',['-target=x86_64-linux-gnu'])
#!/bin/bash | |
CYAN="$(tput bold; tput setaf 6)" | |
RESET="$(tput sgr0)" | |
clear | |
if command -v python3 > /dev/null 2>&1; then | |
if [ $(python3 -c "print('ye')") = "ye" ]; then | |
clear |
async function quizlet(id){ | |
let res = await fetch(`https://quizlet.com/webapi/3.4/studiable-item-documents?filters%5BstudiableContainerId%5D=${id}&filters%5BstudiableContainerType%5D=1&perPage=5&page=1`).then(res => res.json()) | |
let currentLength = 5; | |
let token = res.responses[0].paging.token | |
let terms = res.responses[0].models.studiableItem; | |
let page = 2; | |
console.log({token, terms}) | |
while (currentLength >= 5){ | |
let res = await fetch(`https://quizlet.com/webapi/3.4/studiable-item-documents?filters%5BstudiableContainerId%5D=${id}&filters%5BstudiableContainerType%5D=1&perPage=5&page=${page++}&pagingToken=${token}`).then(res => res.json()); | |
terms.push(...res.responses[0].models.studiableItem); |
Note: This information is not maintained or updated. Some old info may no longer be accurate and newer info may not be included.
Majority of guide from cake#0001 in the NotSoBot Discord server. Additions made by me.
Use .t add <tag_name> <tag_contents>
to create a new tag or edit an existing one. Tag names are case insensitive meaning a tag by the name of "HeLlO" is the same as "hello".
.t add Hello World
will create a tag named "hello".
.t edit <tag_name> <tag_contents>
can be used to edit an existing tag the same way as using .t add <tag_name> <tag_contents>
You can run a tag by using .t <tag_name>
. If it is a script that accepts arguments, your arguments will be words following the tag name separated by spaces. .t hi abc 1 2
will run the tag named "hi" with the 3 arguments "abc", "1", and "2".
.t remove
will delete that tag e.g. .t remove hello
下载力扣提交中时间分布图中的代码,下载的代码会按照[题目]-[语言].md
进行命名
可配置项:
# should works on any cloud-init enabled hypervisor (openstack.. ) | |
# start from a normal ubuntu 20.04 install as minimal was not available for ARM64 | |
# Since ARM64 machines has higher RAM, Shrinking is desired but not necessary. Instead we will increase tmpfs to 1700MB | |
# Getting root (if sudo -i doesn't work then set a root password beforehand using 'sudo passwd root' | |
sudo -i | |
# make sure we are on the highest kernel, so we can delete all the others ... |
—
Tauri is shipped with state management function/feature by default.
Basic usage is quite simple: a variable of State type can be accessed on the tauri commands which you have defined; in other words, "with tauri commands, they'll magically inject state for you," so that once a variable is managed you can inject them directly as additional input when defining the command.
DDC/CI Command Codes (antiquated MStar function, not real): | |
------ | |
0xCC, 0xF1, 0xF0 - LG special? Only CC actually used. | |
3 | |
1 | |
0xC6 | |
0xC8 | |
0xF3 | |
0xF5 | |
0xB1 |