Skip to content

Instantly share code, notes, and snippets.

View chupaaaaaaan's full-sized avatar

chupaaaaaaan chupaaaaaaan

  • 19:35 (UTC +09:00)
View GitHub Profile
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Develop Environment
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; yasnippet
(use-package yasnippet
:ensure t
:hook (after-init . yas-global-mode)
)
(use-package yasnippet-snippets
@chupaaaaaaan
chupaaaaaaan / org-habit-plus-style-test.org
Last active May 14, 2020 13:53
Org-habitの、'.+' '++' '+' の振る舞いの違いについて

はじめに

Org-habitを使おうとしたときに、躓いたのでメモ。 公式マニュアルには、以下のような記述がある。

The TODO has a scheduled date, usually with a ‘.+’ style repeat interval. A ‘++’ style may be appropriate for habits with time constraints, e.g., must be done on weekends, or a ‘+’ style for an unusual habit that can have a backlog, e.g., weekly reports.

英語力が低いだけだと思うが、 .++++ でどう振る舞いが変わるのかがよくわからなかった。 なので、実験してみる。

@chupaaaaaaan
chupaaaaaaan / reading-memo-dmmf-05.org
Last active May 20, 2020 15:20
Domain Modeling Made Functional 読書メモ 第5章

Domain Modeling with Types

Reviewing the Domain Model

省略。(1〜3章のおさらい)

Seeing Patterns in a Domain Model

ドメインモデルを構築する際に頻出するパターンを見る。

  • Simple values
  • Combinations of values with AND
  • Choices with ORdered
  • Workflows
@chupaaaaaaan
chupaaaaaaan / Main.hs
Last active May 31, 2020 06:47
Solution example - haskell 99 problems
{-# LANGUAGE TypeApplications #-}
module Main where
import System.Random.MWC
import Control.Monad
main :: IO ()
main = undefined
@chupaaaaaaan
chupaaaaaaan / distribution.xml
Last active November 7, 2020 04:12
maven-assembly-plugin test
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>distribution</id>
<formats>
<format>tar.gz</format>
</formats>
<baseDirectory>deployment</baseDirectory>
@chupaaaaaaan
chupaaaaaaan / distribution.xml
Last active November 7, 2020 04:31
maven-assembly-plugin test (make uber-jar)
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>distribution</id>
<formats>
<format>tar.gz</format>
</formats>
<baseDirectory>deployment</baseDirectory>