ssh-keygen -t rsa -C "your email"
Log into the remote machine as root: ssh [email protected]
First, add the admin user.
ssh-keygen -t rsa -C "your email"
Log into the remote machine as root: ssh [email protected]
First, add the admin user.
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
<?php | |
namespace Roots\Sage\Nav; | |
use Roots\Sage\Utils; | |
/** | |
* Cleaner walker for wp_nav_menu() | |
* | |
* Walker_Nav_Menu (WordPress default) example output: |
afghanistan : Afghanistan | |
albania : Albania | |
algeria : Algeria | |
american_samoa : American Samoa | |
andorra : Andorra | |
angola : Angola | |
anguilla : Anguilla | |
antigua_and_barbuda : Antigua and Barbuda | |
argentina : Argentina | |
armenia : Armenia |
<?php | |
function get_youtube_video_ID($youtube_video_url) { | |
/** | |
* Pattern matches | |
* http://youtu.be/ID | |
* http://www.youtube.com/embed/ID | |
* http://www.youtube.com/watch?v=ID | |
* http://www.youtube.com/?v=ID | |
* http://www.youtube.com/v/ID | |
* http://www.youtube.com/e/ID |
First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Withing the terminal, Fire this command:
which php