Linux Sudo 加速 本地解析

hostname 添加本地解析,MyLinux为主机名

echo ‘127.0.0.1 MyLinux.localdomain MyLinux’ >> /etc/hosts

Android adb shell 挂载拓展卡为可读写

adb shell指令

mount -o remount,rw /system

扩展卡所在位置

cd /mnt/media_rw/extSdCard

安卓系统权限写入权限

mount -o remount,rw /system
cd /system/etc/permissions
vi platform.xml

在文件中找到 <permission name="android.permission.WRITE_EXTERNAL_STORAGE" > 中间添加

<group gid="media_rw" />

英语演讲 动作

delivery

vocal variety

  1. Volume
  2. Pitch
    1. Imitating
    2. Read poems
    1. se End + No oral words Proper pause can be extremely useful.
    • Signal the end of a thought unit
    • Give an idea time to sink in
    • Lend dramatic impact to a statement
  3. Rates
  4. Pronunciation to Classmate/record

Body

Five major aspects of the body 1. personal appearance 2. eye contact 3. facial expression 4. gesture 5. posture

Personal Appearance

Neatly + Properly

Eye contact

all parts + for whole audience One person , one thought

facial expressions

Smiling + Practice different method(shock confusion)

Gesture

hands + arms 1. Palms up (introducing, welcome,provide a choice) 2. Palms down (stress one point) 3. Act out your words (number, support words, express emotions) 4. Avoid waving+back+pockets

Posture

Upright + stable Before + After

Visual Aids

Objects and models
Photographs and drawings
Graphs
Charts
Videos
The speaker
PowerPoint

Main points + Simple + fonts + Colors 1 - 2 images (large) + keywords With Blank Slide if do not needed

IDA 逆向 PATCH 实践

主要操作

subview: string 可以搜索程序内文字 HEX下 空格可视化和汇编转换 TAB是HEX窗口和伪代码窗口切换(需要在函数内)

Patcher : 进行代码修改

修改源文件操作

EDIT: patch program->Apply all 即可应用所有修改

效果

C:\Users\Lenovo\3D Objects\vjudge\12>.\F+
1
100 1050 1563
585372136

C:\Users\Lenovo\3D Objects\vjudge\12>.\F+
1
100 1050 1563
0

中国剩余定理

知识回顾-线性同余方程相关定理

  • 定理1:线性同余方程: \[ax \equiv k \pmod{b} \ (\text{即:} ax + by = k)\] 对于未知量\(x\)有解,当且仅当\(\gcd(a, b) \mid k\)
    阅读全文 »

进制数枚举

进制字符串输出总值

int get(string a, int b) {
int res = 0;
for (auto c : a)
res = res * b + c - '0';
return res;
}

b为进制,a为包含进制的字符串

更改n进制的位枚举

二进制

c ^= 1;
S.insert(get(a, 2));
c ^= 1;

n进制处理

for (auto& c : b) {
int t = c;
for (int i = 0; i < 3; i ++ ) {
if (i + '0' != t) {
c = i + '0';
int x = get(b, 3);
if (S.count(x)) {
cout << x << endl;
return 0;
}
}
}
c = t;
}

将3更改为需要的位数

0%