Skip to content

Instantly share code, notes, and snippets.

@gion-pop
Created January 21, 2017 10:24
Show Gist options
  • Save gion-pop/5b129681d22dac00206a976aa70a6677 to your computer and use it in GitHub Desktop.
Save gion-pop/5b129681d22dac00206a976aa70a6677 to your computer and use it in GitHub Desktop.
起動スクリプト
#!/bin/sh
export _CHAT_SECURITY_KEY="セキュリティキー"
export _CHAT_GOOGLE_ID="クライアントID"
export _CHAT_GOOGLE_SECRET="秘密の値"
export _CHAT_FACEBOOK_ID="クライアントID"
export _CHAT_FACEBOOK_SECRET="秘密の値"
export _CHAT_GITHUB_CK="クライアントID"
export _CHAT_GITHUB_CS="秘密の値"
./chat
env | grep -E '^_CHAT' | { while read LINE; do unset ${LINE%%=*}; done }
@gion-pop
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment