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
// ==UserScript== | |
// @name gist_title | |
// @namespace gist | |
// @include http://gist.github.com/* | |
// @include https://gist.github.com/* | |
// @version 1 | |
// ==/UserScript== | |
(function(){ | |
var migiuetext = document.createElement("div"); |
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
## .gitignore ## | |
# ignore all | |
* | |
*/ | |
# allow any | |
!*.py | |
!*.bash |
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
!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import cv2 | |
import argparse | |
import os | |
import numpy | |
parser = argparse.ArgumentParser() | |
parser.add_argument("source_dir") | |
parser.add_argument("target_dir") |
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
#!/usr/bin/env python | |
import random | |
import argparse | |
import numpy | |
import chainer | |
import chainer.optimizers | |
class SmallClassificationModel(chainer.FunctionSet): | |
def __init__(self): |
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 numpy | |
import seaborn | |
import pandas | |
from matplotlib import pyplot | |
n = 100 | |
x = numpy.linspace(0, 4, n) | |
y1 = numpy.sin(2 * numpy.pi * x) | |
y2 = numpy.cos(2 * numpy.pi * x) |