Markdown

Version 1.0.1 - Tue 14 Dec 2004

by John Gruber
http://daringfireball.net/

Introduction

Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Thus, "Markdown" is two things: a plain text markup syntax, and a software tool, written in Perl, that converts the plain text markup to HTML.

Markdown works both as a Movable Type plug-in and as a standalone Perl script -- which means it can also be used as a text filter in BBEdit (or any other application that supporst filters written in Perl).

Full documentation of Markdown's syntax and configuration options is available on the web: http://daringfireball.net/projects/markdown/. (Note: this readme file is formatted in Markdown.)

Read more »

Absract

Usage: wispeeer -[gpdhv] [-i alias] [-n title]

If you are using it for the first time, first execute the command "wispeeer init alias" to initialize the blog.

Read more »

守护进程介绍

​ 守护进程(daemon)是一类在后台运行的特殊进程,用于执行特定的系统任务。很多守护进程在系统引导的时候启动,并且一直运行直到系统关闭。另一些只在需要的时候才启动,完成任务后就自动结束。

​ 守护进程是一个在后台运行并且不受任何终端控制的进程。Unix操作系统有很多典型的守护进程(其数目根据需要或20—50不等),它们在后台运行,执行不同的管理任务。

​ 用户使守护进程独立于所有终端是因为,在守护进程从一个终端启动的情况下,这同一个终端可能被其他的用户使用。例如,用户从一个终端启动守护进程后退出,然后另外一个人也登录到这个终端。用户不希望后者在使用该终端的过程中,接收到守护进程的任何错误信息。同样,由终端键入的任何信号(例如中断信号)也不应该影响先前在该终端启动的任何守护进程的运行。虽然让服务器后台运行很容易(只要shell命令行以&结尾即可),但用户还应该做些工作,让程序本身能够自动进入后台,且不依赖于任何终端。

​ 守护进程没有控制终端,因此当某些情况发生时,不管是一般的报告性信息,还是需由管理员处理的紧急信息,都需要以某种方式输出。Syslog 函数就是输出这些信息的标准方法,它把信息发送给 syslogd 守护进程。

Read more »

设置rsyslog

编辑/etc/rsyslog.conf #GuzalAida daemon log

  • local0.* /var/log/GuzalAida/GuzalAida0

& sudo mkdir /var/log/GuzalAida

sudo usermod -a -G video guzal

sudo nano /etc/ld.so.conf.d/guzalaida.conf
++ /opt/vc/lib
sudo ldconfig

软连接

sudo ln -s /opt/vc/bin/vcgencmd /usr/bin/vcgencmd
sudo ln -s /opt/vc/bin/vchiq_test /usr/bin/vchiq_test

test

vcgencmd measure_clock arm
#frequency(45)=600000000

vcgencmd选项:**vcgencmd commands**

https://elinux.org/RPI_vcgencmd_usage

Read more »

0. Environment &linux kernel & gcc toolchain

host

sudo apt install build-essential bison make
sudo apt install axel cmake
sudo apt install kpartx util-linux f2fs-tools
sudo apt install libncurses5-dev libssl-dev

rpi64

  • rpi: RaspberryPi 3b+

  • OS: debian buster

  • kernel: https://github.com/raspberrypi/linux 4.19.73

sudo apt install build-essential bison make -y
sudo apt install axel cmake -y
sudo apt install kpartx util-linux f2fs-tools -y
sudo apt install debootstrap -y
sudo apt install curl usbutils -y
Read more »