To remove just git package itself from Ubuntu 14.04 execute on terminal:
$ sudo apt-get remove git
To remove the git package and any other dependant package which are no longer needed from Ubuntu Trusty.
$ sudo apt-get remove --auto-remove git
/** | |
* Is SubPage? | |
* | |
* Checks if the current page is a sub-page and returns true or false. | |
* | |
* @param $page mixed optional ( post_name or ID ) to check against. | |
* @param $single boolean optional - default true to check against all parents, false to check against immediate parent. | |
* @return boolean | |
*/ |
// uncomment if you are transpiling with Babel + Webpack | |
// const { window, document } = global; | |
/** | |
* Lightweight script to detect whether the browser is running in Private mode. | |
* @returns {Promise} | |
* | |
* Live demo: | |
* @see http://live.datatables.net/piduzelo/1 | |
* |
<script> | |
// 2. This code loads the IFrame Player API code asynchronously. | |
var tag = document.createElement('script'); | |
tag.src = "https://www.youtube.com/iframe_api"; | |
var firstScriptTag = document.getElementsByTagName('script')[0]; | |
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | |
// 3. This function creates an <iframe> (and YouTube player) | |
// after the API code downloads. |
npm install node-sass --unsafe-perms |
// define action with param for result transport | |
function some_action($someParam, $transport) { | |
// do stuff | |
if($someParam > 10) { | |
$transport->return = true; | |
} else { | |
$transport->return = 5; | |
} | |
} |
<div class="footer-social-icons"> | |
<h4 class="_14">Follow us on</h4> | |
<ul class="social-icons"> | |
<li><a href="" class="social-icon"> <i class="fa fa-facebook"></i></a></li> | |
<li><a href="" class="social-icon"> <i class="fa fa-twitter"></i></a></li> | |
<li><a href="" class="social-icon"> <i class="fa fa-rss"></i></a></li> | |
<li><a href="" class="social-icon"> <i class="fa fa-youtube"></i></a></li> | |
<li><a href="" class="social-icon"> <i class="fa fa-linkedin"></i></a></li> | |
<li><a href="" class="social-icon"> <i class="fa fa-google-plus"></i></a></li> | |
</ul> |
autocomplete="off"
onto <form>
element;<input>
with autocomplete="false"
as a first children element of the form.<form autocomplete="off" method="post" action="">
<input autocomplete="false" name="hidden" type="text" style="display:none;">
...
<?php | |
/** | |
* Numeric Pagination Class | |
* @author Alexandre Plennevaux https://pixeline.be | |
* | |
* This class returns a list of LI > A. It is up to you to set the wrapping NAV > UL around your function call. | |
* | |
* @usage (setting specific classes) | |
* | |
* // Sets the css classes you want to be used for the output |
<?php | |
/* | |
1.- Create an App. | |
2.- Go to: https://developers.facebook.com/tools/explorer/ | |
+ Select your new created app on the right top. | |
+ Select "Get App Token" |