Github will be the main account and bitbucket the secondary.
ssh-keygen -t rsa -C "github email"
Enter passphrase when prompted. If you see an option to save the passphrase in your keychain, do it for an easier life.
<?php | |
/** | |
* Add Blog to Breadcrumbs, remove category and add pagination in breadcrumb. | |
* @author Bill Erickson, Masood U | |
* @link http://www.billerickson.net/adding-blog-to-genesis-breadcrumbs/ | |
* @reference http://genesis.wp-a2z.org/page/2/?s=breadcrumb | |
* | |
* @param string original breadcrumb | |
* @return string modified breadcrumb |
#Insall Ajenti | |
apt-get update | |
wget http://repo.ajenti.org/debian/key -O- | apt-key add - | |
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list | |
apt-get update | |
apt-get install ajenti | |
service ajenti restart | |
# Uninstall Apache2 | |
sudo apt-get autoremove && sudo apt-get remove apache2* |
# How to reset the root password | |
/usr/libexec/webmin/changepass.pl /etc/webmin root PASSWORD | |
# https://www.virtualmin.com/ | |
# http://www.webmin.com/ |
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } | |
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ } | |
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } | |
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } | |
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } | |
@media (min-width:1281px) { /* hi-res laptops and desktops */ } |
# Make directory | |
$ mkdir vagrant_test | |
# Init Vagrant | |
$ vagrant init | |
# Add boxes to Vagrant | |
$ vagrant box add ubuntu/trusty64 ##https://atlas.hashicorp.com/boxes/search | |
# Open Vagrant File in editor and add/update |
<?php | |
/** | |
* The template for displaying featured posts on the front page | |
* | |
* @package WordPress | |
* @subpackage Twenty_Fourteen | |
* @since Twenty Fourteen 1.0 | |
*/ | |
?> |
<?php | |
/** | |
* == About this Gist == | |
* | |
* Code to add to wp-config.php to enhance information available for debugging. | |
* | |
* You would typically add this code below the database, language and salt settings | |
* | |
* Oh.. and *do* make sure you change the path to the log file to a proper file path on your server (make sure it exists). | |
* |
<script> | |
/** | |
* Add Class to header area to make it sticky. | |
* Placed into header or footer area. | |
*/ | |
function init() { | |
window.addEventListener('scroll', function(e){ | |
var distanceY = window.pageYOffset || document.documentElement.scrollTop, | |
shrinkOn = 300, | |
header = document.getElementById("headerID"); //Header ID |