Skip to content

Instantly share code, notes, and snippets.

hayashi hayashikun

  • Japan
Block or report user

Report or block hayashikun

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hatena_md_converter.py
import argparse
import os
import re
import sys
import pyperclip
BraKetDefinition = r"""
[tex:
\def\bra#1{\mathinner{\left\langle{#1}\right|}}
@hayashikun
hayashikun / cm.ipynb
Last active May 17, 2018
Python Snippets
View cm.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View sava.py
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
@app.route('/', defaults={'path': ''}, methods=["GET", "POST"])
@app.route('/<path:path>', methods=["GET", "POST"])
def handle(path):
print("\n\n========== %s ==========" % datetime.now())
print(request.method, "/" + path)
View oauth.py
import requests
import time
import random
import hashlib
import hmac
import base64
OAUTH_TOKEN = "oauth_token"
OAUTH_TOKEN_SECRET = "oauth_token_secret"
OAUTH_VERIFIER = "oauth_verifier"
View like.html
<style>
#heart {
width: 280px;
height: 280px;
background-image: url(http://cdn-ak.f.st-hatena.com/images/fotolife/h/hayashikunsan/20160321/20160321164813.png);
background-position: left;
}
</style>
<div id="heart"></div>
@hayashikun
hayashikun / gist:fbb5e7fb34b61369f6b6
Last active Aug 29, 2015
KOANアプリ開発之記
View gist:fbb5e7fb34b61369f6b6

#はじめに KOANアプリ開発について書きます
Android版とiOS版(Swift)の開発です

自己紹介

理学部化学科B2です
PythonでWebとかAndroidアプリ開発してます
Objective-Cは未経験ですが、SwiftでiOSアプリ開発は最近始めました

KOANとは

You can’t perform that action at this time.