This file contains 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 | |
/* | |
Using WordPress as a REST API endpoint (vs AJAX Admin) | |
-- with caching using the Transient API -- | |
forked from: Pete Nelson @GunGeekATX | |
1) Create a page called API in WordPres | |
2) Create a file called page-api.php in your theme directory | |
3) Build custom endpoints |
This file contains 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
/************************************************************************** | |
Perlin Noise | |
from https://gist.github.com/banksean/304522, in angular wrapper | |
**************************************************************************/ | |
(function(window, angular, undefined){ 'use strict'; |
This file contains 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
#!/usr/bin/env python | |
# Git clone all my gists | |
import json | |
import urllib | |
from urllib import urlopen | |
from subprocess import call | |
import os |