Skip to content

Instantly share code, notes, and snippets.

@unarist
unarist / mastodon-add-abbr.user.js
Last active September 6, 2018 04:53
:don: - スラングにabbrつけるやつ
// ==UserScript==
// @name :don: - スラングにabbrつけるやつ
// @namespace https://github.com/unarist/
// @version 0.21.1
// @author unarist
// @match https://mstdn.maud.io/*
// @grant none
// @downloadURL https://gist.github.com/unarist/ce93c77eee6ff9bf51491ff06a3109d3/raw/mastodon-add-abbr.user.js
// @noframes
// ==/UserScript==
@Fireforge
Fireforge / runtask.ps1
Last active October 17, 2023 10:55
powershell task runner
# A simple task runner implemented in Powershell
Param(
[String]$TaskName, # The name of the task to run
[parameter(ValueFromRemainingArguments=$true)][String[]]$TaskArgs # The list of repos to run the task on
)
# Define the tasks
$tasks = @{}
@rummelonp
rummelonp / faraday.md
Last active May 20, 2022 12:23
Ruby の HTTP クライアントライブラリ Faraday が便利そう

Ruby の HTTP クライアントライブラリ Faraday が便利そう

Ruby の HTTP クライアントライブラリ Faraday が便利そう

API ラッパの開発には [RestClient gem][rest_client_gem] だとか
OAuth の必要なものは [Net/HTTP][net_http] + [OAuth gem][oauth_gem] を使ってた

[Twitter gem][twitter_gem] や [Instagram gem][instagram_gem] など API ライブラリのソースを読んでみると
[Faraday gem][faraday_gem] というものがよく使われてた