Skip to content

Instantly share code, notes, and snippets.

View YuheiNakasaka's full-sized avatar
💭
😇

razokulover YuheiNakasaka

💭
😇
View GitHub Profile
@YuheiNakasaka
YuheiNakasaka / companies.md
Last active January 22, 2018 05:16 — forked from okohs/whitelist.md
20180122_定時前に帰宅できた企業

書き方

該当する各社の対応欄に企業名を書いてください。備考があれば適宜カッコ書きしてください。

出勤していない(終日在宅勤務含む)

早めに退勤できた

  • 株式会社アイスタイル
  • 株式会社GIFMAGAZINE

Grab ffmpeg from https://www.ffmpeg.org/download.html

It's a command line tool which means you will have to type things with your keyboard instead of clicking on buttons.

The most trivial operation would be converting gifs:

ffmpeg -i your_gif.gif -c:v libvpx -crf 12 -b:v 500K output.webm
  • -crf values can go from 4 to 63. Lower values mean better quality.
  • -b:v is the maximum allowed bitrate. Higher means better quality.
@YuheiNakasaka
YuheiNakasaka / faraday.md
Created May 24, 2012 04:54 — forked from rummelonp/faraday.md
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] というものがよく使われてた