Skip to content

Instantly share code, notes, and snippets.

chrismccoy

Block or report user

Report or block chrismccoy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chrismccoy
chrismccoy / gutenberg.txt
Last active Sep 14, 2019
Gutenberg Resources
View gutenberg.txt
Extending Gutenberg With SlotFill and Filters
https://10up.com/blog/2019/extending-gutenberg-with-slotfill/
Add a custom sidebar panel to Gutenberg
https://richardtape.com/2018/10/05/add-a-custom-sidebar-panel-to-gutenberg/
How to create a custom block for gutenberg
https://organicthemes.com/create-custom-block-wordpress-gutenberg/
Writing a wrapper block for Gutenberg in WordPress
@chrismccoy
chrismccoy / restapi.txt
Last active Oct 29, 2019
WordPress REST API Resources
View restapi.txt
Allow ALL cross origin requests to WordPress REST API
https://github.com/Shelob9/rest-all-cors
WordPress theme using Rest API and Vue.js
https://github.com/rtCamp/VueTheme
WordPress Post from Front End using REST API and Vue.js
http://jimfrenette.com/2017/01/post-from-front-end-wp-api-vuejs/
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
View gitcheats.txt
# shortform git commands
alias g='git'
# print your list of commits this month for a repo
git log --since='last month' --author="$(git config user.name)" --oneline
# print the url for the current repo
git remote -v | sed -n '/github.com.*push/{s/^[^[:space:]]\+[[:space:]]\+//;s|git@github.com:|https://github.com/|;s/\.git.*//;p}'
# pull in remote changes for the current repository and all its submodules
You can’t perform that action at this time.