I hereby claim:
- I am iamonuwa on github.
- I am iamonuwa (https://keybase.io/iamonuwa) on keybase.
- I have a public key ASAIThzMZxVJ1hCqaAE4QoVZJeYcvJJjzUOYigYJZEWMmQo
To claim this, I am signing this object:
import { Form, Icon, Select, Popover } from 'antd'; | |
import React from 'react'; | |
import { getExchangeObj } from './ExchangeSources'; | |
const FormItem = Form.Item; | |
const { Option, OptGroup } = Select; | |
const Hint = props => ( | |
<Popover | |
content={props.hint} |
import { Button, Card, Col, Form, List, Row } from 'antd'; | |
import React, { Component } from 'react'; | |
import Loader from '../Loader'; | |
import Field from './FindContractField'; | |
import FindContractSuccess from './FindContractSuccess'; | |
class FindContractForm extends Component { | |
constructor(props) { | |
super(props); |
I hereby claim:
To claim this, I am signing this object:
var request = require('request'); | |
var username = sails.config.secrets.MAILCHIMP_USERNAME; | |
var password = sails.config.secrets.MAILCHIMP_PASSWORD; | |
var list = sails.config.secrets.MAILCHIMP_LIST; | |
module.exports = { | |
index: (req, res) => { | |
request.post(`https://us18.api.mailchimp.com/3.0/lists/${list}/members/`, { | |
auth: { |
pub fn read_file_data(path: &PathBuf) -> Vec<u8> { | |
let mut data = Vec::new(); | |
let mut f = File::open(path).ok().unwrap(); | |
f.read_to_end(&mut data).unwrap(); | |
data | |
} | |
const VALIDATOR_CONFIG: Option<ValidatingParserConfig> = Some(ValidatingParserConfig { | |
operator_config: OperatorValidatorConfig { | |
enable_threads: true, |
This fork of JamieMason's implementation changes the key
parameter to be an array of keys instead just a single key. This makes it possible to group by multiple properties instead of just one.
const groupBy = keys => array =>
array.reduce((objectsByKeyValue, obj) => {
const value = keys.map(key => obj[key]).join('-');
<Input | |
type="text" | |
placeholder="Enter the number" | |
onKeyDown={this.onKeyDown} | |
/> |
const tx = await arweave.createTransaction( | |
{ data: JSON.stringify(data) }, | |
key | |
); | |
console.log(tx); | |
tx.addTag("App-Name", "demo"); | |
tx.addTag("App-Version", "0.0.1"); | |
tx.addTag("Unix-Time", Math.round(new Date().getTime() / 1000)); | |
tx.addTag("Type", "publish"); |
<html> | |
<head> | |
<title>Torus</title> | |
</head> | |
<body> | |
<script | |
src="https://app.tor.us/v0.2.12/embed.min.js" | |
integrity="sha384-lSiHcwUwWc+IymcuPXKXIJNrAdqA69cjnB7L8VWHlSI99WbNqzM3yLzQD/M9m2jq" | |
crossorigin="anonymous" | |
> |