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
.ejs | |
Align | |
C# | |
cdnjs | |
Docker Support | |
EditorConfig for VS Code | |
Git History (git log) | |
Go | |
Open in GitHub / Bitbucket / VisualStudio.com | |
PHP Intellisense - Crane |
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
var MainScript = { | |
init: function() { | |
/** | |
* Init all Objects | |
*/ | |
for (var n in this) { | |
if ( typeof(this[n].init) === 'function' ){ | |
this[n].init(); | |
} | |
} |
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 | |
function register_person_type() { | |
$labels = array( | |
'name' => 'Personer', | |
'singular_name' => 'Person', | |
'add_new' => 'Lägg till Person', | |
'add_new_item' => 'Lägg till Person', | |
'edit_item' => 'Redigera Person', | |
'new_item' => 'Ny Person', | |
'all_items' => 'Alla Personer', |
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 | |
class HelpFunctions | |
{ | |
/** | |
* Get the relative time between now and a given timestamp | |
* @param string $timestamp | |
* @return string | |
*/ | |
static function relativeTime($timestamp) | |
{ |