上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 114 下一页
摘要: Ubuntu系统下制作U盘启动盘 在终端输入 sudo fdisk -l 查看U盘的路径,如/dev/sdb或/dev/sdc。 然后下载ISO文件,如文件路径为/home/raina/xxx.iso 在终端输入 sudo dd if=/home/raina/xxx.iso of=/dev/sdb 阅读全文
posted @ 2022-01-09 01:23 jiftle 阅读(2679) 评论(0) 推荐(0)
摘要: ❯ cat /etc/my.bashrc # golang 配置 # export GOROOT="/usr/local/go/1.16.6" export GOROOT="/usr/local/go/1.17.3" export GOPATH="/home/john/wsp/gowork" exp 阅读全文
posted @ 2022-01-09 01:22 jiftle 阅读(113) 评论(0) 推荐(0)
摘要: ❯ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be 阅读全文
posted @ 2022-01-09 00:29 jiftle 阅读(87) 评论(0) 推荐(0)
摘要: 在我们日常开发中,运行一个服务,都是在 shell 或 cmd 下执行命令,像是使用 go run main.go 直接编译运行,或是 go build 编译生成可执行文件后,以 ./xxx 方式运行。 Go 支持交叉编译生成各平台的可执行文件。那有没有想过如何把你写的程序编译后跑在 Android 阅读全文
posted @ 2022-01-07 15:43 jiftle 阅读(1529) 评论(0) 推荐(0)
摘要: ![](https://img2020.cnblogs.com/blog/137928/202201/137928-20220107153343834-47786135.png) 阅读全文
posted @ 2022-01-07 15:34 jiftle 阅读(59) 评论(0) 推荐(0)
摘要: 系统工具 host文件修改 https://hub.fastgit.org/kevinburke/hostsfile 算法 otp 基于时间的一次性密码 Go 算法库。 GUI 非常小巧精妙的GUI库,可用来开发跨平台的GUI程序 https://hub.fastgit.org/zserge/lor 阅读全文
posted @ 2021-12-29 11:02 jiftle 阅读(91) 评论(0) 推荐(0)
摘要: docker hub 偶尔不能访问,网络慢等等原因不能正常访问,可以使用下面的脚本获取docker镜像的插件 docker-tags-list.sh #!/bin/bash # # FileName: docker-tags-list.sh # Date: 2021-12-24 # Author: 阅读全文
posted @ 2021-12-24 14:20 jiftle 阅读(432) 评论(0) 推荐(0)
摘要: #!/bin/bash # 添加sudo账号 echo " |--> 添加sudo账号" adduser admin pwd="123456" echo "admin:${pwd}" | chpasswd # 设置sudo权限 usermod -a -G wheel admin 阅读全文
posted @ 2021-12-23 11:11 jiftle 阅读(157) 评论(0) 推荐(0)
摘要: 线程同步的方式和机制 临界区、互斥区、事件、信号量四种方式 临界区(Critical Section)、互斥量(Mutex)、信号量(Semaphore)、事件(Event)的区别 临界区:通过对多线程的串行化来访问公共资源或一段代码,速度快,适合控制数据访问。在任意时刻只允许一个线程对共享资源进行 阅读全文
posted @ 2021-12-21 10:25 jiftle 阅读(268) 评论(0) 推荐(0)
摘要: 原文 寄存器 Instruction Notation R(A) Register A (specified in instruction field A) R(B) Register B (specified in instruction field B) R(C) Register C (spe 阅读全文
posted @ 2021-12-11 21:25 jiftle 阅读(406) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 114 下一页