$ heroku config --json { "MYSQL_URL": "mysql://foo-bar/db" }
$ hlocalrun.sh 'echo $MYSQL_URL' mysql://foo-bar/db
| #!/bin/sh | |
| set -eu | |
| # サーバのホスト名一覧 | |
| SERVERS=( | |
| "tnt1" | |
| "tnt2" | |
| ) |
$ heroku config --json { "MYSQL_URL": "mysql://foo-bar/db" }
$ hlocalrun.sh 'echo $MYSQL_URL' mysql://foo-bar/db
| require 'active_support/core_ext/string' | |
| require 'pp' | |
| current_ts_prefix = '20170602000' | |
| migrations = [] | |
| [ | |
| { | |
| model: 'Document', | |
| table: 'documents', |
| let t = 0 | |
| const tapListener = e => { | |
| let n = +new Date | |
| if (n - t <= 500) { | |
| e.preventDefault() | |
| } | |
| t = n | |
| return false | |
| } |
| IO.popen("pbcopy", "r+") { |io| io.puts("Hey"); io.close_write; } |
| package main | |
| import ( | |
| "io/ioutil" | |
| "log" | |
| "gopkg.in/yaml.v2" | |
| ) | |
| type Config struct { |
| public extension String { | |
| public func chunkByLength(_ count: UInt) -> [String] { | |
| var result = [String]() | |
| var idx = characters.startIndex | |
| while idx < characters.endIndex { | |
| let next = characters.index(idx, offsetBy: Int(count), limitedBy: characters.endIndex) ?? characters.endIndex | |
| if idx == next { | |
| break | |
| } | |
| result.append(self[idx..<next]) |
I hereby claim:
To claim this, I am signing this object:
| import React from 'react' | |
| import { PropTypes } from 'react' | |
| import { throttle } from 'lodash' | |
| export default class InfiniteList extends React.Component { | |
| static propTypes = { | |
| initialElements: PropTypes.arrayOf(PropTypes.node), | |
| endElement: PropTypes.node, | |
| moreElement: PropTypes.node, |
| #!/bin/sh | |
| MDIR=". \ | |
| lib/SRC \ | |
| lib/SRC/AR \ | |
| lib/SRC/AR/arLabelingSub \ | |
| lib/SRC/ARICP \ | |
| lib/SRC/AR2 \ | |
| lib/SRC/KPM \ | |
| lib/SRC/Util \ |