Skip to content

Instantly share code, notes, and snippets.

View kuronekomichael's full-sized avatar
🤡
“You cheated not only the game, but yourself"

Koki Nakashima kuronekomichael

🤡
“You cheated not only the game, but yourself"
View GitHub Profile
@hashrock
hashrock / diag.md
Last active February 26, 2024 05:51
作図系ツール・ライブラリまとめ

シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ

GraphViz

http://www.graphviz.org/

  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など
@nicklockwood
nicklockwood / gist:21495c2015fd2dda56cf
Last active August 13, 2020 13:57
Thoughts on Swift 2 Errors

Thoughts on Swift 2 Errors

When Swift was first announced, I was gratified to see that one of the (few) philosophies that it shared with Objective-C was that exceptions should not be used for control flow, only for highlighting fatal programming errors at development time.

So it came as a surprise to me when Swift 2 brought (What appeared to be) traditional exception handling to the language.

Similarly surprised were the functional Swift programmers, who had put their faith in the Haskell-style approach to error handling, where every function returns an enum (or monad, if you like) containing either a valid result or an error. This seemed like a natural fit for Swift, so why did Apple instead opt for a solution originally designed for clumsy imperative languages?

I'm going to cover three things in this post:

@terrehbyte
terrehbyte / UsefulUnityAssets.md
Last active March 28, 2024 22:35
Useful Open-Source Unity Assets

Useful Open-Source Unity Assets

This is a compilation of various open-source Unity plugins, codebases, or utility scripts that may aid in expediting the development process.

Art / Design Tools

ProbePolisher - Light Probe Editor - keijiro

"ProbePolisher is a Unity Editor plugin for editing light probes. It works both on Unity Basic (free) and Unity Pro."

Code
Releases

@TravelingTechGuy
TravelingTechGuy / ChromeExtensionGulp.js
Created April 5, 2014 19:22
Gulp file for building a Chrome Extension
'use strict';
//npm install gulp gulp-minify-css gulp-uglify gulp-clean gulp-cleanhtml gulp-jshint gulp-strip-debug gulp-zip --save-dev
var gulp = require('gulp'),
clean = require('gulp-clean'),
cleanhtml = require('gulp-cleanhtml'),
minifycss = require('gulp-minify-css'),
jshint = require('gulp-jshint'),
stripdebug = require('gulp-strip-debug'),
@kuronekomichael
kuronekomichael / post-checkout
Last active October 27, 2020 08:55
git clone元のサーバによって、user.nameやuser.emailを切り替えるフックスクリプト git clone hook post checkout
#!/bin/sh
# post-checkout
# =============
# arguments
# $1: ref of the previous HEAD e.g.) 0000000000000000000000000000000000000000
# $2: ref of the new HEAD e.g.) 959224d097072c8a5640fee31bac7325710eada1
# $3: flag = ブランチをチェックアウトした場合=1, ファイルをチェックアウトした場合=0
# `git clone`時だけ処理をしたいので、通常の`git checkout`時には何もしない
if [ "$1" != "0000000000000000000000000000000000000000" -o "$3" != "1" ]; then
@itokami1123dev
itokami1123dev / JsTestFukuoka.md
Last active December 23, 2015 18:49
JSテスト福岡 第0回 JavaScriptのテストコード書きたい人、書いてみたい人の為の勉強会です!
@obiconbig
obiconbig / gist:5122390
Last active June 27, 2023 09:42
How to use Codeception on CodeIgniter 2.1.x

How to use Codeception on CodeIgniter 2.1.x

Using Codeception Test with CodeIgniter

Requirements

  • PHP >= 5.3
  • PHP CURL extension enabled
@PGMY
PGMY / iOSLib.md
Last active December 11, 2017 06:26
iOSで使えるライブラリなリポジトリまとめ
@mattintosh4
mattintosh4 / 0-README.md
Last active June 4, 2022 21:41
Automator 用シェルクリプト集 その1

Shell script for Automator Part.1

Automator のシェルスクリプトアクションで使えるサンプル集です。「アプリケーション」や「サービス」を作成するときにどうぞ。


入力の種類について