Skip to content

Instantly share code, notes, and snippets.

View mom0tomo's full-sized avatar
🐱
I love cats

mom0tomo mom0tomo

🐱
I love cats
View GitHub Profile

婚姻届のドライラン

※ 墨田区の場合

届出日について

届出日についてはもし変更があっても大きな問題が無い限り持っていった日で受理してくれる。

休日窓口について

@MakoTano
MakoTano / cli_template.go
Last active May 18, 2019 12:32
github.com/codegangsta/cli を使ったコマンドラインツールのテンプレート
package main
import (
"fmt"
"os"
"github.com/codegangsta/cli"
)
func main() {
@saboyutaka
saboyutaka / Dockerfile
Created July 28, 2018 06:20
Docker Compose for Rails
FROM ruby:2.5.1
ENV LANG C.UTF-8
RUN apt-get update -qq && \
apt-get install -y --no-install-recommends \
build-essential \
libpq-dev \
libfontconfig1 \
less \

Golang 101

事前準備

Go言語での開発をするために、まずは環境整備をしましょう。

Go言語のインストール

公式サイトより、ご自身の環境に合わせてインストーラをダウンロードし、Go言語の実行環境をインストールしてください。 バージョンは最新(本ガイドを書いた時点では1.12.6)をインストールしてください。

@arosh
arosh / main.go
Created December 30, 2016 16:58
read until EOF
package main
import (
"bufio"
"fmt"
"os"
"io"
"log"
)
@aibax
aibax / SlackInvitation.gs
Last active May 9, 2021 14:22
Google Form を使用した Slack の自動招待フォーム用 Google Apps Script
/*
* [SETUP]
* 1. Slack のAPIトークンを発行する
* 2. Google Form でフォームを作成する
* - 必要な項目はメールアドレスのみ
* - Google Form で指定したメールアドレスの項目名を FORM_ITEM_TITLE に設定する
* 3. スクリプトエディタでこのスクリプトを登録
* - SLACK_API_TOKEN にAPIトークンを指定
* - SLACK_API_ENDPOINT にチーム名を指定
* 4. フォームの送信時のトリガーに onFormSubmit を指定(要認証)
@mattn
mattn / README.md
Last active March 5, 2022 20:52
技術系 Twitter コミュニティ

移動しました!

@jpalala
jpalala / how-to-setup-mac-elasticsearch.md
Created September 11, 2015 08:28
setting up elasticsearch on your mac with brew

Install va homebrew

If you don't have homebrew installed - get homebrew here

Then run: brew install elasticsearch

Configuration

Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml.

@kazuho
kazuho / git-blame-pr.pl
Last active June 28, 2022 07:15
git-blame by PR #
#! /usr/bin/perl
#
# Written in 2017 by Kazuho Oku
#
# To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
# You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
#
use strict;
use warnings;
@pigeonflight
pigeonflight / install-python-2.7.14.sh
Created May 22, 2018 11:19
Install Python 2.7.14 on Ubuntu 14.04
# usage
# bash install-python-2.7.14.sh
sudo apt-get update
sudo apt-get install build-essential checkinstall -y
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y
cd /usr/src
sudo wget https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz
sudo tar xzf Python-2.7.14.tgz
cd Python-2.7.14
sudo ./configure --enable-optimizations