Skip to content

Instantly share code, notes, and snippets.

View gion-pop's full-sized avatar

Yuya Onuma gion-pop

View GitHub Profile
@gion-pop
gion-pop / cp-w-commitid
Created December 19, 2017 19:32
commit id を付加してコピー
#!/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)
@gion-pop
gion-pop / only_type3.py
Created April 16, 2017 10:25
FeliCa の id 読む
import time
import nfc
def check(id_):
print(id_)
time.sleep(2)
@gion-pop
gion-pop / chat.sh
Created January 21, 2017 10:24
起動スクリプト
#!/bin/sh
export _CHAT_SECURITY_KEY="セキュリティキー"
export _CHAT_GOOGLE_ID="クライアントID"
export _CHAT_GOOGLE_SECRET="秘密の値"
export _CHAT_FACEBOOK_ID="クライアントID"
export _CHAT_FACEBOOK_SECRET="秘密の値"
@gion-pop
gion-pop / SECCON2015-bin300-1.png
Last active November 9, 2017 16:33
SECCON 2015 Online CTF Writeup
SECCON2015-bin300-1.png
# "TwitterAPI" library on PyPI
from TwitterAPI import (
TwitterAPI,
TwitterRequestError,
TwitterConnectionError,
)
from auth_info import (
consumer_key,
consumer_secret,
access_token_key,