1 2 3 4 5 ··· 20 下一页
摘要: package main import ( "encoding/csv" "flag" "fmt" "io" "log" "net/http" "os" "strconv" "strings" "sync" "time" "golang.org/x/text/encoding/simplifiedc 阅读全文
posted @ 2025-11-04 23:13 卓能文 阅读(4) 评论(0) 推荐(0)
摘要: config.go: package main // 股票代码配置 - 简化版本,只包含主要指数和热门股票 var stockSymbols = []string{ // 主要指数 "sh000001", // 上证指数 "sh000016", // 上证50 "sh000300", // 沪深30 阅读全文
posted @ 2025-11-04 19:46 卓能文 阅读(3) 评论(0) 推荐(0)
摘要: package main import ( "encoding/json" "fmt" "io" "log" "net/http" "os" "time" ) // StockData 定义股票数据结构 type StockData struct { Symbol string `json:"sym 阅读全文
posted @ 2025-11-04 18:31 卓能文 阅读(6) 评论(0) 推荐(0)
摘要: package main import ( "encoding/csv" "encoding/json" "fmt" "io" "net/http" "os" "strconv" "strings" "time" "golang.org/x/text/encoding/simplifiedchine 阅读全文
posted @ 2025-11-04 15:23 卓能文 阅读(3) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Alpine.js 阅读全文
posted @ 2025-10-10 19:51 卓能文 阅读(6) 评论(0) 推荐(0)
摘要: Gleam 和 Elixir 均是基于 Erlang 虚拟机(BEAM)的编程语言,但两者在设计理念、语法特性、适用场景等方面存在显著差异。以下是两者的对比分析: 类型系统与安全性 Gleam 静态类型:编译时类型检查,可捕获 90% 以上的类型错误,显著降低运行时错误风险。 类型推导:支持自动类型 阅读全文
posted @ 2025-06-23 10:18 卓能文 阅读(219) 评论(0) 推荐(0)
摘要: llgo A Go compiler based on LLVM export LLVM_CONFIG=/usr/bin/llvm-config export CGO_CPPFLAGS="$($LLVM_CONFIG --cppflags)" export CGO_CXXFLAGS=-std=c++ 阅读全文
posted @ 2025-06-22 09:03 卓能文 阅读(10) 评论(0) 推荐(0)
摘要: 前言 WSL (Windows Subsystem for Linux) 通过 /mnt 目录下的 c、d、e 等目录可分别访问本地的 C、D、E 等盘,虽然可以直接访问 Windows 下的文件内容,但输入 ls -al 查看文件你会发现文件权限全都是 777。这会导致一些问题出现,比如 Git 阅读全文
posted @ 2025-06-14 23:13 卓能文 阅读(444) 评论(0) 推荐(0)
摘要: see Moving from Git to Fossil 阅读全文
posted @ 2025-06-10 17:17 卓能文 阅读(2) 评论(0) 推荐(0)
摘要: 今天执行just程序时,突然出现(wsl升级后似乎每次重启后都会出现): error: Recipe `build` with shebang `#!/usr/bin/env bash` execution error: Permission denied (os error 13) 解决方法: s 阅读全文
posted @ 2025-05-28 08:52 卓能文 阅读(39) 评论(0) 推荐(0)
1 2 3 4 5 ··· 20 下一页