This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dpath=$(dirname $1) | |
cd $dpath | |
if git rev-parse 2> /dev/null; then | |
commit_id=$(git show -s --format=%H) | |
commit_id=${commit_id:0:7} | |
src=$(basename $1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import nfc | |
def check(id_): | |
print(id_) | |
time.sleep(2) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export _CHAT_SECURITY_KEY="セキュリティキー" | |
export _CHAT_GOOGLE_ID="クライアントID" | |
export _CHAT_GOOGLE_SECRET="秘密の値" | |
export _CHAT_FACEBOOK_ID="クライアントID" | |
export _CHAT_FACEBOOK_SECRET="秘密の値" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# "TwitterAPI" library on PyPI | |
from TwitterAPI import ( | |
TwitterAPI, | |
TwitterRequestError, | |
TwitterConnectionError, | |
) | |
from auth_info import ( | |
consumer_key, | |
consumer_secret, | |
access_token_key, |