Skip to content

Instantly share code, notes, and snippets.

View eniehack's full-sized avatar
🛌
zzz...

Nakaya eniehack

🛌
zzz...
  • University of Tsukuba
  • Japan
View GitHub Profile
@eggplants
eggplants / get_aria_cmd_dlsite.py
Created March 6, 2024 17:15
DLsiteの分割ダウンロードが遅いのでAPIをみてaria2で落とす情報を収集
import requests
N = 5
WORK_ID = "RJ..."
JWT = "..."
SID = "..."
session = requests.session()
session.cookies.set("jwt", JWT, domain=".dlsite.com")
session.cookies.set("__DLsite_SID", SID, domain=".dlsite.com")
@itsu-dev
itsu-dev / nfaToDfa.js
Last active July 5, 2023 17:33
正規表現のNFA(有向グラフ)をDFAに変換し、状態遷移表を出力するプログラム
// '_' indicates epsilon
// INPUT is directed graph of NFA
// (00|11)(00|11)*
const INPUT = {
0: [['_', 1]],
1: [['_', 2], ['_', 5]],
2: [['0', 3]],
3: [['0', 4]],
4: [['_', 8]],
@weepjp
weepjp / InstancesTicker_temp.json
Last active February 2, 2020 10:50
InstancesTicker(仮)
{
"title": "InstancesTicker_json",
"description": "InstancesTicker of JSON",
"version": "2020-02-02 19:00:00",
"licence": "MIT Licence",
"copyright": "MiyonMiyon",
"author": "https://github.com/MiyonMiyon/",
"committer": "https://github.com/weepjp/",
"instances": [
{
@nagiept
nagiept / distributed_service_catalog.md
Last active October 1, 2023 23:36
Distributed Service Catalog 2018

Distributed Service Catalog 2018

分散SNS Advent Calendar 2018 Fediverseとその他の分散サービスの歴史とプロジェクトを適当に書いておくだけの記事

Progects list

Laconica

ジャンル マイクロブログ
読み ラコニカ(?)
開発者 Evan Prodromou(Control Yourself社)
言語 PHP
@LambdaNote
LambdaNote / writing.md
Last active March 5, 2024 01:29
記事の書き方

記事の書き方

記事の執筆には、Markdown形式を利用してください。 Markdownにはさまざまな流派がありますが、GitHub Flavored Markdown(https://github.github.com/gfm/ )をベースとした書式を採用します。

書籍を執筆するための形式として考えると、Markdownには不足している機能が多々あります。 しかし、次のような利点があるので、Markdownを採用することにします。

  • 最低限の構造しかないので、見た目でごまかせる余地が少ない
  • 原稿を著者自身が再利用してもらいやすくしたい
@briandominick
briandominick / asciidoc-static.adoc
Last active March 11, 2024 18:24
Static Site Generators with AsciiDoc Support

There are 28 static site generators that support AsciiDoc sourcing.

@dmsul
dmsul / vim_crash_course.md
Last active May 5, 2024 00:53
Vim Crash Course

NOTE: Specific examples given for options, flags, commands variations, etc., are not comprehensive.

NORMAL MODE

Vim has 2 main "modes", that chance the behavior of all your keys. The default mode of Vim is Normal Mode and is mostly used for moving the cursor and navigating the current file.

Some important (or longer) commands begin with ":" and you will see the text you enter next at the bottom left of the screen.

:q[uit] - quit (the current window of) Vim. ("Window" here is internal to Vim, not if you have multiple OS-level windows of Vim open at once.)
:q! - force quit (if the current buffer has been changed since the last save)
:e[dit] {filename} - read file {filename} into a new buffer.

@sizer
sizer / TR_websub_ja.md
Last active June 27, 2023 01:38 — forked from tao-s/TR_websub.md
W3CにあるWebSubのTRの日本語版
@kjunichi
kjunichi / mruby_block.md
Last active December 5, 2022 14:29
mrubyでC言語でブロックを扱うには

C言語側でブロックを定義するには

関数をmrubyのブロックとして扱える。

mrb_value myfunc(mrb_state *mrb, mrb_value obj) {
  printf("myfunc: start\n");
  
  printf("myfunc: end\n");
@voluntas
voluntas / erlang.rst
Last active October 12, 2021 22:34
Erlang/OTP コトハジメ