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
$ pandoc readme.md -o readme.tex |
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
| 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
"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
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
URL[] topSites = null; | |
try { | |
topSites = new URL[] {new URL("http://www.google.com")}; | |
} catch (MalformedURLException e1) { | |
e1.printStackTrace(); | |
} | |
logger.debug("in main"); | |
ListeningExecutorService pool = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(10)); | |
for (final URL siteUrl : topSites) { |
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
a = [1,2,3,4,5] | |
a[-1] |
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
$ brew install mysql | |
$ unset TMPDIR | |
$ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp | |
$ mysql.server start | |
$ /usr/local/Cellar/mysql/5.5.10/bin/mysql_secure_installation |
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
$ ssh-keygen -t rsa -f <keyname> |
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
$ git clone <uri> |
NewerOlder