logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Linux之iptables打开所有进/出端口(一百三十二)

【代码】Linux之iptables打开所有进/出端口。

文章图片
all warnings being treated as errors报错解决

编译linux kernel3.10报错:all warnings being treated as errorsexpects argument of type 'int *', but argument 3 has type 'uint16_t *'[-Werror=format]cc1: all warnings being treated as errors

Android 中 C++ Thread线程用法(五十七)

Android对Linux线程提供了C++封装Thread类,它是线程的基类。使用Thread类,需创建一个新类继承于Thread类,并实现threadLoop()方法,它即是线程函数。要启动线程,调用run()函数即可。/** Android线程封装的基类*/class Thread : virtual public RefBase{public:

文章图片
#c++#android#java
为Android安装BusyBox —— 完整的bash shell

大家是否有过这样的经历,在命令行里输入adb shell,然后使用命令操作你的手机或模拟器,但是那些命令都是常见Linux命令的阉割缩水版,用起来很不爽。是否想过在Android上使用较完整的shell呢?用BusyBox吧。不论使用adb连接设备使用命令行还是在手机上直接用terminal emulator都可以。一、什么是BusyBox ?BusyBox 是标准 Linux 工具的一个

C语言之避免编译警告:unused用法(七)

栗子:test.c#include <stdio.h>int main(){//通用方式int __attribute__((unused)) count = 10;//2.此两种不能在linux kernel中使用/*__unused int count = 10;int count __unused = 10;*/printf("%s, ...

报错:error while loading shared libraries: libz.so.1: cannot open shared object file(二十五)

OS: Kali linuxCompile toolchian: arm-none-linux-gnueabi# arm-none-linux-gnueabi-gcc hook.carm-linux-gcc 交叉编译报错:error while loading shared libraries: libz.so.1: cannot open shared object file: ...

文章图片
#linux#arm开发#运维
Android解包命令:unpackbootimg与打包命令:mkbootimg使用

Android产品中,内核格式是Linux标准的zImage,根文件系统采用ramdisk格式。这两者在Android下是直接合并在一起取名为boot.img,会放在一个独立分区当中。这个分区格式是Android自行制定的格式。Android开发时,最标准的做法是重新编译于内核和根文件系统,然后调用Android给的命令行文件mkbootimg(out/host/linux-x8

C++读写文件之在Json数组追加元素(二十八)

#include <iostream>#include <string>#include <fstream>#include <sstream>#include <cassert>#include "json/json.h"#include

文章图片
#c++#json#开发语言
WSL2扩展虚拟硬件磁盘( VHD大于256GB报错问题)(三十三)

本篇目的:WSL2扩展虚拟硬件磁盘( VHD大于256GB报错问题)

文章图片
#linux#运维#服务器
Android iw 使用方法

iw是Android一个新的为无线网络设备配置工具,基于nl80211命令行配置工具集,Linux则默认支持iwconfig。记录下几个常用的iw命令:1、获取设备支持的模式# iw list2、扫描# iw dev wlan0 scan3、列出事件# iw event4、获取设备信息# iw dev

    共 43 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 请选择