I hereby claim:
- I am danielfeelfine on github.
- I am danielfeelfine (https://keybase.io/danielfeelfine) on keybase.
- I have a public key ASDQPcarojRWSNAeeG7uMhvKJeOsQ2ahKjFf2_t8q9O9nwo
To claim this, I am signing this object:
// WRONG | |
$http.post(URL + '/subscribe', { "email": "[email protected]" }) | |
// RIGHT | |
$http({ | |
url: URL + '/subscribe', | |
method: "POST", | |
data: { "email": "[email protected]" }, | |
headers: {'Content-Type': 'application/x-www-form-urlencoded' } | |
}) |
// Json code snippet response |
import React from 'react'; | |
import {storiesOf} from '@kadira/storybook'; | |
import mockRelay from '@loggi/js/mocks/relay'; | |
import {Component} from '../'; | |
import viewer from './fixtures/viewer'; // json data | |
const relay = { | |
variables: { | |
foo: {}, | |
bar: true, |
// @flow | |
import React, { PureComponent } from 'react' | |
import { View, Text, TextInput, TouchableOpacity } from 'react-native' | |
import { commitMutation, graphql } from 'react-relay' | |
import environment from './createRelayEnvironment' | |
import style from './RegisterScreen.style' | |
/** | |
* In Relay Modern a name pattern are used in Mutations or Queries, as example below: | |
* `ComponentName__MutationName__Mutation(...` |
I hereby claim:
To claim this, I am signing this object:
// @flow | |
import Relay, { graphql } from 'react-relay' | |
import { mutationCreateUpdater} from './mutationUpdater' | |
const mutation = graphql` | |
mutation createStoryMutation($input: CreateStoryInput!) { | |
createStory(input: $input) { | |
story { | |
id |
Verifying my Blockstack ID is secured with the address 1H3eP5Fzghoxrw3P1B9NFpZ8ETgKriW8Vk https://explorer.blockstack.org/address/1H3eP5Fzghoxrw3P1B9NFpZ8ETgKriW8Vk |
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
const { LOGGLY_TOKEN } = require('../config'); | |
/** | |
* [Winston](https://github.com/winstonjs/winston) | |
* A multi-tranport async logging library | |
* | |
* Use winston to implement our logger, but the rest of the app uses | |
* the generic logger interface that we export. This decouples logging | |
* logic in our code from implementation with Winston. |
/** | |
* Created by Awesometic | |
* references: https://github.com/rzcoder/node-rsa | |
* RSA encryption example for Node.js with node-rsa. It's encrpyt returns Base64 encoded cipher, also decrypt for Base64 encoded cipher. RSA public key be returned in PKCS8 format. | |
* License for node-rsa | |
Copyright (c) 2014 rzcoder<br/> | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |