- なかやん・ゆーき / ぺんぎん / もみあげ
- @pocketberserker / id:pocketberserker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Dead-lock demonstration with condition_variable::notify_one() | |
// | |
#include <utility> | |
#include <mutex> | |
#include <condition_variable> | |
template<typename T> | |
class mt_slot { | |
T slot_; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type ホモビルダー() = | |
member __.Delay(f: unit -> _) = f | |
member __.Run(f) = f () | |
member __.Yield(()) = "" | |
member __.Yield(x: string) = x | |
[<CustomOperation("攻め")>] | |
member inline __.攻め(_, case) = case | |
[<CustomOperation("受け")>] | |
member inline __.受け(source: string, case) = (source, case) | |
[<CustomOperation("┌(┌^o^)┐")>] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
2 | |
あぁ^~ | |
4 | |
こころが | |
あぁ^~ | |
ぴょんぴょんするんじゃ^~ | |
8 | |
あぁ^~ | |
こころが |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright Akira Takahashi 2014 | |
// Use, modification and distribution is subject to the Boost Software License, | |
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
// http://www.boost.org/LICENSE_1_0.txt) | |
#include <cstddef> | |
namespace my_stl { | |
template <class Iterator> | |
struct iterator_traits { | |
static typename Iterator::reference dereference(Iterator& it) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note 103 Junk & Test (junk.test) | |
[ BASENOTE with 36Res ] | |
Title:Test/kanbai: undel の花言葉は「もう一度やり直そう」 | |
Bytes: 42 Date : 11:02am 9/19/91 Author:pcs29450 (kanbai-an) | |
undel の花言葉は「もう一度やり直そう」 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parameter A : Type. | |
Parameter beq_A : A -> A -> bool. | |
Section Uniq. | |
Require Import Arith List. | |
Hypothesis beq_A_true : forall x y : A, | |
beq_A x y = true -> x = y. | |
Hypothesis beq_A_false : forall x y : A, |
These instructions are mainly for my own personal reference and should not be considered a supported feature of Sonic Pi. For experimentation only. Assumes OSX 10.10
- Setup a virtual midi channel on OSX
This is sometimes referred to as a "loopback" device and it should allow the various software applications to communicate.
- Open
/Applications/Utilities/Audio\ MIDI\ Setup.app/
and go to "Window > Show MIDI studio".