Skip to content

Instantly share code, notes, and snippets.

View ma2gedev's full-sized avatar

Takayuki Matsubara ma2gedev

View GitHub Profile
@swalkinshaw
swalkinshaw / tutorial.md
Last active January 5, 2026 14:33
Designing a GraphQL API
@koichiro
koichiro / sendai2018-omiyage.md
Last active May 9, 2018 04:21
仙台近郊観光まとめ

RubyKaigi 2018が仙台の国際センターで開催されるということでせっかくなので仙台近郊のオススメスポットを紹介します。

  • 仙台市内観光
  • 周遊バスにのると主要な観光スポットを全部まわれます
  • 晩翠草堂
@KronicDeth
KronicDeth / elixirconf-2017-recap.md
Created September 22, 2017 21:18
Recap of all talks at ElixirConf 2017

Elixir Native UI - Boyd Multerer https://www.youtube.com/watch?v=77FW-jrCyCs

Thinking In Ecto - Darin Wilson https://www.youtube.com/watch?v=YQxopjai0CU

  1. Repository pattern https://youtu.be/YQxopjai0CU?t=2m12s
  2. Explicitness https://youtu.be/YQxopjai0CU?t=5m29s
@shiraji
shiraji / jdk_setting
Last active August 26, 2018 03:57
JDK export settings for Kontribution
export JAVA_HOME=`/usr/libexec/java_home -v "1.8"`
export JDK_16=`/usr/libexec/java_home -v "1.6"`
export JDK_17=`/usr/libexec/java_home -v "1.7"`
export JDK_18=`/usr/libexec/java_home -v "1.8"`
export JDK_9=`/usr/libexec/java_home -v "10"`
@kaspth
kaspth / upgrade_encrypted_secrets.rb
Last active December 6, 2022 12:23
A script to update encrypted secrets to use improved encryption.
# Download this to your Rails app directory and run with:
# bin/rails runner upgrade_encrypted_secrets.rb
# Everything below here is private API and not something your app should use.
Rails::Secrets.singleton_class.prepend Module.new {
def decrypt(data)
cipher = OpenSSL::Cipher.new("aes-256-cbc").decrypt
cipher.key = key
cipher.update(data) << cipher.final
end

前置き

elixir が結局速いのかそうでもないのか検証してみたいから、誰か isucon4 qual のアプリを elixir で。

— そのっつ (SEO Naotoshi) (@sonots) 2015, 9月 5
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

とかてきとうなことをつぶやいていたら、なんと @ma2ge さんが実装してくれました!

@sonots まずは動くところまで作ってみました。手元のマシンですが ruby との比較結果だけ README に載せています。benchmarker は通ったのですがバグなどあるかもしれません。 https://t.co/6WaI4LAbME

— taka (@ma2ge) 2015, 9月 7
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
@mururu
mururu / otp.md
Last active September 26, 2022 18:21
shinjuku.ex #10 発表資料

Elixir ユーザーのための OTP 入門 (Shinjuku.ex #10)

話すこと

  • OTP とは何か
  • 「よくわからないけど使ったほうがいいっぽい」から「なぜ使うのかを意識して使う」になるための導入(になるといいな)
  • 詳細な API とかには触れません

だれ?

@scova0731
scova0731 / scala-learning-resource.md
Created February 27, 2015 04:02
Scala 学習リソース (2015/2版)

定番、および比較的最近の学習リソースを集めてみました (2015/2)。

リファレンス

記事等

@chrismccord
chrismccord / gist:e774e6ab5220e6505a03
Last active August 29, 2015 14:10
Upgrading your Phoenix 0.5.x application to 0.6.0

Upgrading Phoenix 0.5.x to 0.6.0

If you're still on 0.4.x, follow [this 0.4x to 0.5.0 upgrade guide] (http://learnelixir.com/blog/2014/10/29/migrating-applications-from-phoenix-0-dot-4-1-to-phoenix-0-dot-5-0/), then head back over here.

Phoenix 0.6.0 brings some nice enhancements and a few backwards incompatible changes. The following steps should get your 0.5.x apps up and running on the latest and greatest.

Router

The Router no longer defines the default :browser and :api pipelines for you, but they remain the idiomatic defaults. You can copy the standard pipelines into your router:

@voluntas
voluntas / shiguredo_bot_system_kbkz.rst
Last active April 17, 2019 16:41
時雨堂 BOT サーバー (すごいErlangをゆかいに学ぶ会)