Skip to content

Instantly share code, notes, and snippets.

View futoase's full-sized avatar
🐱
Focusing

Keiji Matsuzaki futoase

🐱
Focusing
  • Japan
View GitHub Profile
@futoase
futoase / 0-Searchable list of companies with employees on Hacker News.md
Created March 1, 2016 05:19
Searchable list of companies with employees on Hacker News (from people saying "I work at ...")
@futoase
futoase / api_v1_01_introduction.md
Last active November 16, 2017 06:24 — forked from yokoji/api_v1_01_introduction.md
freee API v1.0

freee API v1.0

全自動クラウド会計ソフトfreeeの開発者向けAPIのドキュメントです。

概要

本APIを利用することで、あなたのアプリやサービスをfreeeと連携させることができます。

提供機能(2013/10/10現在)

@futoase
futoase / put-process-status.sh
Created March 15, 2019 05:59 — forked from michimani/put-process-status.sh
Put linux process status to Amazon CloudWatch.
###################################################################################
# check process aliving (count process number)
# return integer 1 (process is running) or 0 (process is dead) or 9 (some error)
###################################################################################
function is_process_alive() {
count=`ps awux | grep -v grep | grep -v "$0" | grep -w "$1" | wc -l`
if [[ $count =~ ^[0-9]+$ ]]; then
if [ $count != 0 ]; then
echo 1
else