-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hellofromtonya
committed
Nov 18, 2016
0 parents
commit 41786a3
Showing
9 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Unit tests config | ||
phpunit.xml | ||
.travis.yml | ||
/bin | ||
tests/mocks/env/ | ||
|
||
|
||
# Sass cache | ||
.sass-cache/ | ||
|
||
# Development files | ||
/node_modules | ||
/assets/vendor/ | ||
|
||
.idea/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 1.0.0 | ||
|
||
Initial release. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
GNU General Public License 2.0+ | ||
|
||
This program is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License | ||
as published by the Free Software Foundation; either version 2 | ||
of the License, or (at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Sandbox Workspace | ||
|
||
This repository is a WordPress plugin that gives you a sandbox workspace to write code, test, and learn. It's where you _play_. I use it on [KnowTheCode.io](https://knowthecode.io) in the hands-on labs. | ||
|
||
You can use however you'd like. | ||
|
||
## Installation | ||
|
||
1. Download it. | ||
2. Put into your `wp-content/plugins/` folder | ||
3. Extract it | ||
4. Go into the new folder | ||
5. Then go to plugins and activate it. | ||
|
||
|
||
Installation from GitHub is as simple as cloning the repo onto your local machine. To clone the repo, do the following: | ||
|
||
1. Using PhpStorm, open your project and navigate to `wp-content/plugins/`. (Or open terminal and navigate there). | ||
2. Then type: `git clone https://github.com/KnowTheCode/Sandbox-Workspace`. | ||
3. Go into the new folder | ||
4. Then go to plugins and activate it. | ||
|
||
## Contributions | ||
|
||
All feedback, bug reports, and pull requests are welcome. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?php | ||
// silence is golden |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?php | ||
// silence is golden |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
/** | ||
* Starter WordPress Plugin | ||
* | ||
* @package KnowTheCode\SandboxWorkspace | ||
* @author hellofromTonya | ||
* @license GPL-2.0+ | ||
* | ||
* @wordpress-plugin | ||
* Plugin Name: Sandbox Workspace WordPress Plugin | ||
* Plugin URI: https://knowthecode.io/ | ||
* Description: This plugin gives you a workspace to write code, test it, and learn. This is your playground. | ||
* Version: 1.0.0 | ||
* Author: hellofromTonya | ||
* Author URI: https://knowthecode.io | ||
* Text Domain: sandbox | ||
* License: GPL-2.0+ | ||
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | ||
*/ | ||
|
||
namespace KnowTheCode\SandboxWorkspace; | ||
|
||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit( 'Cheatin’ uh?' ); | ||
} | ||
|
||
define( 'SANDBOX_WORKSPACE_URL', plugin_dir_url( __FILE__ ) ); | ||
|
||
require_once( __DIR__. '/src/support/load-assets.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?php | ||
// silence is golden |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/** | ||
* Load the assets | ||
* | ||
* @package KnowTheCode\SandboxWorkspace\Support | ||
* @since 1.0.0 | ||
* @author hellofromTonya | ||
* @link https://UpTechLabs.io | ||
* @license GNU General Public License 2.0+ | ||
*/ | ||
namespace KnowTheCode\SandboxWorkspace\Support; | ||
|
||
add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\load_assets' ); | ||
/** | ||
* Load assets. | ||
* | ||
* @since 1.0.0 | ||
* | ||
* @return void | ||
*/ | ||
function load_assets() { | ||
|
||
} |