redis operation


redis operationhttps://redis.io/commands/keys对于redis-server 的操作可以直接通过redis-cli进行增删查改。这里记录常用操作。pi@350-tf-s2 ~$ redis-cli 127.0.0.1:6379> keys * #获取所有key 1) "app:cards" 2) "app:config" 3) "pet" 4) "website" 5) "app:users" 1...

man bash redirection


man bash redirectionREDIRECTIONBefore a command is executed, its input and output may be redirected using a special notation interpreted by the shell. Redirection allows commands' file handles to be duplicated, opened, closed, made to refer to different files, and can change the files the...

理解json 数据类型


json string和亮哥对json的数据类型有了争议,这里直接dump http的post 数据。分析如下post数据的false值。{ "isSaas": false, "update_server_url": "http://update.mxj360.com", "hd_package_version": "4.0.4", "is_monitor": false, "serialNumber": "19000101001"...

beyond compare 使用记录


beyond compare notesbeyond compare 4 key H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t q2Kw2pjoiDs5gIH-uw5U49JzOB6otS7kThBJE-H9A76u4uUvR8DKb+VcB rWu5qSJGEnbsXNfJdq5L2D8...

chromium is‘t full screen


chromium is‘t full screen/usr/sbin/lightdm \_ /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch \_ lightdm --session-child 13 16 \_ /usr/bin/lxsession -s LXDE -e LXDE \_ /usr/bin/unclutter -idle 1 -root \_ /usr/bin/ssh-agent /usr/bin/dbus-l...

lightdm


LightDM Design什么是DM?DM(显示管理器)功能如下:启动和管理本地实例化的X Server;用户认证;启动和管理用户回话(常用情景);在boot过程中,单例启动X 服务器和开始一个用户会话((kiosk mode));在boot过程中,单例启动 X服务器,显示用户登录界面,在连接时启动用户会话;支持多用户同时登录,用户选择具体用户登录,同时为每一个 用户启动 X 服务器;允许 X 服务器,使用XDMCP,运行瘦客户端远程连接到其他X 服务器。设计目标快速不增加其他额外的启动时间;异常安全处理所有DefinitionsDisplay Manager - A daemon t...

Platform Devices and Drivers


Platform Devices and DriversSee <linux/platform_device.h> for the driver model interface to the platform bus: platform_device, and platform_driver. This pseudo-bus is used to connect devices on busses with minimal infrastructure,like those used to integrate peripherals on many system-on-c...

flash partition fs overview


flash partition fs overviewNandFlashnand flash对于NandFlash的认识尝试不做更多理解,只需要了解非易失存储、擦除寿命有限、通常是10K级别,同时写操作需要基于Page来。没有办法按照内存的存储基本单位字节来操作,由多个Page组成一个Block 每个 Page保留 一些字节用以 做ECC ( error correcting code )校验。通常按照如下分布。32 pages of 512+16 bytes each for a block size (effective) of 16 KB 64 pages of 2,048+64 ...

hi3798cv200 android 编译


hi3798cv200 android compilesdk 百度云下载 密码:w11f开发环境搭建和初次编译参考Android 解决方案 开发指南.pdf- >开发环境配置烧写工具HiTool-STB-3.1.35.zip 会在成功编译镜像后自动拷贝到out文件夹。$ sudo find / -name HiTool-STB* /home/jay/hi3798cv200/HiSTBAndroidV600R002C00SPC030/out/target/product/Hi3798CV200/HiTool-STB-3.1.35.zip提示:部分windows应用工具直接打包到了sd...

a64 sdk pack tool


pack tool编译打包相关脚本文件。vim -p build.sh buildroot/scripts/mkcommon.sh buildroot/scripts/mkcmd.sh tools/pack/pack boot0拷贝tools/pack/chips/sun50iw1p1/bin/boot0_sdcard_sun50iw1p1.bin到out/boot0_sdcard.fex#tools/pack/pack line 132 boot_file_list=( chips/${PACK_CHIP}/bin/boot0_sdcard_${PACK_CHIP}.bin:out/...