Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
kuc-arc-f / main.go
Created July 8, 2025 10:22
GoLang , mail send Gmail
package main // mainパッケージであることを宣言
import (
"fmt"
"log"
"net/smtp"
)
func main() {
// --- 送信者と受信者の情報を設定 ---
@kuc-arc-f
kuc-arc-f / Cargo.toml
Created July 6, 2025 10:40
React axum , excel edit download
[package]
name = "excel_example"
version = "0.1.0"
edition = "2024"
[dependencies]
axum = "0.7.5"
tokio = { version = "1.0", features = ["full"] }
tokio-stream = "0.1.17"
tower-http = { version = "0.6.6", features = ["fs"] }
@kuc-arc-f
kuc-arc-f / Cargo.toml
Created July 6, 2025 04:21
Rust Excel edit , example
[package]
name = "excel-test"
version = "0.1.0"
authors = ["naka"]
edition = "2021"
[dependencies]
umya-spreadsheet = "2.3.1"
@kuc-arc-f
kuc-arc-f / Cargo.toml
Created July 6, 2025 03:36
Rust Excel new sheet , example
[package]
name = "excel-test"
version = "0.1.0"
authors = ["naka"]
edition = "2021"
[dependencies]
umya-spreadsheet = "2.3.1"
@kuc-arc-f
kuc-arc-f / server.go
Last active July 6, 2025 00:56
Golang Excel edit download , example
package main
import (
"bytes"
"fmt"
"html/template"
"log"
"net/http"
"strconv"
"path"
@kuc-arc-f
kuc-arc-f / server.go
Created July 5, 2025 23:16
Golang Excel download , example
package main
import (
"bytes"
"fmt"
"html/template"
"log"
"net/http"
"strconv"
"path"
@kuc-arc-f
kuc-arc-f / main.go
Created July 5, 2025 09:38
Golang Excel edit example
package main
import "github.com/xuri/excelize/v2"
func main() {
f := excelize.NewFile()
defer f.Close()
// 新規シート作成&セル書き込み
var shht_name = "Sheet1"
@kuc-arc-f
kuc-arc-f / go.mod
Created June 25, 2025 06:20
golang + redis , example-3
module example.com/redis4
go 1.24.4
require (
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/redis/go-redis/v9 v9.11.0 // indirect
)
@kuc-arc-f
kuc-arc-f / package.json
Created June 25, 2025 05:24
node + redis , example-2
{
"name": "redis2_node",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
@kuc-arc-f
kuc-arc-f / Cargo.toml
Created June 25, 2025 02:56
Rust + redis , example-2
[package]
name = "redis_test"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
redis = "0.32"