Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View nobuh's full-sized avatar

Nobuhiro Hatano nobuh

View GitHub Profile
@nobuh
nobuh / gba_gcc_programming.md
Created May 7, 2021 05:17
GBA GCC プログラミング
@nobuh
nobuh / boot_debian.md
Last active May 6, 2021 03:38
QEMU 学習ノート

QEMU ARM 学習ノート

qemu-system-arm のインストール

qemu サイトトップでも apt パッケージが奨励されているのでソースインストールはまだやっていない

そのため --target-list=arm-softmmu でビルドしてないが、もし必要になったら qemu はソースから入れ直す

テストイメージ

@nobuh
nobuh / Program.cs
Created January 30, 2021 23:17
Key Input Sample for .NET 5 Console App
using System;
namespace KiloSharp
{
class Program
{
static void enableRawMode()
{
Console.CursorVisible = false;
}
@nobuh
nobuh / Black_Screen_on_Legacy_Mac.md
Last active February 7, 2020 14:03
それでも Classic Mac でバグったときの黒い画面は見たことがある(気がする)
@nobuh
nobuh / ddd_and_ca_poem.md
Last active January 24, 2020 00:39
ドメイン駆動設計とクリーンアーキテクチャがウォーターフォールに落ち込みやすい理由について考えてみた

なぜアジャイルはウォーターフォールっぽく失敗してしまうのか

考えてみた

クリーンアーキテクチャーが優秀なゆえのミスマッチ時のインパクト仮説

ドメイン駆動設計は本質的にはアジャイルのプロセスに沿った哲学、設計のしかたの概念ととらえることが出来る。 その中心はドメインエキスパートと開発者との対話で、イタレーティブにモデルを設計していくというところ。

そのドメイン駆動設計の具体的な事例、テンプレートとしてクリーンアーキテクチャ (CA) が広く適用されている。さらに具体的なものとしてオニオンとかもある。

@nobuh
nobuh / HelloWorld_Program.cs
Last active April 24, 2019 04:35
C# self learning
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World");
}
@nobuh
nobuh / note_eloquent_javascript.md
Last active December 25, 2018 02:26
Eloquent Javascript のノート

{ の意味

  • 行頭ではブロックの開始を意味する
  • その他の場所では json オブジェクト

オブジェクトのプロパティの消し方

  • anObject.aProperty = undefined; で消すと、プロパティが残ったまま undefined になる
  • delete anObject.aProperty; で消すと、プロパティそのものが消える。 in オペレーターも false を返すようになる。

const オブジェクトのプロパティの値は変更できる

@nobuh
nobuh / HaxeFlixelNote.md
Last active November 26, 2018 14:09
HaxeFlixel ノート

Install Haxe

Install HaxeFlixel

HaxeFlixel HelloWorld

@nobuh
nobuh / gist:60ccd4ed3dedf7fbee8b99d882c611ff
Created June 8, 2018 05:42 — forked from cucmberium/gist:e687e88565b6a9ca7039
Twitterの検索API & Twitterでの検索術

twitterの検索術 (search/tweetssearch/universal)

search/tweets では一週間以上前のツイートは検索できないので注意

search/universal は公式のConsumerKey/ConsumerSecretでないと使用できない

当方では一切の責任を負いません

@nobuh
nobuh / install_matplotlib_on_miniconda.sh
Created November 20, 2017 06:42
How to install matplotlib on MIniconda
# conda-forge as the channel for matplotlib
conda install -c conda-forge matplotlib