Skip to content

Instantly share code, notes, and snippets.

@Gab-km
Gab-km / hgrc
Created September 4, 2011 11:17 — forked from troter/hgrc
hg fix "fixed message" # (hg 1.8.x only)
# hgrc
[extensions]
mq =
hgshelve = $HOME/.mercurial/extensions/hgshelve/hgshelve.py
[alias]
# fix latest commit message (hg 1.8.x only)
fix = ! \
$HG shelve --all -n 'tmp.hg-fix' && \
@Gab-km
Gab-km / hgrc
Created September 4, 2011 11:18 — forked from Gab-km/hgrc
hg fix ["fixed message"] (for Windows)
# hgrc
# if you use some Unix base operating systems, like Linux distributions, BSDs or Macs,
# see: https://gist.github.com/1187980
[extensions]
mq =
hgshelve = $HOME/.mercurial/extensions/hgshelve/hgshelve.py
[alias]
# fix latest commit message
@Gab-km
Gab-km / github-flow.ja.md
Last active October 29, 2024 10:17 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)
@Gab-km
Gab-km / HttpStatus.fs
Last active December 14, 2015 00:59 — forked from anonymous/HttpStatus.fs
httpstatus コマンドで、HTTP のステータスコードをすばやくしらべる!
type HttpStatus =
{ Code: string; Message: string }
override self.ToString () = sprintf "%s %s" self.Code self.Message
let httpStatus code message = { Code = code; Message = message }
let httpStatusList =[
httpStatus "100" "Continue";
httpStatus "101" "Switching Protocols";
httpStatus "102" "Processing";
@Gab-km
Gab-km / IOSample.fs
Last active December 17, 2015 08:39
人様の作品をいじっているだけです
open System
//============================================
// IOモナド
//============================================
module IO =
type IO<'a> = IO of (unit -> 'a)
type IOBuilder() =
member this.Bind (IO x, f) = f (x())
namespace FsCheck.Ext
module Test =
open System
open FsCheck
open FsCheck.Arb
type JapaneseChar = char
let japaneseChar (s: string) =