logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vscode 连接 ssh linux 服务器 使用 code 打开文件

在我们的开发的时候,常常使用 vscode 进行开发具体而言一种方式就是 通过 ssh 连接公司的编译服务器连接终端以后,每次打开文件都需要去左边的文件管理器双击打开,很不方便可以使用 vscode 自带的 code 命令打开文件在ssh 服务器的家目录下有个 .vscode-server 的文件夹,找到里面的code 可执行文件 并把它添加到环境变了里面就可以了打开 ~/.bashrc# Vsc

#vscode#linux#ssh
gitlab 出现git pull 成功 git push失败的情况

在实际的开发过程中,从gitlab 拉取代码成功,修改后 git push 的时候 却出现了 如下的提示:# git pushremote: You are not allowed to push code to this project.fatal: unable to access 'https://xxxxx.git/': The requested URL returned error:

win11 命令行 计算文件的md5

【代码】win11 命令行 计算文件的md5。

#windows
I2C 报错问题排查

i2c 报 “timeout, ipd: 0x80, state: 1”错误,芯片供电不对导致(要求1.8V,实际1.2V)。i2c 报 “timeout, ipd: 0x00, state: 1”错误,测量发现SCL和SDA无法拉低,硬件电平转换电路的问题。i2c 报错可按如下方法和步骤排查:如果调用 I2C 传输接口返回值为 -6(-ENXIO)时候,表示为 NACK 错误,即对方设备无应答响

adbkey相关知识,以及利用它进行权限控制

前言用adb调试android设备的时候,第一次连接的时候会出现一个授权提示:error: device unauthorized. Please check the confirmation dialog on your device.这时候在android设备上会出现一个提示框,让用户确认是否允许PC进行调试那么这个过程中发生了什么呢? 往下看工作原理当我们在PC上启动adb...

AttributeError: 'dict' object has no attribute 'iteritems'

Python3.5中:iteritems变为items这就导致了android 源码编译不过环境 androidN文件 build/tools/post_process_props.py#!/usr/bin/env python...........buildprops = prop.to_dict()for key, value in buildprops.iteritems():就会在这里报错

Python 实现刷新目录下各级文件的时间戳

#!/usr/bin/env python# -*- coding:utf-8 -*-## update the file's time using the shell cmd 'touch'## e.g.#1. touchdir#this will touch current file path#2. touchdir [path]#this will t...

linux内核定时器-简单示例代码

#include <linux/timer.h>#include <linux/module.h>struct timer_list timer;static void timer_test_handle(unsigned long data){printk("timer test\n");timer.expires = jiffies + HZ;// 1sadd_time

到底了