ICode9

精准搜索请尝试: 精确搜索
  • tcpdump note2022-09-16 23:33:26

    参数 tcpdump | grep ip找不到想要的报文 推荐加上-n, 或者-nn -n 不做域名解析(显示ip) -nn不做协议,端口解析 tcpdump默认做了反向域名解析,所有grep不到ip -t参数 ●没有-同参数 [root@fqguoCentos ~]# tcpdump -i ens192 dropped privs to tcpdump tcpdump: verbose output

  • first note of Vue 黑马2022-09-08 12:00:56

    1. webpack基本概念 用来打包压缩文件,减小文件的大小,提高效率;(生产环境使用的,不是人能看懂的) 默认入口: ./src/index.js  入口计算 默认出口: ./dist/main.js  这里结果输出 第三方的包管理,基于nodejs的打包的包; webpack的基本使用:初始化:yarn init -y 创建一个包管理文件package

  • CS61c hw2 note2022-09-07 11:00:21

    hw2 note HW2.1、2.2 位运算,略 HW2.3. Memory Alpha Model #define SPOCK 1701 int KIRK = 1701; int sulu(int scotty) { return scotty * scotty; } int main(int argc, char *argv[]) { int *chekov = malloc(sizeof(int) * 1701); if (chekov) free(chekov); sulu(SPOCK);

  • MySQL Others -- 服务正常关闭流程2022-08-28 19:00:15

    MySQL正常关闭流程 下面信息抄自爱可生开源社区 当MySQL服务收到关闭服务的SIGINT 信号后,进行如下处理: 启动关机进程 创建shutdown线程(如果需要) 停止接受新连接 处理已建立连接 关闭存储引擎 关闭服务 1、启动关闭进程 可以有多种方式来启动关机进程,如: 使用mysqladmin执行shu

  • 【CodeEnd】Github Note Command2022-08-27 07:30:59

    Note github Note 嵌入式笔记EmbeddedNote C基础知识 数据结构(链表 hash表 排序算法 设计模式等) 外设(串口 网口 i2s i2c spi sdio等) ARM cortex-m0 m3 m4 A8等芯片架构 操作系统(内存管理 进程管理 实时性要求 任务间通讯等) tcpip协议栈(tcpip模型 分层结构 ip tcp udp icmp igmp

  • [Note] POI 板刷寄录 II2022-08-26 08:32:15

    来点大紫大黑 [POI2013]LUK-Triumphal arch A 的窝火。显然是二分,树形 dp check 一下即可。 这边证伪一下一种贪心 check: 首先我们从根节点 \(1\) 开始 dfs 全树。 同时记录一个变量 \(less\)。 如果当前的 $k 和 \(less\) 的和比儿子的数量少,肯定不行。 否则就 \(less\leftarrow

  • 692022-08-15 13:32:51

    turn 转动       repeat 重复 judge 法官 floor 地面 salt 盐 discharge 免除 story 故事 definite 一定的 daughter 女儿 disaster 灾难 entire 全部的 during 在...期间 seat 座位 near 近的 corn 玉米 settlement 解决 travel 旅行 great 伟大的 kitchen 厨

  • PA Note2022-08-14 09:30:45

    PA Note Linux # $sudo apt update # $whereis <name> Vim 0 line start, $ line end /word search "word", n find next, N find previous d0 delete until line start, d$ delete until line end, dd cut current line y0 copy until line start, y$ c

  • jumpserver终端直连资产2022-08-06 18:28:19

    原理   https://note.youdao.com/s/4a8FO1FL   这个是我自己用shell写的一个客户端,可自己扩展使用   https://note.youdao.com/s/Bu9xI4ld   关键字   jumpserver终端直连资产 jumpserver命令行直连资产

  • 383.ransom-note 赎金信2022-08-03 09:32:28

    利用一个长度为26的数组记录magazine中每个字母出现的次数(递增),再与ransom note中每个字母出现的次数进行对比(递减)即可。 #include <string> using std::string; class Solution { public: bool canConstruct(string ransomNote, string magazine) { int a[26] =

  • Note -「因数的欧拉函数求和」2022-07-18 21:01:55

    归档。 试证明:\(\sum \limits _{d | x} \varphi (d) = x\) Lemma 1. 试证明:\(\sum \limits _{d | p^k} \varphi (d) = p ^k\),其中 \(p\) 为质数。 证明:显然,和 \(n\) 不互质的数一定含有 \(p\) 因子,而在 \([1, n]\) 中总共有 \(\lfloor \frac {n} {p} \rfloor = p ^{k - 1}\) 个

  • [Note]Catalan数学习笔记2022-07-15 23:31:49

    浅探 Catalan 数 Catalan 数是一种常见于数列OI的一种组合数。 几个基本模型: \(n\) 个 \(+1\) , \(n\) 个 \(-1\) 构成一个序列,要求序列的任意前缀和非负。(好用的理解) 在平面直角坐标系 \(xOy\) 种,每次可以沿着 \(y\) 轴正半轴或 \(x\) 轴负半轴移动一格,不越过直线 \(y=x\) 的到达

  • Codewars note: 奇偶判定2022-07-10 11:03:17

    判断 奇数 偶数: Solution:  1 def even_or_odd(number): return 'Even' if number % 2 == 0 else 'Odd'   2 def even_or_odd(number): return ['Even', 'Odd'][number % 2]  

  • Codewars note: Twice as old2022-07-06 18:33:50

    描述: 你的函数有两个参数: 当前父亲的年龄(岁) 儿子现在的年龄(岁) 计算多少年前父亲的年龄是儿子的两倍(或多少年后他将是儿子的两倍)。   Solution: def twice_as_old(f, s): return abs(f - s * 2) :abs(x) 取数值绝对值

  • java-- string2022-07-06 13:32:27

    Note: String objects are stored in a special memory area known as the "string constant pool". features - immutable

  • Codewars note:Printer Error2022-07-04 22:04:18

    Exercise: In a factory a printer prints labels for boxes. For one kind of boxes the printer has to use colors which, for the sake of simplicity, are named with letters from a to m.  The colors used by the printer are recorded in a control string. For exa

  • Codewars note: 单词首字母大写2022-07-03 21:01:03

    Exercise: 单词首字母大写(刷题遇到title()失效) solution: def case(string): return ' '.join(word.capitalize() for word in string.split()) #先用split()函数 切片 字符串 #再capitalize()函数 首字母大写(其他字母不改变) #join()函数,把列表的 元素串联成字符串

  • Codewars note:Can we divide it ?2022-07-03 12:33:55

     exercise: Your task is to create the functionisDivideBy (or is_divide_by) to check if an integer number is divisible by both integers a and b. A few cases: (-12, 2, -6) -> true (-12, 2, -5) -> false (45, 1, 6) -> false (45, 5, 15) -&g

  • S/4HANA Conversion – Readiness Check 2.0 step-by-step2022-07-03 11:34:33

    S/4HANA Conversion – t2 – Readiness Check 2.0 step-by-step   This steps for Readiness Check (RC) for conversion to S/4HANA. Readiness Check is an optional step and is a high level analysis to get a Results  Dashboard and also download to a 

  • Codewars note :Count by X2022-06-30 17:33:06

    Exercise:   Solution: def count_by(x, n): return list(range(x, x * n +1, x))  

  • pycharm安装配置PyQt52022-06-26 13:33:25

    pyqt5的安装与配置: https://blog.csdn.net/qq_44322163/article/details/105436775 Qt 的 ui 文件转成 py 文件: https://www.jianshu.com/p/5deab9c55318?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation

  • Diary & Note - 两个惊喜2022-06-26 11:02:26

      我们有单位根反演: \[\sum_{k\mid n}[x^n]f(x)=\frac{1}{k}\sum_{i=0}^{k-1}f(\omega_k^i). \]我们有 CRT: \[x\equiv r_{1..n}\pmod{m_{1..n}}\\ \Leftrightarrow x\equiv \sum_{i=1}^nr_i\cdot\operatorname{inv}(M/m_i,m_i)\cdot M/m_i\pmod M. \]我们还有 Lagrange

  • postgresql依赖跟踪 cascade和restrict选项2022-06-23 10:03:57

    weather表的外键为cities的主键city字段,如下为表结构 mydb=# \d weather Table "public.weather" Column | Type | Collation | Nullable | Default ---------+-----------------------+-----------+----------+--------- city | ch

  • 多点触控模拟note2022-06-21 21:05:23

    https://appium.io/docs/cn/writing-running-appium/touch-actions/   1、java:https://blog.csdn.net/weixin_43291944/article/details/97003877   2、python:https://juejin.cn/post/6920762623394840583 from appium.webdriver.common.multi_action import MultiAction fro

  • Unable to compile Rust hello world on Windows: linker link.exe not found2022-06-10 00:02:40

    cargo build报错  1 Compiling helloworld v0.1.0 (C:\Users\DELL\helloworld) 2 3 error: linker `link.exe` not found 4 note: The system cannot find the file specified. (os error 2) 5 note: the msvc targets depend on the msvc linker but `link.exe` was

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有