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
var exec = require('child_process').exec; | |
const util = require('util'); | |
var args = | |
"-s --user 'APIKEY' -G \ | |
https://api.mailgun.net/v3/DOMAIN/events \ | |
--data-urlencode begin='DATE' \ | |
--data-urlencode ascending=yes \ | |
--data-urlencode limit=300 \ | |
--data-urlencode pretty=yes \ |
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 { SET_PASSWORD_VALIDATION, CLEAR_PASSWORD_VALIDATION } from '../actions/ui/password' | |
const passwordReducer = (state = {}, actions) => { | |
switch (actions.type) { | |
case CLEAR_PASSWORD_VALIDATION: | |
return {} | |
case SET_PASSWORD_VALIDATION: | |
const {value, user} = actions.payload | |
const notEmpty = value !== '' && value !== undefined |
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
pragma solidity ^0.5.0; | |
contract RockerCoin { | |
string public name; | |
string public symbol; | |
uint8 public decimals; | |
uint256 public totalSupply; | |
mapping(address => uint256) public balanceOf; | |
mapping(address => mapping(address => uint256)) public allowance; |
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
'use strict'; | |
/* global __base */ | |
let winston = require('winston'), | |
path = require('path'), | |
utils = require(__base + 'app/helpers/utils'), | |
util = require('util'); | |
//winston logging for papertrail | |
require('winston-papertrail').Papertrail; |
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 React, { Component } from 'react'; | |
import { Grid, Col, Row } from 'react-native-easy-grid'; | |
import * as renders from './renderedComponents'; | |
import { Field, reduxForm } from 'redux-form'; | |
import normalizePhone from './normalizePhone'; | |
import { createRouter, withNavigation } from '@exponent/ex-navigation'; | |
import { | |
Container, | |
Header, | |
Title, |
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
<?php | |
class PostController | |
{ | |
public function index() | |
{ | |
return Post::all(); | |
} | |
} |
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
<?php | |
class PostController | |
{ | |
public function __construct(PostRepository $postRepository) | |
{ | |
$this->postRepository = $postRepository; | |
} | |
public function index() |