Skip to content

Instantly share code, notes, and snippets.

View yuiseki's full-sized avatar
🍻
I want to drink

yuiseki yuiseki

🍻
I want to drink
View GitHub Profile

生成AIとGISの統合におけるNLP技術の最前線

~大規模言語モデルと地理情報システムの融合についての最新サーベイ~


ChatGPT o1 (1), 松村結衣 (2)

  1. 所属: OpenAI, 公式サイト: https://openai.com/o1/

  2. 所属: 株式会社HelpfeelおよびUN Smart Maps Group, 連絡先: yuiseki@gmail.com

#!/usr/bin/bash
for FILE in `git ls-files`; do
COMMIT_TIME=`git -c diff.renames=false log -m -r --no-color --pretty=format:%ci -z -n1 $FILE`
echo -e "$COMMIT_TIME\t$FILE"
TIMESTAMP=`date -d "$COMMIT_TIME" +"%y%m%d%H%M.%S"`
touch -t $TIMESTAMP $FILE
done
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yuiseki
yuiseki / save_all_ogp_to_gyazo.user.js
Last active January 17, 2024 10:22
ブラウザで見たページにOGP画像があったら全部GyazoるUserScript
// ==UserScript==
// MEMO: See https://www.tampermonkey.net/documentation.php
//
// @name Save All OGP to Gyazo
// @namespace http://yuiseki.net
// @version 1.0
// @author You
//
// MEMO: 発動するURLの条件
// @match http://*/*
@yuiseki
yuiseki / save_all_page_to_gyazo.user.js
Last active January 3, 2022 08:36
見たページ全部GyazoるUserScript
// ==UserScript==
// @name Save All Page to Gyazo
// @namespace http://ssig33.com
// @version 1.0
// @author You
// @match http://*/*
// @match https://*/*
// @exclude https://*.youtube.com/
// @exclude https://youtube.com/
// @exclude https://mail.google.com/*
import requests
# https://xbl.io/
OPENXBL_TOKEN = "<your OpenXBL token>"
# https://account.xbox.com/Profile?xr=mebarnav
REALMS_CLUB_ID = "<your Realms Club ID>"
headers = {
"X-Authorization": OPENXBL_TOKEN,
"Accept": "application/json;charset=UTF-8",
Param($srcFile,$destFile)
Write-Host $srcFile
Write-Host $destFile
$srcProperty = Get-ItemProperty $srcFile
$srcctime = $srcProperty.CreationTime
$srcmtime = $srcProperty.LastWriteTime
Write-Host $srcctime
Write-Host $srcmtime
const fs = require('fs').promises;
const fetch = require('node-fetch');
const { transform } = require('@moneyforward/stream-util');
const WBK = require('wikibase-sdk');
const wdk = WBK({
instance: 'https://www.wikidata.org',
sparqlEndpoint: 'https://query.wikidata.org/sparql'
});
#!/bin/bash
# wikibase-dump-filter claim transformer
# Requirements
# - jq
# - wikidata-cli
# Usage:
# ./wdfc.sh '国籍:日本&職業:政治家&~死亡年月日'
# cat humans.ndjson | wikibase-dump-filter --claim `./wdfc.sh '国籍:日本&職業:政治家&~死亡年月日'` > politicians_japan.ndjson
# See also:
# wikibase-dump-filter