Skip to content

Instantly share code, notes, and snippets.

View davidroyer's full-sized avatar

David Royer davidroyer

View GitHub Profile
@davidroyer
davidroyer / Navigation Cover Nav Drawer.markdown
Created August 8, 2015 22:15
Navigation Cover Nav Drawer
@davidroyer
davidroyer / Mobile Navigation Tutorial.markdown
Created August 15, 2015 15:35
Mobile Navigation Tutorial
@davidroyer
davidroyer / 0_reuse_code.js
Created October 19, 2015 21:00
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@davidroyer
davidroyer / shortcodes.php
Created February 3, 2016 20:37 — forked from gyrus/shortcodes.php
TinyMCE button for WordPress shortcode
<?php
/**
* Skeletal sample shortcode
*/
add_shortcode( 'pilau-sample', 'pilau_sample_shortcode' );
function pilau_sample_shortcode( $atts ) {
extract( shortcode_atts( array(
'text' => ''
), $atts ) );
@davidroyer
davidroyer / Gulpfile.js
Created March 3, 2016 19:21 — forked from DESIGNfromWITHIN/Gulpfile.js
Gulpfile.js example Uses browser-sync, node-neat, gulp and gulp-sass
/*
Gulpfile.js file for the tutorial:
Using Gulp, SASS and Browser-Sync for your front end web development - DESIGNfromWITHIN
http://designfromwithin.com/blog/gulp-sass-browser-sync-front-end-dev
Steps:
1. Install gulp globally:
npm install --global gulp
@davidroyer
davidroyer / Recommanded_mac_apps.md
Created March 8, 2016 18:57 — forked from TreyCai/Recommanded_mac_apps.md
Recommanded Mac OS X Apps
TODO: Add price informations
TODO: Add App Store Addresses

System Tools


###Chrome

One browser for your computer, phone and tablet

@davidroyer
davidroyer / restapi.txt
Created May 13, 2016 22:12 — forked from chrismccoy/restapi.txt
WordPress REST API Resources
WP REST API: Internals and Customization
http://code.tutsplus.com/tutorials/wp-rest-api-internals-and-customization--cms-24945
Submit WordPress Posts from the Front-End with the WP-API
https://apppresser.com/wp-api-post-submission/
Demo plugin using wp.Backbone.View and the WP JSON REST API v2
https://github.com/brianhogg/wp-backbone-view-rest-api-demo
A Swift iOS application that demonstrates using WordPress API
@davidroyer
davidroyer / App.vue
Last active August 23, 2016 00:46
Example of using Vue.js with a simple store and vue-resource
<template>
<div id="app">
<h1>App Vue File</h1>
<button type="button" name="button"
v-on:click="changeState">
Change State</button>
<ul class="post__list">
<post v-for="post in sharedState.posts"
:post="post">
@davidroyer
davidroyer / 0_vue-cms
Last active March 23, 2017 12:41
Blog
# The file to target to know what gist you are retrieving
@davidroyer
davidroyer / graphQL
Created March 15, 2018 11:15
For API Explorer
query {
allPosts {
title
}
}