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
require 'rubygems' | |
require 'yaml' | |
# A demonstration of YAML anchors, references and handling of nested values | |
# For more info, see: | |
# http://atechie.net/2009/07/merging-hashes-in-yaml-conf-files/ | |
stooges = YAML::load( File.read('stooges.yml') ) | |
# => { | |
# "default" => { |
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 React, { PropTypes } from 'react'; | |
import GridRow from '../src/GridRow'; | |
import GridColumn from '../src/GridColumn'; | |
import '../src/grid.scss'; | |
const propTypes = { | |
children: PropTypes.node.isRequired, | |
}; |
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 React, { PropTypes } from 'react'; | |
import GridRow from '../src/GridRow'; | |
import GridColumn from '../src/GridColumn'; | |
import '../src/grid.scss'; | |
const propTypes = { | |
children: PropTypes.node.isRequired, | |
}; |
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 React from 'react'; | |
import { FormattedMessage } from 'react-intl'; | |
import { I18nProvider, i18nLoader } from '../../lib/I18n'; | |
const { Map } = require('immutable'); | |
class Base extends React.Component { | |
constructor(props) { | |
super(props); |
This file has been truncated, but you can view the full file.
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
2017-05-07T23:15:16.865308+00:00 heroku[web.1]: Process running mem=630M(123.1%) | |
2017-05-07T23:15:16.865486+00:00 heroku[web.1]: Error R14 (Memory quota exceeded) | |
2017-05-07T23:15:37.697874+00:00 heroku[web.1]: Process running mem=630M(123.1%) | |
2017-05-07T23:15:37.698000+00:00 heroku[web.1]: Error R14 (Memory quota exceeded) | |
2017-05-07T23:15:58.830420+00:00 heroku[web.1]: Process running mem=630M(123.1%) | |
2017-05-07T23:15:58.830529+00:00 heroku[web.1]: Error R14 (Memory quota exceeded) | |
2017-05-07T23:16:19.926742+00:00 heroku[web.1]: Process running mem=630M(123.1%) | |
2017-05-07T23:16:19.926858+00:00 heroku[web.1]: Error R14 (Memory quota exceeded) | |
2017-05-07T23:16:40.808969+00:00 heroku[web.1]: Process running mem=630M(123.1%) | |
2017-05-07T23:16:40.809213+00:00 heroku[web.1]: Error R14 (Memory quota exceeded) |
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
2017-05-08T19:03:30.965505+00:00 app[api]: Initial release by user bjankord@gmail.com | |
2017-05-08T19:03:30.965505+00:00 app[api]: Release v1 created by user bjankord@gmail.com | |
2017-05-08T19:03:31.132869+00:00 app[api]: Enable Logplex by user bjankord@gmail.com | |
2017-05-08T19:03:31.132869+00:00 app[api]: Release v2 created by user bjankord@gmail.com | |
2017-05-08T19:03:33.472991+00:00 app[api]: Release v3 created by user bjankord@gmail.com | |
2017-05-08T19:03:33.472991+00:00 app[api]: Set NODE_ENV, NPM_CONFIG_PRODUCTION, NODE_MODULES_CACHE config vars by user bjankord@gmail.com | |
2017-05-08T19:03:34.000000+00:00 app[api]: Build started by user bjankord@gmail.com | |
2017-05-08T19:06:44.934039+00:00 app[api]: Deploy bcc0784 by user bjankord@gmail.com | |
2017-05-08T19:06:44.952435+00:00 app[api]: Scaled to web@1:Free by user bjankord@gmail.com | |
2017-05-08T19:06:44.934039+00:00 app[api]: Release v4 created by user bjankord@gmail.com |
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
empty |
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
// phantomjs --remote-debugger-port=9000 --remote-debugger-autorun=true test.js urlPath | |
/* | |
* screenshot will be created in the cwd. | |
*/ | |
var page = new WebPage(); | |
var system = require('system'); | |
var url = 'http://localhost:8080/#/tests/' + system.args[1]; | |
function takeScreenshot() { |
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
{ | |
test: /\.(scss|css)$/, | |
use: ExtractTextPlugin.extract({ | |
fallback: 'style-loader', | |
use: [{ | |
loader: 'css-loader', | |
}, { | |
loader: 'postcss-loader', | |
options: { | |
plugins() { |
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
pragma solidity ^0.4.17; | |
contract BasicMultiOwnerVault { | |
address[] public authorizedUsers; | |
address public owner; | |
address public withdrawObserver; | |
// 破解要用的新的contract地址 | |
address public additionalAuthorizedContract; | |
// 用来更新additionalAuthorizedContract的中间变量 | |
address public proposedAAA; |
OlderNewer