Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
WIFI_NAME=my-wifi-name
while true
do
if [[ -n `networksetup -getairportnetwork en0 | grep $WIFI_NAME` ]]; then
sleep 30
continue
fi
if [[ -n `/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s | grep $WIFI_NAME` ]]; then
% cat .git/hooks/pre-commit
#!/bin/sh
branch=$(git symbolic-ref --short HEAD)
if test "$branch" = "master"
then
cat <<\EOF
masterへのコミット禁止!!!!!
EOF
exit 1
fi
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
<!DOCTYPE html><html><head><meta charset="utf-8"><title>API Documentation</title><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"><style>@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');.hljs-comment,.hljs-title{color:#8e908c}.hljs-variable,.hljs-attribute,.hljs-tag,.hljs-regexp,.ruby .hljs-constant,.xml .hljs-tag .hljs-title,.xml .hljs-pi,.xml .hljs-doctype,.html .hljs-doctype,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo{color:#c82829}.hljs-number,.hljs-preprocessor,.hljs-pragma,.hljs-built_in,.hljs-literal,.hljs-params,.hljs-constant{color:#f5871f}.ruby .hljs-class .hljs-title,.css .hljs-rules .hljs-attribute{color:#eab700}.hljs-string,.hljs-value,.hljs-inheritance,.hljs-header,.ruby .hljs-symbol,.xml .hljs-cdata{color:#718c00}.css .hljs-hexcolor{color:#3e999f}.hljs-function,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword,.perl .hljs-sub,.java
<!DOCTYPE html><html><head><meta charset="utf-8"><title>API Documentation</title><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"><style>@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');.hljs-comment,.hljs-title{color:#8e908c}.hljs-variable,.hljs-attribute,.hljs-tag,.hljs-regexp,.ruby .hljs-constant,.xml .hljs-tag .hljs-title,.xml .hljs-pi,.xml .hljs-doctype,.html .hljs-doctype,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo{color:#c82829}.hljs-number,.hljs-preprocessor,.hljs-pragma,.hljs-built_in,.hljs-literal,.hljs-params,.hljs-constant{color:#f5871f}.ruby .hljs-class .hljs-title,.css .hljs-rules .hljs-attribute{color:#eab700}.hljs-string,.hljs-value,.hljs-inheritance,.hljs-header,.ruby .hljs-symbol,.xml .hljs-cdata{color:#718c00}.css .hljs-hexcolor{color:#3e999f}.hljs-function,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword,.perl .hljs-sub,.jav

FORMAT: 1A

Group ユーザAPI

ユーザ [/users/{id}]

ユーザの詳細 [GET]

処理概要

FORMAT: 1A

ユーザAPI [/users/{id}]

Retrieve a User [GET]

  • Parameters

    • id: 1 (number, required) - ユーザID
  • Response 200 (application/json)

FORMAT: 1A

ユーザAPI [/users/{id}]

Retrieve a User [GET]

  • Parameters

    • id: 1 (number, required) - ユーザID
  • Response 200 (application/json)

FORMAT: 1A

ユーザAPI [/users/{id}]

Retrieve a User [GET]

  • Parameters

    • id: (number) - ユーザID

基本

メール送信の基本的な仕組みはメールサーバーを挟みメッセージのやり取りをする。 送信者はメールサーバーへメッセージを送信し、受信者はメールサーバーへメッセージを取りに行く。

MTA (Mail Transfer Agent)

メールサーバーが持つ、メール転送サーバソフト パソコンから送られてきたメールを受け取り、それをあて先へ送信する。あて先側のメールサーバーがそれを受け取る。

MUA (Mail User Agent)