Skip to content

Instantly share code, notes, and snippets.

View tsuyoshicho's full-sized avatar

Tsuyoshi CHO tsuyoshicho

View GitHub Profile
@yasuharu519
yasuharu519 / .clang-format.sample.yaml
Created December 13, 2015 12:04
clang-format の設定サンプル
---
BasedOnStyle: 'Google'
AccessModifierOffset: -2
AlignEscapedNewlinesLeft: true
AlignConsecutiveAssignments: false
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true,
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: 'Inline'
@ailispaw
ailispaw / patch.fix.twitter.update.tbrl.js
Last active February 3, 2020 03:01
Taberareloo Patch: Fix Twitter.update 2020.02
// ==Taberareloo==
// {
// "name" : "Fix Twitter.update 2020.02"
// , "description" : "Fix Twitter.update 2020.02"
// , "include" : ["background"]
// , "version" : "0.5.0"
// , "downloadURL" : "https://gist.githubusercontent.com/ailispaw/9406c2ffacf68c6ad238/raw/patch.fix.twitter.update.tbrl.js"
// }
// ==/Taberareloo==
@voluntas
voluntas / mqtt.rst
Last active February 15, 2025 04:35
MQTT とはなんだったのか

MQTT とはなんだったのか

更新:2017-05-09
作者:@voluntas
バージョン:3.14
URL:http://voluntas.github.io/

MQTT をググって調べた人向け

@alefteris
alefteris / .eslintrc
Created May 9, 2015 17:01
ESLint default config in YAML format
---
parser: espree
env:
amd: false
browser: false
es6: false
jasmine: false
jquery: false
meteor: false
mocha: false
@wakita
wakita / cmake.bat
Created April 28, 2015 03:31
Windows+MinGW+CMakeでの開発に必須
"c:\Program Files (x86)\CMake\bin\cmake.exe" -G"MinGW Makefiles" -H. -B%builddir%
@bjhomer
bjhomer / .gitconfig
Created March 13, 2015 18:15
A git alias to delete branches whose remote tracking branches are gone
# Drop this into your ~/.gitconfig
[alias]
delete-merged = !bash -c '\
REMOTE=$1 && \
REMOTE=${REMOTE:="origin"} && \
echo "Fetching $REMOTE" && \
git fetch $REMOTE --prune && \
git branch -vv | grep "gone]" | awk \"{ print \\$1 }\" | xargs git branch -d' -
@spiegel-im-spiegel
spiegel-im-spiegel / travis.yml.md
Last active September 24, 2017 09:42
.travis.yml 記述例

[Travis CI]: .travis.yml 記述例

[Travis CI] で MinGW を使う

[Travis CI] による C/C++ のサポートは以下の通り

  • gcc
  • clang
  • core GNU build toolchain (autotools, make), cmake, scons
@voluntas
voluntas / new_to_mqtt.rst
Last active October 2, 2023 06:26
初めての MQTT
@tokuhirom
tokuhirom / DateTimeFormatterSample.java
Last active November 29, 2018 05:54
Java 8 Date And Time API - Sample code.
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Locale;
public class DateTimeFormatterSample {
public static void main(String[] args) {
String[][] patterns = new String[][]{
new String[]{"G", "appendText(ChronoField.ERA,"},
@stknohg
stknohg / RegisterWindowsDefenderUpdate.bat
Last active October 31, 2015 03:13
Windows Defenderの定義更新を定期的に行うタスクを登録するスクリプト
REM
REM Windows Defenderの定義更新を定期的に行うタスクを登録するスクリプト
REM schtasksコマンドを使用したバージョン
REM ※要管理者権限
REM Windows 7で動作確認しています。
REM
schtasks.exe /Create /RU system /SC HOURLY /TN "Windows Defender Update" /TR "'C:\Program Files\Windows Defender\MpCmdRun.exe' -SignatureUpdate -MMPC" /ST "01:00:00"