1 2 3 4 5 ··· 115 下一页
摘要: git常见操作 git log filename 查看提交记录 git log -p filename 可以显示每次提交的diff 查看某次提交中的某个文件变化,可以直接加上fileName git show c5e69804bbd9725b5dece57f8cbece4a96b9f80b file 阅读全文
posted @ 2019-08-22 17:49 jiftle 阅读(414) 评论(0) 推荐(0)
摘要: 四象限法则 三、处理四象限事务的法则1、第一象限:立即去做2、第二象限:有计划的去做1)对第二象限的事务进行目标描述和任务分解3、第三象限:交给别人去做,用“猴子法则”走出第三象限大部分人发现时间不够的主要原因是将太多不属于自己的工作揽在自己身上。,另一方面可以应用与在团队协作时不要让工作进度停留在 阅读全文
posted @ 2019-06-14 09:54 jiftle 阅读(580) 评论(0) 推荐(1)
摘要: vim常用技巧 忠告, 如果有插件的需求,使用neovim替换vim 常用命令 格式转换 查看文件格式 :set ff (支持两种格式 unix, dos) 文件格式转为linux :set ff=unix 常用 删除空行 :g/^$/d 删除空行 删除windows换行符 :%s/\r//g 删除 阅读全文
posted @ 2017-04-01 12:54 jiftle 阅读(895) 评论(5) 推荐(0)
摘要: 千问网页版生成的代码不支持语法高亮,也找不到反馈建议的渠道。直接告诉AI了,不知道什么时候可以改进。 --2026.3.25 阅读全文
posted @ 2026-03-25 14:28 jiftle 阅读(2) 评论(0) 推荐(0)
摘要: 查看命令 glxinfo | grep -i "video memory|memory" # glxinfo | grep -i "video memory\|memory" Video memory: 4096MB Unified memory: no Memory info (GL_ATI_me 阅读全文
posted @ 2026-03-25 10:13 jiftle 阅读(2) 评论(0) 推荐(0)
摘要: golang测试模型的token输出速度 package main import ( "bytes" "encoding/json" "fmt" "io" "net/http" "os/exec" "runtime" "strconv" "strings" "time" ) type Request 阅读全文
posted @ 2026-03-24 23:36 jiftle 阅读(3) 评论(0) 推荐(0)
摘要: Go 实现本地 Ollama 模型基准测试工具 在本地部署 LLM 时,评估模型的推理速度(TPS)和延迟是关键环节。本文介绍一个基于 Go 语言编写的 Ollama 模型基准测试工具,支持并发测试、配置化管理及自动化报告。 每秒输出token数是重要的衡量指标 功能特性 并发测试:支持同时测试多个 阅读全文
posted @ 2026-03-23 11:46 jiftle 阅读(13) 评论(0) 推荐(0)
摘要: 使用golang编写大语言模型的输出速度性能 package main import ( "bytes" "encoding/json" "fmt" "net/http" "time" ) type Request struct { Model string `json:"model"` Promp 阅读全文
posted @ 2026-03-23 11:30 jiftle 阅读(2) 评论(0) 推荐(0)
摘要: Documentation Index Fetch the complete documentation index at: https://docs.ollama.com/llms.txt Use this file to discover all available pages before e 阅读全文
posted @ 2026-03-19 15:43 jiftle 阅读(99) 评论(0) 推荐(0)
摘要: 树莓派pico播放小星星,无源蜂鸣器 from machine import Pin, PWM import time # 配置区域 BUZZER_PIN = 15 # 蜂鸣器连接的 GPIO 引脚 (建议 GP15) VOLUME = 20000 # 音量 (0-65535), 建议 40000 阅读全文
posted @ 2026-03-06 23:34 jiftle 阅读(9) 评论(0) 推荐(0)
摘要: from machine import Pin, PWM import utime # 定义音调频率 tones = {'1': 262, '2': 294, '3': 330, '4': 349, '5': 392, '6': 440, '7': 494, '-': 0} # 定义小星星旋律 me 阅读全文
posted @ 2026-02-17 23:34 jiftle 阅读(3) 评论(0) 推荐(0)
摘要: """ Micropython (Raspberry Pi Pico) Plays music written on onlinesequencer.net through a passive piezo buzzer. Uses fast arpeggios with a single buzze 阅读全文
posted @ 2026-02-17 23:33 jiftle 阅读(5) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python3 # -*- coding: utf-8 -*- # 版本:V2.0 # author: zhulin # 硬件: # 1. Pico + Esp8285开发板 # 2. LED灯 2个 # 3. DS18B20温度传感器 1个 # 4. 1602液晶LC 阅读全文
posted @ 2026-02-17 23:27 jiftle 阅读(12) 评论(0) 推荐(0)
1 2 3 4 5 ··· 115 下一页