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
| [{ | |
| "id": 1, | |
| "name": "Afghanistan", | |
| "isoAlpha2": "AF", | |
| "isoAlpha3": "AFG", | |
| "isoNumeric": 4, | |
| "currency": { | |
| "code": "AFN", | |
| "name": "Afghani", | |
| "symbol": "؋" |
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
| // algorithm referenced from http://www.gamasutra.com/view/feature/1648/random_scattering_creating_.php?print=1 | |
| // check out the video of it in action: https://youtu.be/iKjvFp5qa7A | |
| using UnityEngine; | |
| using System.Collections; | |
| public class GridSpawner : MonoBehaviour { | |
| public bool update; |
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
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |
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
| <?php | |
| /** | |
| * Plugin Name: WP REST API Subdomain | |
| * Plugin URI: https://wordpress.org/plugins/wp-rest-api-subdomain/ | |
| * Author: Mark McWilliams | |
| * Author URI: https://profiles.wordpress.org/markmcwilliams/ | |
| * License: GPLv2 or later | |
| * License URI: https://www.gnu.org/licenses/gpl-2.0.html | |
| * Description: Move your RESTful API to a subdomain in WordPress |
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
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| initialRoute: '/login', | |
| onGenerateRoute: generateRoute, | |
| title: 'Test App', | |
| ); | |
| } |