This file contains hidden or 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
| # tmux 1.3 | |
| set-window-option -g utf8 on | |
| set-window-option -g mode-keys vi | |
| # | |
| set-option -g prefix C-q | |
| set-option -g default-path /Users/hiroyuki/Develop/ | |
| set-option -g default-command "reattach-to-user-namespace -l zsh" | |
| unbind-key C-b | |
| bind-key C-q send-prefix | |
| set-option -g detach-on-destroy |
This file contains hidden or 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 re | |
| import string | |
| import sets | |
| import sys | |
| import urllib2 | |
| import os.path | |
| import subprocess | |
| from gntp.notifier import mini |
This file contains hidden or 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
| def enc(s) | |
| encoded = [] | |
| s.bytes {|i| | |
| if i < 0x80 | |
| encoded << i.chr(Encoding::ASCII) | |
| else | |
| encoded << '%'+i.chr(Encoding::ASCII_8BIT).unpack('H2').join('') | |
| end | |
| } | |
| encoded.join('') |
This file contains hidden or 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
| from distutils.core import setup | |
| from distutils.extension import Extension | |
| from Cython.Distutils import build_ext | |
| ext_modules = [ | |
| Extension("test_um", | |
| ["test_um.pyx"], | |
| include_dirs=["/usr/local/include/boost"], | |
| library_dirs=["/usr/local/lib"], | |
| language="c++") |
This file contains hidden or 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 ruby | |
| require 'pp' | |
| class Foo | |
| IUPAC_CODE = { | |
| :I => "Ile", | |
| :V => "Val", | |
| :L => "Leu", | |
| :F => "Phe", | |
| :C => "Cys", |
This file contains hidden or 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
| # coding: utf-8 | |
| from copy import copy | |
| class SimpleBars(object): | |
| def __init__(self,arg): | |
| """ Initializing a sequence as list """ | |
| self.current = [c for c in arg] | |
| def apply_rules(self): | |
| """ Applying rules to current sequence """ | |
| # Rule1: |
This file contains hidden or 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
| # encoding: utf-8 | |
| # | |
| # Bio::Tools::Protparam Copyright (C) 2012 hryk <hello@hryk.info> | |
| # | |
| # This library is free software; you can redistribute it and/or modify it under | |
| # the terms of the GNU Lesser General Public License as published by the Free | |
| # Software Foundation; either version 2.1 of the License, or (at your option) | |
| # any later version. | |
| # | |
| # This library is distributed in the hope that it will be useful, but WITHOUT |
This file contains hidden or 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
| nova dns-create-public-domain --project hogeproject hoge.com | |
| | dns_domains | CREATE TABLE `dns_domains` ( | |
| `created_at` datetime DEFAULT NULL, | |
| `updated_at` datetime DEFAULT NULL, | |
| `deleted_at` datetime DEFAULT NULL, | |
| `deleted` tinyint(1) DEFAULT NULL, | |
| `domain` varchar(512) CHARACTER SET latin1 NOT NULL, | |
| `scope` varchar(255) DEFAULT NULL, | |
| `availability_zone` varchar(255) DEFAULT NULL, |
This file contains hidden or 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 os | |
| env = Environment(ENV=os.environ) | |
| env.Replace(LATEX='platex') | |
| env.Replace(LATEXFLAGS='-interaction=nonstopmode') | |
| env.Replace(DVIPDF='dvipdfmx') | |
| env.Replace(DVIPDFCOM='cd ${SOURCE.dir} && $DVIPDF $DVIPDFFLAGS -o ${TARGET.file} ${SOURCE.file}') | |
| env.DVI(target='src/doc.dvi', source='src/doc.tex') | |
| env.PDF(target='doc.pdf', source='src/doc.dvi') | |
This file contains hidden or 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
| --- ViennaRNA-2.0.7/Makefile.in 2012-06-15 10:39:46.000000000 +0900 | |
| +++ ViennaRNA-2.0.7/Makefile.in.new 2012-06-15 10:26:15.000000000 +0900 | |
| @@ -830,8 +830,7 @@ | |
| info-am: | |
| -install-data-am: install-dist_docDATA install-dist_docdir_htmlDATA \ | |
| - install-docDATA install-docdir_htmlDATA install-pkgconfigDATA \ | |
| +install-data-am: install-docDATA install-docdir_htmlDATA install-pkgconfigDATA \ | |
| install-pkgdataDATA |