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
| { | |
| "data": { | |
| "posts": { | |
| "nodes": [ | |
| { | |
| "slug": "the-last-5-years-in-feedback-driven-features", | |
| "title": "The last 5 years in feedback-driven features", | |
| "categories": { | |
| "nodes": [], | |
| "edges": [] |
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
| 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; |
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
| { | |
| "data": { | |
| "posts": { | |
| "edges": [ | |
| { | |
| "node": { | |
| "id": "cG9zdDozMDQzMA==", | |
| "author": null, | |
| "title": "The last 5 years in feedback-driven features" | |
| } |
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
| 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 |
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
| namespace SkypeChatBot.Dialogs | |
| { | |
| using Microsoft.Bot.Builder.Dialogs; | |
| using System; | |
| using System.Threading.Tasks; | |
| using Microsoft.Bot.Connector; | |
| [Serializable] | |
| public class WelcomeDialog : IDialog<string> | |
| { |
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 { 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'; |
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
| 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): |
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
| [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/.* |
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 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); |
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
| /** | |
| * Sample React Native App | |
| * https://github.com/facebook/react-native | |
| * @flow | |
| */ | |
| import React, { Component, AsyncStorage } from 'react'; | |
| import { | |
| Platform, | |
| View, |
NewerOlder