自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hushui的专栏

Full Stack Engineer

  • 博客(384)
  • 资源 (14)
  • 收藏
  • 关注

原创 Python、3.8 spider scrapy for CSDN blog, convert to Markdown

【代码】Python spider scrapy for CSDN blog, convert to Markdown。

2023-06-16 20:15:40 155

原创 arm virtgpu

virt gpu example arm target on x86 host

2023-04-23 09:04:24 361 1

原创 openssl pem/der and key/crt

openssl

2022-12-26 19:33:25 306

原创 SSH through HTTP proxy

SSH proxy

2022-10-08 16:44:49 537

原创 tftp linux

NA

2022-07-14 18:14:43 209

原创 history/bash

Linux shell history

2022-07-12 15:19:25 153

原创 dd/skip(input file)/seek(outputfile) 参数计算/十六进制等

:skip=xxx是在备份时对if 后面的部分也就是原文件跳过多少块再开始备份;seek=xxx则是在备份时对of 后面的部分也就是目标文件跳过多少块再开始写。Example:u-boot_params.bin is saved in MMC offset 40960, size 153600dump itroot@localhost:/tmp# dd if=/dev/mmcblk0 of=./u-boot_params.bin bs=1 skip=40960 count=15360...

2022-05-14 17:32:37 547

原创 ffmpeg拆分视频按fps为图片/合并多个同源同格式视频

1.ffmpeg将视频导出成多张图片ffmpeg -i output.mp4 -r your_fps_of_your_video-f image%05d.jpeg2.ffmpeg合并多少video(同一格式),比如Iphone/MOV视频输入文件/文本文件filelist.txtfile 'IMG_1.mov'file 'IMG_2.mov'Exampleffmpeg -f concat -i filelist.txt -c copy output.mov...

2022-05-05 10:39:11 968

原创 Base64 File transfer over a serial line/tty/linux

Target ARM/Linux with opensslHost/Encoder:openssl enc -base64 <file.bin > file.b64Target/Decode:cat > file.b64yourfileXXXXCtrl+Dopenssl enc -base64 -d <file.b64 > file.bin

2022-03-16 18:22:42 787

原创 gdb uboot relocation/symbol aarch64

[U-Boot] README.arm-relocation: get relocated address in gdb - Patchwork

2022-01-26 15:07:51 292

原创 ssh remote etc

ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no example.com

2021-12-06 09:22:07 924

原创 gdb10.2/arm64_kernel 5.10/debug/qemu5

1.1.1 aarch64-linux-gnu- defconfig[lhu3@zch127bld08 linux-stable]$ qemu-system-aarch64 --versionQEMU emulator version 5.0.0Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers[lake@localhost linux-stable]$##### aarch64/...

2021-12-01 20:27:54 1304

原创 The Linux Kernel Module Programming Guide <5.0 kernel>

GitHub - sysprog21/lkmpg: The Linux Kernel Module Programming Guide (updated for 5.x kernels)

2021-11-26 15:26:15 372

原创 overflow.h/Gcc5

#if __GNUC__ >= 5 || __has_builtin(__builtin_add_overflow)/** assume clang and gcc (>=5) to only have builtins for now. */# define add_of(a, b, r) __builtin_add_overflow(a, b, r)# define sub_of(a, b, r) __builtin_sub_overflow(a, b, r)# define.

2021-11-17 10:48:09 443

原创 Yocto image/package/task example

1. task for Image [lake@localhost yocto3.2_poky]$ bitbake -c listtasks core-image-minimalLoading cache: 100% |############################################################################| Time: 0:00:00Loaded 1354 entries from dependency cache.N.

2021-11-16 09:29:11 366

原创 Centos7/build python3.7.3 with sqlite3 support (local install without root)

9290 2021-11-09 15:09:28 wget https://www.sqlite.org/2017/sqlite-autoconf-3170000.tar.gz --no-check-certificate 9292 2021-11-09 15:09:35 tar zxf sqlite-autoconf-3170000.tar.gz 9293 2021-11-09 15:09:36 ls 9294 2021-11-09 15:09:39 cd sqlit..

2021-11-09 15:38:17 537

原创 using a local_manifest.xml with repo

cp your_local_mainifest.xml .repo/manifestsrepo init -m your_local_manifest.xmlrepo sync

2021-11-08 16:02:49 234

原创 Centos ISO install from harddisk

Grub1kernel (hd0,0)/isolinux/vmlinuz linux textrepo=hd:/dev/sda2:/initrd (hd0,0)/isolinux/initrd.imgOrkernel (hd0,0)/isolinux/vmlinuz noeject inst.stage2=hd:/dev/sda1:/CentOS-7-x86_64-DVD-1503-01.isoinitrd (hd0,0)/isolinux/initrd.img...

2021-10-27 15:44:02 202

原创 Manual initrd/busybox for qemu/i386

### for i386 32bit build [lake@localhost busybox-1.33.0]$ CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 make defconfig[lake@localhost busybox-1.33.0]$ CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 make menuconfig ---> Static link busyboxscripts/kconf...

2021-10-27 10:11:03 1248

原创 GCC build a 32-bit binary on a 64-bit linux machine

export CFLAGS=-m32 export CXXFLAGS=-m32export LDFLAGS=-m32 CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 gcc/g++/make Example for busyboxCFLAGS=-m32CXXFLAGS=-m32LDFLAGS=-m32 make defconfigCFLAGS=-m32CXXFLAGS=-m32LDFLAGS=-m32 mak...

2021-10-26 17:33:09 306

原创 OpenGLES

GitHub - danginsburg/opengles3-book: OpenGL ES 3.0 Programming Guide Sample Codecl Hello_Triangle.c -I ..\..\Common\Include -I ..\..\External\Include ..\..\Common\Source\esUtil.c ..\..\Common\Source\Win32\esUtil_win32.c "kernel32.lib" "us..

2021-10-11 16:26:06 395

原创 git filter-branch --subdirectory-filter

git 库buildrootlinux2个子目录 放弃buidlroot将linux提升为根目录 , 保持git日志不变-bash-4.2$ git clone https://github.com/Broadcom/stblinux-4.9.gitCloning into 'stblinux-4.9'...remote: Enumerating objects: 201985, done.remote: Counting objects: 100% (7916/79...

2021-10-09 14:16:05 487

原创 git change email by filter-branch/set local git email

[lake@localhost linux-stable]$ git config --global alias.change-commits '!'"f() { VAR=\$1; OLD=\$2; NEW=\$3; shift 3; git filter-branch --env-filter \"if [[ \\\"\$\`echo \$VAR\`\\\" = '\$OLD' ]]; then export \$VAR='\$NEW'; fi\" \$@; }; f"[lake@localhost.

2021-10-09 13:39:58 272

原创 FIREFLY-RK3399-UBUNTU-20.04 GUI info

firefly@firefly:~$ echo $XDG_SESSION_TYPEx11firefly@firefly:~$firefly@firefly:~$ xdriinfolibGL error: failed to create dri screenlibGL error: failed to load driver: rockchiplibGL error: failed to create dri screenlibGL error: failed to load dr...

2021-10-07 21:08:08 2960 3

原创 git remote tag fetch one

[lake@localhost buildroot]$ git fetch origin --tagsremote: Enumerating objects: 23716, done.remote: Counting objects: 100% (19099/19099), done.remote: Compressing objects: 100% (9145/9145), done.remote: Total 15644 (delta 11018), reused 9843 (delta 64.

2021-09-30 10:11:19 143

原创 kmscube/RK3399/Linux

No waylandNo westonNo qtKmscubebased on libdrm/EGL>>>>>>>>>> log[root@rk3399:/]# kmscubearm_release_ver of this libmali is 'r18p0-01rel0', rk_so_ver is '4'.Using display 0x19ffc390 with EGL version 1.4EGL..

2021-09-28 19:12:03 1505

原创 git/windows/powershell

Set startup script of powershellC:\Users\yourname> New-Item $profile -Type File -Force Directory: C:\Users\yourname\Documents\WindowsPowerShellMode LastWriteTime Length Name---- ------------- ...

2021-09-28 15:22:38 126

原创 RK3399/libdrm/modetest

PLANE(ID=58, W=1920, H=1080) | \ | /CRCT(ID=64) --> ENCODER(ID=92) --> CONNECTED(ID=93) --> HDMImodetest -a -s 93@64:1920x1080 -P 58@64:1920x1080 -Ftiles[root@rk3399:/]# modetest -a -s 93@64:1920x1080 -P 58@64:1920x1080tryi...

2021-09-27 11:13:42 1596

原创 npm config set registry (Domestic respository )

1 #将来源换成淘宝源2 npm config set registry https://registry.npm.taobao.orgFile =====> ~/.npmrc

2021-09-22 21:20:48 1881

原创 韦东山Linux视频第1期

我用阿里云盘分享了「韦东山Linux视频第1期 S3C6410版本」,你可以不限速下载???? 复制这段内容打开「阿里云盘」App 即可获取 链接:https://www.aliyundrive.com/s/ZhN7XcNgAAR

2021-09-21 13:50:34 250

原创 Java/VSCode settings.json

Path :C:\Users\XXXX\AppData\Roaming\Code\User\settings.json "java.configuration.runtimes": [ { "name": "JavaSE-1.8", "path": "C:\\Program Files\\Java\\jdk1.8.0_171", "default": true }, { "name": "..

2021-09-20 12:44:04 1445

原创 git show remote branch before fetch

[lake@localhost u-boot]$ git remote add friendlyELEC-Rockchip https://github.com/friendlyarm/uboot-rockchip.git[lake@localhost u-boot]$ git remote show friendlyELEC-Rockchip* remote friendlyELEC-Rockchip Fetch URL: https://github.com/friendlyarm/ub.

2021-09-14 16:41:15 358

原创 Google C++ Unit test sample

[lake@localhost source]$ git clone -b v1.8.x --depth 1 https://github.com/google/googletest.gitCloning into 'googletest'...remote: Enumerating objects: 369, done.remote: Counting objects: 100% (369/369), done.remote: Compressing objects:...

2021-09-14 14:50:09 556

原创 git stash one file only

[lake@localhost test]$ git stash push -p -m "Bcm error label" ./testgit/brm.cppdiff --git a/testgit/brm.cpp b/testgit/brm.cppindex 4441dbf5be9..7b270c4e473 100644--- a/testgit/brm.cpp+++ b/testgit/brm.cpp@@ -1133,6 +1133,7 @@ bool convertCSt.

2021-09-14 10:50:37 140

原创 STL container value types can‘t be reference

No. STL container value types need to be assignable. References are not assignable. (You cannot assign them a different object to reference.)

2021-09-08 08:41:00 88

原创 make_unique for c++11

// for c++ 11 as make_unique is only specified in c++ 14template<typename T, typename... Args>std::unique_ptr<T> make_unique(Args&&... args){ return std::unique_ptr<T>(new T(std::forward<Args>(args)...));}

2021-09-07 09:41:05 207

原创 sed macro

[lake@localhost]$ echo "href=\"./index.php@commmnd=223\""href="./index.php@commmnd=223"[lake@localhost]$ echo "href=\"./index.php@commmnd=223\"" |sed 's/href\=\"\(.*\)\"/href\=\"\1\.html\"/g'href="./index.php@commmnd=223.html"Use [^\"]* ,...

2021-07-29 09:43:01 98

原创 cp filelist

# sed for empty lines' removecat yourfilelist | sed -r '/^\s*$/d' |xargs -r cp -p -v --target-directory=/your_destnation_folder_name/

2021-07-27 17:16:49 143

原创 Win10 Chinese输入法修复/note

Win10 输入法问题1. Servie Touch Keyboard and Handwriting Panel Service ---> Set Manual start2. Win10 Tablet mode diable , Setting ---> System3. Retart TextServicesFramework monitor task4. Restart ctfmon.exe

2021-07-23 14:23:01 528

原创 patch/lib without LD_LIBBRARY_PATH

Question:Buildroot does not allowLD_LIBBRARY_PATHBuild/make user does not have root provilege.Buildroot needs some extra so/lib for host side tool/QT buildSolution[lake@localhost rk3399_linux_release_v2.5.1_20210301]$ ldd /data/sdb/lake/sou..

2021-07-21 17:38:47 112

Qemu5最新 X64版本 ARM X86 Windows版 包含演示Linux版本直接运行

Qemu5最新版本 ARM X86 Windows版 包含演示Linux版本直接运行 此版本去除了一般不需要的除ARM/Intel之外的虚拟机 加入了ARM/X86直接可以运行的演示虚拟机例子 见 test-i386和test-arm 本版本运行于Windows X64版本

2020-09-26

FFMPEG WinXP 32位最终版本 ffmpeg-3.4.1-WinXP

FFMPEG WinXP 32位最终版本 ffmpeg-3.4.1-WinXP 32位WinXP开用~

2020-09-26

find_tar_headers.zip

寻找tar文件脚本,用于tar.bz2修复 https://blog.csdn.net/hushui/article/details/107963114

2020-08-12

RK3399技术培训-20180619

RK3399最新2018/06 培训信息 包括android调试 摄像头等

2018-07-06

Rockchip Application Chipset Roadmap for open market 201710

Android RK3399/3288 etc new Roadmap, Tablet/VR Android7/Android8

2018-07-06

傅里叶变换 快速傅里叶变换 VC++ 代码演示

傅里叶变换 快速傅里叶变换 VC++ MFC VC6程序

2010-03-03

傅里叶变换和快速傅里叶变换VC++算法实现和演示

傅里叶变换和快速傅里叶变换VC++算法实现和演示 VC++6编译, MFC程序

2010-03-03

数据结构常用算法演示软件

Delphi写的 演示数据结构算法如队列 堆栈 等 源代码的执行过程,包括C和Phacal 7z压缩软件解压

2010-03-03

俄罗斯方块游戏代码(DOS下TurboC2.0编译)

俄罗斯方块游戏代码(DOS下TurboC2.0编译)

2010-03-03

arm-instruction chm

ARM 指令 大全 CHM版本

2008-07-29

AVRStudio的应用.PDF

AVRStudio的应用.PDF

2008-07-29

Programming Embedded Systems in C and C++

Programming Embedded Systems in C and C++<br>CHM版

2008-07-29

仿QQ界面的VC程序

仿QQ界面的VC程序

2008-07-29

AES加密在AVRStudio实现

AES加密在AVRStudio实现,针对AVR单片机<br>需要内存4k

2008-07-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除