Windows/Linuxで両方で動作する成果物を想定。 有償のツールは理解が得られる方が稀なので除外。
Word/Excelが手軽だけど差分が追いにくい。 Markdown+PandocかSphinxでPDF提出がいいかな?
# | |
# Get access_token from: https://app.bitly.com/settings/api/ | |
# Then, just call this function with your long url and access token | |
# | |
# Ref | |
# - https://dev.bitly.com/api-reference/#createBitlink | |
# - https://dev.bitly.com/docs/getting-started/introduction/ | |
import requests |
sqlcsv() { | |
if [ $# -lt 2 ] | |
then | |
echo "USAGE: sqlcsv [filename.csv] [SQL]" | |
echo "In the SQL, refer to the data sourse as [filename]" | |
else | |
filename="$1" | |
dataname=${filename%????} | |
sqlite3 :memory: -cmd '.mode csv' -cmd ".import $filename $dataname" -cmd '.mode markdown' $2 | |
fi |
# Make ibus-mozc remember the last used mode (e.g. hiragana) and not switch back to Alphabet on restart | |
# See https://github.com/google/mozc/issues/381 | |
cd $(mktemp -d) | |
apt source ibus-mozc | |
cd mozc-*/ | |
patch src/unix/ibus/property_handler.cc << 'EOF' | |
--- src/unix/ibus/property_handler.cc.orig 2020-10-28 17:21:18.000849932 +0900 | |
+++ src/unix/ibus/property_handler.cc 2020-10-28 17:21:34.172696046 +0900 | |
@@ -80,7 +80,7 @@ |
''' | |
author: | |
@tangjeff0 | |
https://www.notion.so/tangjeff0/Public-Home-0e2636bd409b454ea64079ad8213491f | |
inspired by: https://praxis.fortelabs.co/p-a-r-a-iii-building-an-idea-generator-400347ef3bb6/ | |
with help from: https://medium.com/@jamiealexandre/introducing-notion-py-an-unofficial-python-api-wrapper-for-notion-so-603700f92369 | |
credits: | |
@jamiealexandre |
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE NoStarIsType #-} | |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE TypeApplications #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# OPTIONS_GHC -fplugin GHC.TypeLits.KnownNat.Solver #-} | |
{-# OPTIONS_GHC -fplugin GHC.TypeLits.Normalise #-} |
import asyncio | |
import aiohttp | |
import async_timeout | |
from aiohttp import ClientError | |
async def _fetch(session, url, coro): | |
"""HTTPリソースからデータを取得しコルーチンを呼び出す |
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb <A-S-G> | |
$SelectAll <M-A> | |
$Undo <M-Z> |