This file contains 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
MP4 TO MP4 (MEDIUM) | |
ffmpeg -i input.mp4 -b 1000000 output.mp4 | |
M2TS TO MP4 | |
ffmpeg -i input.m2ts -vcodec libx264 -crf 20 -acodec ac3 -vf "yadif" output.mp4 | |
MP4 TO WEBM (HIGH) | |
ffmpeg -i input.mp4 -aq 5 -ac 2 -qmax 25 -threads 2 output.webm | |
ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus output.webm |
This file contains 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
https://lists.gnu.org/archive/html/qemu-devel/2012-03/msg03390.html | |
Two major issues with this procedure: | |
1. When using kvm, a soft breakpoint (as set by 'b') will inject a trap | |
instruction into the guest image - which is not yet loaded after the | |
bios ran. You need to use a hardware breakpoint in this case. | |
2. Due to gdb limitations, you cannot switch between 16/32-bit mode (the | |
CPU starts in 16 bit) and the 64-bit mode of kernel within the same gdb |
site: https://github.com/google/syzkaller
= How To Start = Environment Setup
This file contains 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
/etc/services && /System/Library/LaunchDaemons/ssh.plist |
REF: https://superuser.com/questions/1005881/ssh-rootip-of-lxc-container-dont-work
iptables -t nat -A PREROUTING -i [host NIC] -p tcp --dport 2222 -j DNAT --to [container ip address]:22
- include/linux/skbuff.h: struct sk_buff
- Timing of creation:
- When applications pass data from socket
- Packets arrive at NIC (dev_alloc_skb())
- Contain real data's information and pointer to the real data
- used by all the network layers
- Timing of creation:
- when packet is passing UP through layers, old headers are not removed.
Debugging in uboot, especially after uboot relocated, can refer to:
For armv8 target, 'relocaddr' is stored in register x0 (arch/arm/lib/crt0_64.S:102)
$ aarch64-elf-gdb u-boot -x start.gdb
GNU gdb (Linaro GDB 2015.08) 7.10.0.20151014-cvs
Copyright (C) 2015 Free Software Foundation, Inc.
This file contains 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
ENTRY(_start) | |
SECTIONS | |
{ | |
. = 0x0; | |
.ro : { | |
*(.text) | |
*(.rodata) | |
} | |
. = 0x00100000; | |
.rw : { |
This file contains 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
PANDOC = pandoc | |
PANDOC_MD = doc.md | |
TEX_TEMPLATE = mincho.tex | |
PDF_FILE = em.pdf | |
PANDOC_OPTS += --highlight-style tango -N --toc | |
PANDOC_OPTS += --latex-engine=xelatex -H $(TEX_TEMPLATE) | |
PANDOC_OPTS += --filter pandoc-citeproc --csl ieee.csl --bibliography=ref.bib | |
# make citation number in article linkable | |
PANDOC_OPTS += --metadata link-citations=true | |
FONTS_OPTS += --variable mainfont="Noto Sans CJK JP" |
NewerOlder