Skip to content

Instantly share code, notes, and snippets.

{
"data": {
"posts": {
"nodes": [
{
"slug": "the-last-5-years-in-feedback-driven-features",
"title": "The last 5 years in feedback-driven features",
"categories": {
"nodes": [],
"edges": []
add_action( 'save_post', 'save_default_post_hook', 10, 3);
function save_default_post_hook( $ID, $post, $update) {
// don't process our custom post types
if($post->post_type == "featurehighlight") {
return;
}
if ( 'auto-draft' === $post->post_status ) return;
if ( 'draft' === $post->post_status ) return;
{
"data": {
"posts": {
"edges": [
{
"node": {
"id": "cG9zdDozMDQzMA==",
"author": null,
"title": "The last 5 years in feedback-driven features"
}
namespace SkypeChatBot.Dialogs
{
using System;
using System.Threading.Tasks;
using System.Text;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
#pragma warning disable 1998
namespace SkypeChatBot.Dialogs
{
using Microsoft.Bot.Builder.Dialogs;
using System;
using System.Threading.Tasks;
using Microsoft.Bot.Connector;
[Serializable]
public class WelcomeDialog : IDialog<string>
{
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { UniversalModule } from 'angular2-universal';
import { FormsModule } from '@angular/forms';
import { HttpModule, Http, BaseRequestOptions, Response, ResponseOptions, RequestMethod, XHRBackend, RequestOptions } from '@angular/http';
import { MockBackend, MockConnection } from '@angular/http/testing';
import { Store, StoreModule, combineReducers } from '@ngrx/store';
import { RouterStoreModule } from '@ngrx/router-store';
import { EffectsModule } from '@ngrx/effects';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
exp://z2-z8j.jrmcdona.safetypin.exp.direct:80
Jordans-Mac-mini:Safetypin jordanmc$ exp logs
[exp] Making sure project is setup correctly...
[exp] Your project looks good!
[exp] Use Ctrl-C to stop streaming logs
exp-serve/Safetypin:744294bc-0 (out): [exp] <END> Building Haste Map (104ms)
exp-serve/Safetypin:744294bc-0 (out):
exp-serve/Safetypin:744294bc-0 (out): [exp] <END> Initializing Packager (273ms)
exp-serve/Safetypin:744294bc-0 (out):
[ignore]
; We fork some components by platform
.*/*[.]android.js
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
var cardDetails = {
"card[number]": '4242424242424242',
"card[exp_month]": '09',
"card[exp_year]": '2019',
"card[cvc]": '303'
};
var formBody = [];
for (var property in cardDetails) {
var encodedKey = encodeURIComponent(property);
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component, AsyncStorage } from 'react';
import {
Platform,
View,