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
createBill = (amount) { | |
return Bill({ | |
amount: amount, | |
}); | |
} | |
createCheck = (account, bill) { | |
return Check({ | |
accountId: account.id, | |
billId: bill.id |
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 { EventEmitter } from "events"; | |
const eventEmitter = new EventEmitter(); | |
const stubMailApi = (address: string, message: string) => { | |
return new Promise<{ address: string; message: string; status: string }>( | |
resolve => { | |
resolve({ address, message, status: "ok" }); | |
} | |
); |
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 java.awt.Color; | |
import java.awt.Graphics2D; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; |
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
// ./utils | |
import { createInject, createReducerCreator } from "safenv"; | |
import { actions } from "~/state/actions"; | |
import { selectors } from "~/state/selectors"; | |
import { store } from "~/state/store"; | |
export const inject = createInject({ | |
store, | |
actions, | |
selectors, |
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 * as React from "react"; | |
import { AutoSizer, ScrollEventData, Table } from "react-virtualized"; | |
const CELL_HEIGHT = 18; | |
const HEADER_HEIGHT = 27; | |
type Props = any; | |
// fetch data function | |
export const fetchData = async (args: { |
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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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 java.io.*; | |
import java.util.*; | |
public class Main { | |
void solve() throws IOException { | |
//////////////////// | |
// Your code here // | |
//////////////////// | |
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 * as React from "react"; | |
export default () => <div>Hello</div>; |
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
# Archy Brain: Results schema | |
The schema defines the following properties: | |
## `Separator` (Separator) | |
## `Media` (Media) | |
## `Counter` (Counter) |
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
{ | |
"type": "object", | |
"title": "Archy Brain: Results schema", | |
"properties": { | |
"Separator": { | |
"$ref": "#/definitions/Separator" | |
}, | |
"Media": { | |
"$ref": "#/definitions/Media" | |
}, |
NewerOlder