This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
r""" | |
Generate emoji dict file for ATOK. | |
You can convert emoji_strategy.json on emoji-toolkit (https://github.com/joypixels/emoji-toolkit) into: | |
``` | |
Grinning 😀 名詞* | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Usage: ./export_chatgpt.py conversations.json ./path/to/export/dir | |
from dataclasses import dataclass | |
import itertools | |
import json | |
import logging | |
from logging import getLogger, StreamHandler | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eu | |
# https://blog.jxck.io/entries/2023-03-24/proofreading-via-openai.html | |
PROMPT='バッククォートで囲まれた以下の文章の誤字、脱字、スペルミスを、原文をできるだけ尊重しつつ修正してください。返答は修正後の文章のみを簡潔に返すこと。' | |
QUOTE='```' | |
CONF="$HOME/.correct" | |
CACHE="$HOME/.correct_cache" | |
FORCE='' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/pwsh | |
if ($args.count -eq 0){ | |
$connectport = [Microsoft.VisualBasic.Interaction]::InputBox("Input connectport (expose port on wsl)", $MyInvocation.MyCommand.Name, "8000") | |
if ($connectport.length -eq 0) { | |
Write-Error "Set connectport" -ErrorAction Stop | |
} | |
$listenport = [Microsoft.VisualBasic.Interaction]::InputBox("Input listenport (expose port on host)", $MyInvocation.MyCommand.Name, $connectport) | |
if ($listenport.length -eq 0) { | |
Write-Error "Set listenport" -ErrorAction Stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title>【サイトタイトル】</title> | |
<!-- サイトのURL --> | |
<link rel="alternate" href="https://your-site.example.com/"></link> | |
<!-- フィードのURL --> | |
<link rel="self" href="https://your-site2.example.com/path/to/feed.atom.xml"></link> | |
<!-- フィードのID「tag:【サイトドメイン】,【公開年(月日)】:【URL】」 --> | |
<id>tag:your-site.example.com,2023:/</id> | |
<!-- フィードの最終更新日時 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# ##### つかいかた ##### | |
# | |
# 実行前に `pip install feedgenerator` でライブラリをインストールしてください | |
# | |
# 例1: ./feedgen.py | |
# => サンプル入力からフィードを生成して標準出力に表示します | |
# 例2: ./feedgen.py input.txt | |
# => input.txtの内容からフィードを生成して標準出力に表示します |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Between 1:30pm ET on Friday, June 8, and around 6:15pm ET on Saturday, June 9, the Revue website was inaccessible. | |
We are sorry for the inconvenience this caused, and would like to explain what happened. | |
First off, some things to know: | |
Scheduled newsletter issues that were sent during the outage will have impacted delivery, but this incident will not affect future delivery | |
Analytics and aggregated data regarding your newsletters continued normally | |
The problem was caused by a Domain Name System (“DNS”) issue, which affected Revue between the hours stated above. The team worked hard to resolve the issue as swiftly as possible. | |
Once the issue was resolved, Revue came back online for a lot of people — but DNS changes can take up to 24 hours to propagate globally, which led to some people experiencing the outage for longer than others. | |
We sincerely apologize and we have taken the feedback you have shared into account. Our @TwitterWrite team will ensure that transparent, clear communication continues t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
":grinning:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f600.png", | |
":smiley:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f603.png", | |
":smile:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f604.png", | |
":grin:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f601.png", | |
":laughing:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f606.png", | |
":satisfied:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f606.png", | |
":sweat_smile:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f605.png", | |
":joy:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f602.png", | |
":rofl:": "https://raw.githubusercontent.com/twitter/twemoji/master/assets/72x72/1f923.png", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
えきめい | 駅名 | |
---|---|---|
あおばだい | 青葉台 | |
あざみの | あざみ野 | |
いけがみ | 池上 | |
いけじりおおはし | 池尻大橋 | |
いしかわだい | 石川台 | |
いちがお | 市が尾 | |
うのき | 鵜の木 | |
えだ | 江田 | |
えばらなかのぶ | 荏原中延 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN:VCALENDAR | |
PRODID:-//Proton AG//ProtonCalendar 1.0.0//EN | |
VERSION:2.0 | |
CALSCALE:GREGORIAN | |
METHOD:PUBLISH | |
X-WR-CALNAME:corrupted calendar | |
X-WR-TIMEZONE:Asia/Tokyo | |
REFRESH-INTERVAL;VALUE=DURATION:PT240M | |
X-PUBLISHED-TTL:PT240M | |
BEGIN:VTIMEZONE |
NewerOlder