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
ts_project( | |
name = "mylib", | |
extends = "//apps/myapp:tsconfig", | |
tsconfig = { | |
"compilerOptions": { | |
"types": [], | |
}, | |
}, | |
visibility = [ | |
"//apps/myapp:__subpackages__", |
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
2019-08-24T11:55:43.941586Z info FLAG: --caCertFile="/etc/istio/certs/root-cert.pem" | |
2019-08-24T11:55:43.941617Z info FLAG: --healthCheckFile="/health" | |
2019-08-24T11:55:43.941622Z info FLAG: --healthCheckInterval="2s" | |
2019-08-24T11:55:43.941628Z info FLAG: --help="false" | |
2019-08-24T11:55:43.941631Z info FLAG: --injectConfig="/etc/istio/inject/config" | |
2019-08-24T11:55:43.941634Z info FLAG: --injectValues="/etc/istio/inject/values" | |
2019-08-24T11:55:43.941637Z info FLAG: --kubeconfig="" | |
2019-08-24T11:55:43.941640Z info FLAG: --log_as_json="false" | |
2019-08-24T11:55:43.941642Z info FLAG: --log_caller="" | |
2019-08-24T11:55:43.941645Z info FLAG: --log_output_level="default:info" |
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
pipeline { | |
agent any | |
stages { | |
stage('build matchengine') { | |
when { | |
changeset "**/matchengine/*.*" | |
} | |
steps { | |
echo 'building match engine' | |
} |
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
<MatchTabs> | |
<MatchTab | |
pathname="/home" | |
renderContent={props => { | |
return <RecursiveItem rootPath="/home" /> | |
}} | |
renderTab={({ isActive }) => ( | |
<Text style={{ color: isActive ? blue : null }}>Home</Text> | |
)} | |
/> |
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
const createEventStore = () => { | |
let data = {} | |
let subscribers = [] | |
let store = { | |
saveEvents: (aggregateId, events) => { | |
if (!data[aggregateId]) { | |
data[aggregateId] = [] | |
} | |
events.forEach(event => { |
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
package com.clouway.telcong.pubsub; | |
import org.jmock.Expectations; | |
import org.jmock.integration.junit4.JUnitRuleMockery; | |
import org.junit.Rule; | |
import org.junit.Test; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; |
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 { render } from "react-dom"; | |
import Hello from "./Hello"; | |
const styles = { | |
fontFamily: "sans-serif", | |
textAlign: "center" | |
}; | |
const timeoutAction = () => { |
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
override fun init(config: ServletConfig) { | |
ThreadManager.createThreadForCurrentRequest { | |
val moduleService = ModulesServiceFactory.getModulesService() | |
val module = moduleService.currentModule | |
val versionHostname = moduleService.getVersionHostname(module, moduleService.getDefaultVersion(module)) | |
val sp = versionHostname.split(".") | |
val moduleName = sp[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
func marshalChannel(fileName string, channel *outputChannel) error { | |
f, err := os.Create(fileName) | |
if err != nil { | |
return fmt.Errorf("unable to open output file due: %v", err) | |
} | |
defer f.Close() | |
tmp := struct { | |
outputChannel |
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, { Component } from 'react' | |
import { TextInput } from 'react-native' | |
import { shallow, configure } from 'enzyme' | |
import Adapter from 'enzyme-adapter-react-16' | |
import renderer from 'react-test-renderer' | |
import { SearchBar } from 'react-native-elements' | |
configure({ adapter: new Adapter() }) | |
class MyInput extends Component { |
NewerOlder