Skip to content

Instantly share code, notes, and snippets.

@fujimura
fujimura / z-index.css.scss
Last active November 22, 2016 07:36
z-index.css.scss
@mixin stack-classes ($classes) {
$i: 10;
@each $class in $classes {
.#{$class} {
z-index: $i;
$i: $i + 10;
}
}
}
@yokota-shinsuke
yokota-shinsuke / cloud_watch
Last active December 31, 2023 09:01
Zabbix template for AWS/RDS and Ruby script for external check. The template includes Item definitions(all CloudWatch metrics), Graph definitions and Screen definition. Zabbix server needs role with to enough permissions to read CloudWatch and rubygem-aws-sdk. Put script "cloud_watch" at zabbix-server:/usr/lib/zabbix/externalscripts, add excite …
#!/usr/bin/ruby
require 'rubygems'
require 'aws-sdk'
require 'optparse'
params = ARGV.getopts(
"",
"region:",
"service:",
#!/bin/zsh
#
# Highlight a given file and copy it as RTF.
#
# Simon Olofsson <simon@olofsson.de>
#
set -o errexit
set -o nounset
@udzura
udzura / consul-workshop.md
Last active November 7, 2021 12:17
やわらか Consul

やわらか Consul

こわくないConsul

Setup

事前に、ワークショップ用のサンプルプロジェクトをチェックアウトし、VMの作成だけしておきましょう。 --no-provision でお願いします!

@hashrock
hashrock / diag.md
Last active February 26, 2024 05:51
作図系ツール・ライブラリまとめ

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

GraphViz

http://www.graphviz.org/

  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など
@Shinichi-Nakagawa
Shinichi-Nakagawa / Dockerfile
Last active May 7, 2017 06:52
DockerのPython Imageとparse-crontabを使ってシンプルな定時処理batchを作る ref: http://qiita.com/shinyorke/items/77cd54bc836227b2416a
# Python crontab sample
FROM python:3.5.1
MAINTAINER Shinichi Nakagawa <spirits.is.my.rader@gmail.com>
# add to application
RUN mkdir /app
WORKDIR /app
ADD requirements.txt /app/
@voluntas
voluntas / erlang.rst
Last active February 2, 2023 12:00
Erlang/OTP (仮)

Erlang/OTP (仮)

日時:2016-09-21
作:@voluntas
バージョン:1.0.1
url:https://voluntas.github.io/

2016 年 6 月 24 日に行われる BPStudy の発表資料です

@nownabe
nownabe / .commit_template
Created July 5, 2016 06:54
Emojiで楽しく綺麗なコミットを手に入れる
# ==== Emojis ====
# 🐛 :bug: バグ修正
# 👍 :+1: 機能改善
# ✨ :sparkles: 部分的な機能追加
# 🎉 :tada: 盛大に祝うべき大きな機能追加
# ♻️ :recycle: リファクタリング
# 🚿 :shower: 不要な機能・使われなくなった機能の削除
# 💚 :green_heart: テストやCIの修正・改善
@mono0926
mono0926 / commit_message_example.md
Last active July 20, 2024 08:30
[転載] gitにおけるコミットログ/メッセージ例文集100