Skip to content

Instantly share code, notes, and snippets.

@takahashim
takahashim / gist:ca5909eb26d921532661
Last active August 29, 2015 14:14
技術解説書向け用字用語(案)
# 原則として開く用語。修正前→修正後
敢えて→あえて
当たって→あたって
余り→あまり
予め→あらかじめ
有り→あり
或いは→あるいは
如何→いかが
幾つか→いくつか
致し→いたし
@yohhoy
yohhoy / Makefile.template
Last active November 14, 2015 07:37
Makefile template for MacOS/brew
DEBUG?=1
SRCS=$(wildcard *.cpp)
OBJS=$(SRCS:.cpp=.o)
DEPENDS=Makefile.depends
BOOST_PATH=$(shell brew --prefix boost)
CXXFLAGS=-std=c++14 -W -Wall -I$(BOOST_PATH)
LDFLAGS=-L$(BOOST_PATH)/lib
@tatesuke
tatesuke / gist:f96ff6756e4169fe4239f6f2a4f02a33
Created May 9, 2016 11:38
javadocで使われている英単語 TOP10000
the 285850
of 82114
is 79278
a 78948
to 74413
this 61625
if 52123
in 36277
and 35898
be 35465
@melpon
melpon / yakinikutabetaiJP.rst
Last active October 18, 2016 07:37
焼肉食べたいリスト
@7shi
7shi / text.md
Last active March 15, 2017 06:38
アスキードワンゴ編集部 編集長 鈴木嘉平氏 『技術書を出版するには』
@unarist
unarist / mastodon-add-abbr.user.js
Last active September 6, 2018 04:53
:don: - スラングにabbrつけるやつ
// ==UserScript==
// @name :don: - スラングにabbrつけるやつ
// @namespace https://github.com/unarist/
// @version 0.21.1
// @author unarist
// @match https://mstdn.maud.io/*
// @grant none
// @downloadURL https://gist.github.com/unarist/ce93c77eee6ff9bf51491ff06a3109d3/raw/mastodon-add-abbr.user.js
// @noframes
// ==/UserScript==
____-------____
__-- --__
/ \
\ _--_ _--_ / あなたはシステム管理者から通常の講習を受けたはずです。
| ,--. ,--. | これは通常、以下の3点に要約されます:
| |()| |()| |
| _______ | #1) 他人のプライバシーを尊重すること。
| \ ||| / |
| `---' | #2) タイプする前に考えること。
@rmartinho
rmartinho / hate.markdown
Last active July 15, 2020 01:33
I will hate you

Dear C++ library writer,

  1. If your library forces me to use new all over, I will hate you.

  2. If your library has types with bogus values, I will hate you.

  3. If the documentation for your library gets the terminology of its own domain wrong, I will hate you.

  4. If I say "My God, it's full of stars!" when I see the function signatures in your library, I will hate you.

@ksasao
ksasao / KairuPlayCommand.txt
Last active August 21, 2021 15:35
Office のイルカことカイル(Kairu) のモーション一覧です。* 印はループモーションのため、停止するには Stop を送る必要があります。https://blogs.technet.microsoft.com/junichia/2009/12/14/powershell-com-windows-7-msagent/ にある Play() の中身の文字列に相当します( * は不要ですので省略してください)。
# MS Agent
# https://msdn.microsoft.com/en-us/library/ms695784(v=vs.85).aspx
# Animation Lists for the Characters Available from Microsoft
# https://msdn.microsoft.com/en-us/library/ms695821(v=vs.85).aspx
Alert
CheckingSomething *
Congratulate
DeepIdle1
EmptyTrash
Explain
@AlainODea
AlainODea / HelloCovariance.java
Last active November 16, 2022 12:31
Exception in thread "main" java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
public class HelloCovariance {
public static void main(String[] args) {
ConcurrentHashMap<String, String> properties = new ConcurrentHashMap<>();
Set<String> keySet = properties.keySet();
}
}