Skip to content

Instantly share code, notes, and snippets.

View matsubo's full-sized avatar

Yuki Matsukura matsubo

View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 20 columns, instead of 11 in line 8.
# No. 氏名 年齢 性別 居住地 スタート スイムLAP スイムF バイクS バイク30 バイク68 バイクF ランS R折り返し R25 FINISH 総合記録 ステータス 備考
1 609 古谷 純平 33 男 東京都 7:00:00 7:17:06 7:35:11 7:37:27 8:18:03 9:11:40 10:30:48 10:33:34 11:35:46 12:19:59 13:03:57 6:03:57
2 1 寺澤 光介 31 男 東京都 7:00:00 7:17:57 7:37:28 7:39:22 8:23:08 9:20:54 10:49:48 10:51:59 11:55:35 12:39:44 13:23:14 6:23:14
3 4 大倉 拓也 31 男 大阪府 7:00:00 7:20:25 7:42:14 7:44:25 8:28:56 9:27:14 10:54:38 10:56:43 12:00:26 12:42:54 13:24:09 6:24:09
4 971 前田 能宜 26 男 愛知県 7:00:00 7:18:30 7:39:17 7:41:55 8:26:50 9:27:03 10:55:48 10:58:33 12:03:46 12:49:23 13:34:24 6:34:24
5 306 星 大樹 36 男 千葉県 7:00:00 7:20:49 7:43:39 7:46:38 8:31:00 9:29:20 10:55:47 10:58:01 12:04:06 12:50:50 13:37:20 6:37:20
6 429 菊池 朋明 36 男 東京都 7:00:00 7:20:22 7:42:15 7:45:38 8:29:58 9:29:41 10:55:21 10:58:08 12:08:39 12:56:10 13:42:29 6:42:29
7 5 土田 洋平 45 男 岐阜県 7:00:00 7:23:25 7:48:12 7:50:55 8:33:35 9:30:52 10:58:48 11:00:49 12:09:38 12:57:29 13:43:21 6:43:21
8 74 OH SANGWHAN 51 男 SOUTH KOREA 7:00:00 7:26:33 7:53:53 7:57:30 8:41
{
"店舗名": "zaim マート",
"キャッチフレーズ": "マイントが貯まる!",
"ポイント情報": "150ポイント貯まる",
"店舗": "銀座 店",
"支店情報": {
"支店名": "OOO 支店",
"電話番号": "01-1234-5678"
},
"購入日時": {
@matsubo
matsubo / index.html
Created December 24, 2024 10:10
Realtime translation using OpenAI realtime API via WebRTC
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.2/cerulean/bootstrap.min.css">
<title>Realtime Translation Test</title>
</head>
<body>
<div class="container mt-5">
"use client"
import { useState, useEffect } from "react"
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
import { Input } from "@/components/ui/input"
import { Button } from "@/components/ui/button"
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"
import { ArrowUpDown } from "lucide-react"
// 選手データの型定義
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 41 columns, instead of 1 in line 3.
time,point,label,placeChange,place,pid,bib,bib_display,tag,name,timeOfDay,epochTime,milePace,milePaceAvg,mph,kmPace,kmPaceAvg,kmh,startTime,sex,profile_pic,profile_color,_ver,alias,pace,paceAvg,legTime,splitTime,netTime,waveTime,isFinish,course,country,country_iso,city,team,division,timestamp,i,u,leaderDiff
09:54:06.779,FINISH,Finish,0,1,R76ME5PW,686,686,GC09820,Lea Riccoboni,5:31:09 pm,1727019068.611,07:53,07:19,7.61,04:54,04:33,12.25,7:37:02 am,F,/user/UMBSF2JR/img?v=14,14,14,FINISH.ARCH,04:54 min/km,04:33 min/km,03:11:26.87,00:06:20.57,09:54:06.779,09:54:06.779,1,ironman,FRA,fr,Santiago de Chile,MULTISPORTCOACH,F30-34,1727026268.611,1727019070_000092,1727019070_000275,
09:56:32.185,FINISH,Finish,0,2,R52JTACF,252,252,CX82516,Joanna Soltysiak-Vrebac,5:21:33 pm,1727018492.82,07:09,07:20,8.41,04:27,04:33,13.53,7:25:01 am,F,,11,55,FINISH.ARCH,04:27 min/km,04:33 min/km,03:11:57.363,00:05:44.653,09:56:32.185,09:56:32.185,1,ironman,POL,pl,Kolo,,F35-39,1727025692.82,1727018494_000125,1727019070_000273,+02:25.41
09:

概要

「ATOTO X10G211E Androidカーナビ」を使ってみて所管をまとめておく

https://amzn.to/3zdUp3Z

不具合

  • スタートアップアプリを登録しているにも関わらず、ラジオがバックグラウンドで起動される。
@matsubo
matsubo / sado_1.csv
Last active September 10, 2024 06:22
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 25 columns, instead of 17 in line 5.
#,No,名前,性別,年齢区分,START,スイムL,スイムF,バイクS,住吉,ランS(本部),ラン4km,ラン9km,ラン10km,ラン14km,ラン19km,ラン20km,ラン24km,ラン29km,ラン30km,ラン34km,ラン39km,FINISH,総合記録,備考
1,1001,星 大樹,男,35-39男子,6:00:00,6:31:18,7:03:33,7:06:20,9:53:42,12:12:07,12:30:40,12:56:21,13:00:29,13:20:43,13:47:58,13:52:08,14:12:58,14:40:36,14:45:03,15:05:47,15:33:06,15:37:11,9:37:11,
2,1112,渡邉 優介,男,35-39男子,6:00:00,6:34:07,7:09:35,7:12:46,10:12:48,12:42:46,12:59:57,13:23:18,13:26:57,13:44:34,14:09:38,14:13:44,14:32:44,14:58:32,15:02:52,15:23:11,15:50:35,15:54:38,9:54:38,
3,1118,丸尾 公貞,男,35-39男子,6:00:00,6:30:12,7:02:03,7:05:44,10:05:19,12:36:19,12:58:01,13:24:01,13:27:50,13:48:16,14:14:44,14:18:58,14:39:52,15:07:30,15:11:38,15:32:25,16:01:30,16:05:52,10:05:52,
4,1098,浜田 裕介,男,35-39男子,6:00:00,6:33:37,7:08:25,7:12:47,10:11:46,12:47:35,13:08:12,13:33:46,13:37:48,13:57:25,14:23:16,14:27:20,14:47:12,15:15:31,15:19:41,15:40:20,16:06:23,16:10:34,10:10:34,
5,1004,堀江 克如,男,40-44男子,6:00:00,6:32:54,7:06:35,7:10:08,10:09:35,12:38:32,12:58:45,13:25:22,13:29:32,13:50:21,14:17:19,14:21:3
@matsubo
matsubo / main.js
Created August 14, 2024 02:27
Tried to crawl https://openai.com/news/ but blocked with 403 error.
// For more information, see https://crawlee.dev/
import { PlaywrightCrawler } from 'crawlee';
const userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36';
// PlaywrightCrawler crawls the web using a headless
// browser controlled by the Playwright library.
const crawler = new PlaywrightCrawler({
// Use the requestHandler to process each of the crawled pages.
User-agent: GPTBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: CCBot

APC upsd mackerel plugin

Screenshot

image

Setup