| 日時: | 2025-05-13 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.3 |
| URL: | https://shiguredo.jp/ |
言語
| 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) | |
| } |
| 日時: | 2025-05-13 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.3 |
| URL: | https://shiguredo.jp/ |
言語
| 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の二段階認証を設定しようにまとまっています。
| 更新: | 2026-02-12 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2026.2 |
| url: | https://voluntas.github.io/ |
概要
| #!/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. |