Skip to content

Instantly share code, notes, and snippets.

@SAMMY7th
SAMMY7th / scalakb20190523.md
Last active November 30, 2019 01:59
2019/05 Scala導入を検討したい人に向けた情報をまとめてみた

2019/05 Scala導入を検討したい人に向けた情報をまとめてみた

Scalaとは?

  • The Scala Programming Language
    • 開発元はLightbend 社 と EPFL(Odersky先生がいるスイスの大学)
    • 2019/05 現在、最新バージョンは 2.12
  • Dottyと呼ばれる新しいScalaコンパイラが開発されている
    • Scala3
  • 2019/05 現在0.15.0-RC1
@voluntas
voluntas / loadtest.rst
Last active June 10, 2025 13:47
負荷試験コトハジメ
@sunaot
sunaot / writing_unit_test.md
Last active February 20, 2022 06:57
テストを書くか書かないかの判断の話

ユニットテストでテストを書くか書かないかの判断の話

お題

メソッドの出力の結果が、true か false のどちらでも返ってくる可能性がある場合、assert 文を書く時は true の場合だけで良いのだろうか

テストとは

まず、基本の考えとしてなぜテストをするのか?というのがあります。

@voluntas
voluntas / webrtc.rst
Last active January 13, 2025 22:40
WebRTC の未来
@nagachika
nagachika / .gitignore
Created May 29, 2015 02:57
picasa with OAuth 2.0
/.bundle
/vendor/bundle
/.envrc
@voluntas
voluntas / shiguredo_bot_system_kbkz.rst
Last active April 17, 2019 16:41
時雨堂 BOT サーバー (すごいErlangをゆかいに学ぶ会)
@JunichiIto
JunichiIto / karaoke_machine.rb
Created June 27, 2014 09:51
CodeIQに出題した「カラオケマシン問題」の解答テンプレートです。詳しくはこちら: http://blog.jnito.com/entry/2014/06/06/104420
# coding: utf-8
class KaraokeMachine
def initialize(melody)
end
def transpose(amount)
"" # これは仮実装なので消してください
end
end
@cridenour
cridenour / gist:74e7635275331d5afa6b
Last active June 17, 2025 16:47
Setting up Vim as your Go IDE

Setting up Vim as your Go IDE

The final IDE

Intro

I've been wanting to do a serious project in Go. One thing holding me back has been a my working environment. As a huge PyCharm user, I was hoping the Go IDE plugin for IntelliJ IDEA would fit my needs. However, it never felt quite right. After a previous experiment a few years ago using Vim, I knew how powerful it could be if I put in the time to make it so. Luckily there are plugins for almost anything you need to do with Go or what you would expect form and IDE. While this is no where near comprehensive, it will get you writing code, building and testing with the power you would expect from Vim.

Getting Started

I'm assuming you're coming with a clean slate. For me this was OSX so I used MacVim. There is nothing in my config files that assumes this is the case.

How to use swift in your terminal

setup

First, install Xcode 6 beta.

And run it.

sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer
@yasushiyy
yasushiyy / vagrant_coreos_docker.md
Last active January 28, 2019 11:35
Vagrant + CoreOS + Dockerを利用した開発環境セットアップ

Vagrant + CoreOS + Dockerを利用した開発環境セットアップ

MacOSX + Vagrant + CoreOS + Docker + Ubuntuの環境。

2014年6月11日時点での情報。

  • Version: CoreOS 343.0.0
  • Kernel: 3.14.5
  • Docker: 1.0