Skip to content

Instantly share code, notes, and snippets.

View cocoatomo's full-sized avatar
🐧
Translating

cocoatomo cocoatomo

🐧
Translating
View GitHub Profile
import scalaz._, Scalaz._
object MaxValue extends App {
val a = Map(1 -> 10, 2 -> 5)
val b = Map(2 -> 10, 3 -> 7)
val c = a.mapValues(Tags.MaxVal) |+| b.mapValues(Tags.MaxVal)
(c: Map[Int, Int]) assert_=== Map(1 -> 10, 2 -> 10, 3 -> 7)
}
@voluntas
voluntas / shiguredo_tech.rst
Last active April 11, 2024 08:30
時雨堂を支える技術

時雨堂を支える技術

日時

2024-04-11

時雨堂

バージョン

2024.4

URL

https://shiguredo.jp/

時雨堂クラウドサービスを支える技術

@qnighy
qnighy / Group.v
Created October 31, 2013 11:02
右単位元とそれに関する右逆元だけで群を定義できることの証明
Require Import Coq.Setoids.Setoid.
Record Group:Type := {
g_set : Type;
g_mult : g_set -> g_set -> g_set;
g_assoc a b c : g_mult (g_mult a b) c = g_mult a (g_mult b c);
g_id : g_set;
g_id_r a : g_mult a g_id = a;
g_inv : g_set -> g_set;
g_inv_r a : g_mult a (g_inv a) = g_id
@Kuniwak
Kuniwak / 2013_11_15_githubjp_note.markdown
Last active October 30, 2018 07:06
「GitHub トレーニングチームから学ぶ Git の内部構造」のノートです。 曖昧なところもあるので、間違いがあったら教えてください! http://connpass.com/event/3808/

GitHub トレーニングチームから学ぶ Git の内部構造

Graphs, Hashes, and Compression, Oh My!

Hash について

従来の CVCS (集中バージョン管理システム)のリビジョン番号は連番。 SVN はサーバーにデプロイした時点でリビジョン番号1と設定される。

@tune
tune / gist:8119307
Created December 25, 2013 01:09
githubの2段階認証を有効にし、http・https経由の操作でPersonal Access Tokenを使う
@voluntas
voluntas / shiguredo_recruit.rst
Last active May 23, 2024 00:32
時雨堂を支える採用
@ashigeru
ashigeru / memo.md
Last active December 30, 2020 14:33
Prestoソースコードリーディング#2 メモ

Presto メモ

  • presto 0.60
  • [ QueryResource , TaskResource )

環境

なんかそのまま mvn clean install eclipse:eclipse -DskipTests コマンド叩いても checkstyle で落ちたので:

mvn clean install -DskipTests
mvn eclipse:eclipse -Dcheckstyle.skip
@miki725
miki725 / .bash_prompt.sh
Last active April 5, 2024 00:04
Custom bash prompt which displays: (virtualenv) user:/path (git-branch)
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch of the current git/mercurial repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
@voluntas
voluntas / ymotongpoo.rst
Last active August 29, 2015 14:02
すごいErlangゆかいに学ぼう!出版を祝う会

すごいErlangゆかいに学ぼう!出版を祝う会

日時

7/9 入場 19:30 開始 20:00

場所

VOYAGE 様 Ajito (東京都渋谷区神泉町8-16 渋谷ファーストプレイス8F)

費用

ピザとか寿司とか何か取りたいので一人 1500 円をお願いします

目的

@exoego
exoego / 転職先に訊きたいチェックリスト.md
Last active April 16, 2023 03:57
転職活動してて訊きたいことのメモ

制度

  • 有休…
  • 病休…
  • 育休…
  • 年収(月給、賞与など)…
  • 残業代…
  • 早朝/深夜手当…
  • 休出手当…
  • 住宅補助…