Skip to content

Instantly share code, notes, and snippets.

View qpSHiNqp's full-sized avatar
🏠
Working from home

Shintaro Tanaka qpSHiNqp

🏠
Working from home
View GitHub Profile
@kenjiskywalker
kenjiskywalker / aws-ec2-vpc.md
Last active October 31, 2018 11:14
EC2をVPCにアサインして、EIP用のNetwork Interfaceを追加して外部と接続できるようにする

EC2をVPCにアサインして外部から接続する

VPCにアサインされたEC2インスタンスへ
Network Interfaceを追加し、外部からVPC内のインスタンスへ接続できるようにする。

画像がないのでわかりづらいけど自分用メモということで。

Q&A

@voluntas
voluntas / shiguredo_mqtt_broker_log.rst
Last active December 3, 2017 09:50
時雨堂 MQTT ブローカー Akane 開発ログ

時雨堂 MQTT ブローカー Akane 開発ログ

日時:2017-12-03
作:時雨堂
バージョン:17.6.30
URL:https://shiguredo.jp/

2017 年 6 月 30 日をもって開発/販売を終了しました。

@mechamogera
mechamogera / awslogs.conf
Last active August 7, 2018 10:46
CloudWatch Logsサンプル設定
#
# ------------------------------------------
# CLOUDWATCH LOGS AGENT CONFIGURATION FILE
# ------------------------------------------
#
# --- DESCRIPTION ---
# This file is used by the CloudWatch Logs Agent to specify what log data to send to the service and how.
# You can modify this file at any time to add, remove or change configuration.
#
# NOTE: A running agent must be stopped and restarted for configuration changes to take effect.
@qpSHiNqp
qpSHiNqp / auto_queue.js
Created June 3, 2015 11:19
AutoQueue: A queue that runs the given process with an interval if some values are queued and stops if there is no value queued.
/**
* class AutoQueue
*
* queue that runs the given process with an interval if some values are queued
* and stops if there is no value queued.
* 値がqueueされていれば一定間隔で与えられた関数に値を渡し、queueされていなければ黙っているqueue.
*
* @constructor
* @param {Function} func
* @param {number} interval
@hashrock
hashrock / diag.md
Last active February 26, 2024 05:51
作図系ツール・ライブラリまとめ

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

GraphViz

http://www.graphviz.org/

  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など
@qpSHiNqp
qpSHiNqp / screenshotsFromTimeline.js
Last active January 18, 2016 09:34
Derives a bunch of web page screenshot PNGs from a Chrome Timeline data JSON which can be saved in DevTools > Timeline recordings
/**
* usage: node screenshotsFromTimeline.js <input timeline data json>
*
* Derives a bunch of web page screenshot PNGs from a Chrome Timeline data JSON which can be saved in DevTools > Timeline recordings
* Runs with node.js
*/
var util = require('util');
var fs = require('fs');
function usage() {
@cdechery
cdechery / envinspect.config
Created May 16, 2018 19:04
Retreive Beanstalk Application name from within EC2 instance
packages:
yum:
jq: []
container_commands:
01-getenv-info:
command: |
ENV_ID=`{"Ref": "AWSEBEnvironmentId" }`
ENV_NAME=`{"Ref": "AWSEBEnvironmentName" }`
echo "env.id="$ENV_ID > /tmp/awseb.properties