ILD

Flex学习笔记5: Multiple input buffers
2019-8-2
Multiple input buffers一些scanner会都多个stream读取输入,由于flex使用大的buffer读取输入,因此你不能简单的写一个YY_IPUT(),因为你可能在buffer还没有处理完的时候(include语句后面还有很长的buffer)就需要切换输入文件。为了处理这些文

ubuntu如何查看当前的ip,网关,DNS服务器信息
2019-8-2
使用如下命令:$ nmcli device show eno1GENERAL.DEVICE: eno1GENERAL.TYPE: ethernetGENERAL.HWADDR:

bison学习笔记1:concepts
2019-8-4
1 The Concepts of Bison所有的context-free language都可以用BNF表达,所有用BNF表达的语言都可以有bison解析。1.2 From Formal Rules to Bison Inputnonterminal symbol,在bison中是一个ident

apparmor导致的文件读权限失败
2019-8-5
isc dhcpd的配置文件在/work/isc-dhcpv6.conf,一直提示没有权限。但是文件是由读权限的。先是怀疑selinux,但是执行setenforce 0,还是不行。后来发现是apparmor导致的问题。apparmor是控制可执行程序读写文件权限的,删除/etc/apparmor.

OpenWrt源码tar包下载地址
2019-8-7
https://sources.openwrt.org/

bison学习2:bison grammar files
2019-8-11
3.1 Outline of a bison grammar如下:1234567891011%{ Prologue%} Bison declarations %%Grammar rules%% Epilogue/* */类型的注释可以出现任何sections。//产生直到行尾的注释。3.1.1

Hyper-v配置NAT
2021-3-2
首先开启PowerShell。win10默认不允许powershell运行,删除注册表HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun中所有的powershell条目。H

C类型转换
2025-2-20
Implicit type castingC支持隐式转换:12short a = 10;int b = a;Explicit type casting显示转换:1234567891011 signed char a = -1; unsigned char b = -1;

ELF dynamical symbol hash table
2019-8-17
参考https://blogs.oracle.com/solaris/gnu-hash-elf-sections-v2 https://flapenguin.me/2017/05/10/elf-lookup-dt-gnu-hash/ https://r00tk1ts.github.io/2017/0

DHCP协议学习
2021-8-21
DHCP消息的格式如下: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+

Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.