- Clean pkg cache
- Remove unused packages (orphans)
- Clean cache in /home
- remove old config files
- Find and Remove
- duplicates
- empty files
- empty directories
- broken symlinks
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 | |
//The content which should be parsed | |
$content = '<p>Hello, my name is John an my age is [calc-age day="4" month="10" year="1991"].</p>'; | |
$content .= '<p>Hello, my name is Carol an my age is [calc-age day="26" month="11" year="1996"].</p>'; | |
//The array with all the shortcode handlers. This is just a regular associative array with anonymous functions as values. A very cool new feature in PHP, just like callbacks in JavaScript or delegates in C#. | |
$shortcodes = array( | |
"calc-age" => function($data){ | |
$content = ""; | |
//Calculate the age |
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
<script> | |
// Create Tracker - Send to GA | |
ga('create', 'UA-11111111-11'); | |
ga('send', { | |
hitType: 'event', | |
eventCategory: '404 Response', | |
eventAction: window.location.href, | |
eventLabel: document.referrer | |
}); | |
</script> |