Skip to content

Instantly share code, notes, and snippets.

mysql> show create table fuga;
+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| fuga | CREATE TABLE `fuga` (
`id` int(11) NOT
@twainy
twainy / gist:7340894a5d2c5e89230685a6766cd2d5
Created October 12, 2017 18:17
Fire emblem heroes の 劣勢通知
# -*- coding: utf-8 -*-
from bs4 import BeautifulSoup
import smtplib
from email.mime.text import MIMEText
from urllib import request
import os
url = 'https://support.fire-emblem-heroes.com/voting_gauntlet/tournaments/%s'
tournament_id = 7
my_target = 'カムイ'
to_addr = os.getenv('TOADDR')
@twainy
twainy / errno-base.h#31
Last active August 29, 2015 14:13
net eth1: Unexpected TX queue failure: -28 って何だろう、という話 ref: http://qiita.com/twainy@github/items/7ca23e658f37e9cecfe2
#define ENOSPC 28 /* No space left on device */
@twainy
twainy / file0.txt
Last active August 29, 2015 14:06
MacにPHPをMySQL Native Driver無しでインストールする ref: http://qiita.com/twainy@github/items/5e0957b0833f37a081fa
/usr/local/Library/Taps/homebrew/homebrew-php/Formula/php54.rb
/usr/local/Library/Taps/homebrew/homebrew-php/Abstract/abstract-php.rb