摘要: git常见操作 git log filename 查看提交记录 git log -p filename 可以显示每次提交的diff 查看某次提交中的某个文件变化,可以直接加上fileName git show c5e69804bbd9725b5dece57f8cbece4a96b9f80b file 阅读全文
posted @ 2019-08-22 17:49 jiftle 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 四象限法则 三、处理四象限事务的法则1、第一象限:立即去做2、第二象限:有计划的去做1)对第二象限的事务进行目标描述和任务分解3、第三象限:交给别人去做,用“猴子法则”走出第三象限大部分人发现时间不够的主要原因是将太多不属于自己的工作揽在自己身上。,另一方面可以应用与在团队协作时不要让工作进度停留在 阅读全文
posted @ 2019-06-14 09:54 jiftle 阅读(549) 评论(0) 推荐(1) 编辑
摘要: # vim常用技巧 忠告, 如果有插件的需求,使用neovim替换vim ## 常用命令 ### 格式转换 - 查看文件格式 `:set ff` (支持两种格式 unix, dos) - 文件格式转为linux `:set ff=unix` ### 常用 - 删除空行 `:g/^$/d` 删除空行 阅读全文
posted @ 2017-04-01 12:54 jiftle 阅读(850) 评论(5) 推荐(0) 编辑
摘要: 部署ollama 部署ollama # 创建目录 mkdir ollama # 下载安装包 curl -L https://ollama.com/download/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz # 解压 tar -C ollama 阅读全文
posted @ 2025-02-12 10:42 jiftle 阅读(3) 评论(0) 推荐(0) 编辑
摘要: termux环境 termux是模拟的linux环境,提供了在安卓手机上模拟的linux环境。 SSH远程 # 安装ssh服务 pkg install openssh # 查看ip ifconfig # 启动ssh服务,端口默认8022 sshd # 修改默认随机密码 passwd 电脑SSH连接手 阅读全文
posted @ 2025-01-25 00:50 jiftle 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 地址栏输入about:config,修改layout.css.devPixelsPerPx默认1.25,改为1.0就可以了。 deepin版本: 20.9 社区版 firefox版本: 115.18.0esr (64 位) 修改前 改参数 修改后 阅读全文
posted @ 2025-01-17 23:45 jiftle 阅读(4) 评论(0) 推荐(0) 编辑
摘要: sudo apt install docker-ce 阅读全文
posted @ 2025-01-17 15:56 jiftle 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 执行以下命令,然后重启 sudo adduser john vboxusers 阅读全文
posted @ 2025-01-17 13:52 jiftle 阅读(3) 评论(0) 推荐(0) 编辑
摘要: curl -x socks5h://192.168.56.1:1080 https://www.google.com centos7 设置DNS # 查询网卡连接 nmcli connection show # 查看使用的哪个网卡 ip addr # 设置dns nmcli con mod 'Wir 阅读全文
posted @ 2025-01-12 14:41 jiftle 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 编译环境 go1.20 MingW交叉编译器 mingw-w64 apt install mingw-w64 ARM交叉编译器 apt install gcc-aarch64-linux-gnu Windows编译指令 64位动态库 windows: CGO_ENABLED=1 \ GOOS=win 阅读全文
posted @ 2025-01-02 10:16 jiftle 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 就在刚刚,由Transformer八子创立的Sakana AI,联合来自MIT、OpenAI、瑞士AI实验室IDSIA等机构的研究人员,提出了「自动搜索人工生命」的新算法! 论文地址:https://arxiv.org/abs/2412.17799 言归正传,ALife,即「人工生命」,是一门跨学科 阅读全文
posted @ 2024-12-26 10:06 jiftle 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 查看总的文件打开数 lsof 查看占用文件打开数最多的10个进制 lsof | awk '{print $2}' | sort | uniq -c | sort -nr | head -n 10 # lsof | awk '{print $2}' | sort | uniq -c | sort -n 阅读全文
posted @ 2024-11-14 14:50 jiftle 阅读(59) 评论(0) 推荐(0) 编辑
摘要: so动态库的搜索路径搜索的先后顺序 编译目标代码时指定的动态库搜索路径 环境变量LD_LIBRARY_PATH指定的动态库搜索路径 配置文件/etc/ld.so.conf中指定的动态库搜索路径 默认的动态库搜索路径/lib 默认的动态库搜索路径/usr/lib gcc编译指定动态库搜索路径 -Wl, 阅读全文
posted @ 2024-11-14 14:27 jiftle 阅读(31) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示