Skip to content

Instantly share code, notes, and snippets.

View kanreisa's full-sized avatar
☑️
Busy

Yuki K. kanreisa

☑️
Busy
View GitHub Profile
@mono0926
mono0926 / commit_message_example.md
Last active March 28, 2024 15:29
[転載] gitにおけるコミットログ/メッセージ例文集100
import threading
from uuid import uuid4
import redis
r = redis.StrictRedis(host='', port=0, db=0, password='')
class Attacker(threading.Thread):
def __init__(self, name):
@j3tm0t0
j3tm0t0 / arptweet.py
Last active December 12, 2015 02:08
scan MAC address and tweet
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
argvs = sys.argv
argc = len(argvs)
if (argc == 1):
print 'usage: %s text' % argvs[0]
quit()
import tweepy
<?php
/**
* iPhoneのアイコンみたいな画像を作るよ
*
* @author riaf<riafweb@gmail.com>
*/
if(!class_exists('Imagick')){
throw new Exception('Imagick required.');
return -1;
}
anonymous
anonymous / scheduler.php
Created March 15, 2015 10:27
Chinachu_Prototype_rev.5_20120218
<?php
// Chinachu Prototype rev.5 (2012/02/18)
// GPLv3
// Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
/* ユーザー設定 */
define('JSON_RESULT_SCHEDULE' , __dir__ . '/schedule.json');
define('JSON_RESULT_SCHEDULE_IGNORE' , __dir__ . '/schedule_ignore.json');
define('OUTPUT_COMMAND_RECORD' , __dir__ . '/log/recoding.log');
define('DIR_RECORDED' , __dir__ . '/recorded/');
define('RESERVE_LIST_TITLE' , __dir__ . '/reserve_titles.txt');