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
| Left align | Right align | Center align | | |
|:-----------|------------:|:------------:| | |
| This | This | This | | |
| column | column | column | | |
| will | will | will | | |
| be | be | be | | |
| left | right | center | | |
| aligned | aligned | aligned | |
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
Logger.log('hogehoge'); |
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 logging | |
from datetime import datetime | |
from dbarchive import Base | |
class Sample(Base): | |
def __init__(self, maxval=10): | |
self.base = "hoge" | |
self.bin = numpy.arange(maxval) | |
self.created = datetime.now() |
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
$ pip install click |
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
# caskをインストールしていない人はここから | |
$ brew install caskroom/cask/brew-cask | |
# インストールしている人はここから | |
$ brew cask install vagrant virtualbox |
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 argparse | |
from inspect import getargspec | |
def set_arguments(parser, func): | |
args, varargs, keywords, defaults = getargspec(func) | |
print 'args: ', args | |
print 'varargs', varargs |
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
"HEAD": "", | |
"built_as_bottle": true, | |
"compiler": "gcc", | |
"poured_from_bottle": true, | |
"stdlib": null, | |
"tapped_from": “<tap名>”, | |
"time": 0, | |
"unused_options": [], | |
"used_options": [] |
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 | |
# -*- coding: utf-8 -*- | |
import numpy as np | |
import matplotlib.pyplot as plt | |
class DraggableRectangle: | |
def __init__(self, rect): | |
self.rect = rect |
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
module Precious | |
class App < Sinatra::Base | |
use Rack::Auth::Basic, "This is private wiki" do |username, password| | |
[username, password] == ['yukke', 'passwd'] | |
end | |
end | |
end |
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
$ pip install ansible |
NewerOlder