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
/** | |
* Generate posts with meta values. | |
* | |
* @param Array $args Arguments in array format. | |
* @param Array $assoc_args Key value arguments stored in associated array format. | |
* @since 1.0.0 | |
* @author Scott Anderson | |
*/ | |
public function generate_posts( $args, $assoc_args ) { |
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
import React from 'react'; | |
import {StyleSheet, ScrollView, View, Text, Image, Button} from 'react-native'; | |
import axios from 'axios'; | |
import {Colors} from 'react-native/Libraries/NewAppScreen'; | |
import {WebView} from 'react-native-webview'; | |
export default class App extends React.Component { | |
constructor(props) { |
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
/** | |
* Returns all arguments passed into command to demonstrate how to access them. | |
* | |
* @param Array $args Arguments in array format. | |
* @param Array $assoc_args Key value arguments stored in associated array format. | |
* @since 1.0.0 | |
* @author Scott Anderson | |
*/ | |
public function display_arguments( $args, $assoc_args ) { |
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 | |
/* | |
Plugin Name: WDS Hello World | |
Plugin URI: https://webdevstudios.com/ | |
Description: Teaching the basics of WP-CLI | |
Author: Web Dev Studios | |
Version: 1.0.0 | |
Author URI: https://webdevstudios.com/ | |
*/ |
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
embed test |
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
/** | |
* Upload photo to site. | |
* | |
* @author Scott Anderson <scott.anderson@webdevstudios.com> | |
* @since NEXT | |
* @param Request $request Request form date to format for api. | |
* @return int Id of image uploaded. | |
*/ | |
public function upload_photo( Request $request ) : int { | |
$this->new_construct(); |
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 | |
class Books { | |
/** | |
* Permalink slug for this post type | |
* | |
* @var string $slug Permalink prefix | |
* @since NEXT | |
*/ |
We can't make this file beautiful and searchable because it's too large.
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
-149.8935557,61.21759217,Starbucks - AK - Anchorage 00001,"601 West Street_601 West 5th Avenue_Anchorage, Alaska 99501_907-277-2477" | |
-149.9054948,61.19533942,Starbucks - AK - Anchorage 00002,"Carrs-Anchorage #1805_1650 W Northern Lights Blvd_Anchorage, Alaska 99503_907-339-0500" | |
-149.7522,61.2297,Starbucks - AK - Anchorage 00003,"Elmendorf AFB_Bldg 5800 Westover Avenue_Anchorage, Alaska 99506" | |
-149.8643361,61.19525062,Starbucks - AK - Anchorage 00004,"Fred Meyer - Anchorage #11_1000 E Northern Lights Blvd_Anchorage, Alaska 995084283_907-264-9600" | |
-149.8379726,61.13751355,Starbucks - AK - Anchorage 00005,"Fred Meyer - Anchorage #656_2300 Abbott Road_Anchorage, Alaska 99507_907-365-2000" | |
-149.9092788,61.13994658,Starbucks - AK - Anchorage 00006,"Fred Meyer - Anchorage (Dimond) #71_2000 W Dimond Blvd_Anchorage, Alaska 995151400_907-267-6700" | |
-149.7364877,61.19533265,Starbucks - AK - Anchorage 00007,"Safeway-Anchorage #1817_7731 E Northern Lights Blvd_Anchorage, Alaska 99504_907-331-1700" | |
-149.8211,61.2156 |
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
expo run:ios | |
┌─────────────────────────────────────────────────────────────────────────┐ | |
│ │ | |
│ There is a new version of expo-cli available (6.3.2). │ | |
│ You are currently using expo-cli 6.0.5 │ | |
│ Install expo-cli globally using the package manager of your choice; │ | |
│ for example: `npm install -g expo-cli` to get the latest version │ | |
│ │ | |
└─────────────────────────────────────────────────────────────────────────┘ |
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
Creating Gymfile | |
Gymfile created | |
Successfully loaded '/Users/expo/workingdir/build/ios/Gymfile' 📄 | |
+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | |
| Detected Values from './Gymfile' | | |
+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | |
| suppress_xcode_output | true | | |
| clean | false | | |
| scheme | appname |