View starbucks_us_locations.csv
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 |
View register-sermons.php
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 | |
*/ |
View file-upload.php
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(); |
View embed
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 |
View app.js
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) { |
View wds-hello-world.php
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/ | |
*/ | |
class WDS_CLI { |
View gist:fc9b863cce38c8d40fc863b50967fc8b
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 ) { |
View gist:76ee6e7dbf1bec56c1833bdf0d218591
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
/** | |
* Displays progress bar to demonstrate progression through a time consuming process. | |
* | |
* @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_progress_bar( $args, $assoc_args ) { |
View wds-hello-world.php
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 multiple messages to demonstrate different command return types. | |
* | |
* @since 1.0.0 | |
* @author Scott Anderson | |
*/ | |
public function display_messages( $args, $assoc_args ) { | |
// No prepends. | |
WP_CLI::line( 'Standard line return.' ); // No prefix on line return. |
View wds-hello-world.php
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 ) { |
NewerOlder