- 日時
2024-04-11
- 作
時雨堂
- バージョン
2024.4
- URL
時雨堂クラウドサービスを支える技術
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) | |
} |
2024-04-11
時雨堂
2024.4
時雨堂クラウドサービスを支える技術
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 |
従来の CVCS (集中バージョン管理システム)のリビジョン番号は連番。 SVN はサーバーにデプロイした時点でリビジョン番号1と設定される。
内容はGitHubの2段階認証とhttpsアクセスとほぼ同じです。
GitHubに大規模な不正ログイン試行を参照のこと。
githubの設定変更はGithubの二段階認証を設定しようにまとまっています。
2024-05-23
@voluntas
2024.7
概要
#!/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. |