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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\ssh] | |
@="URL:SSH Protocol" | |
"EditFlags"=dword:00000002 | |
"FriendlyTypeName"="@ieframe.dll,-907" | |
"URL Protocol"="" | |
"BrowserFlags"=dword:00000008 | |
[HKEY_CLASSES_ROOT\ssh\DefaultIcon] |
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 | |
if ($argc !== 2) { | |
die('File to highlight was expected as first argument.'); | |
} | |
$replace = [ | |
// base styles | |
'EMER' => ["\e[45;30m", " \e[0m "], | |
'ALRT' => ["\e[43;30m", " \e[0m "], |
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
(function () { | |
var options = { | |
textScrollInterval: 400, | |
textPrefix: "\u25B6 ", | |
textReplace: /\u25B6\s?/g, | |
textSpace: "\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0" | |
}; | |
var isTitleChanging = false, | |
sourceTitle = document.title.replace(options.textReplace, ""), |
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 | |
try { | |
$srcPluginPattern = 'C:\Users\Christian\Documents\GitHub\WP-*'; | |
$dstWpSitePattern = 'C:/wamp/www/wordpress-*/wp-content/plugins/'; | |
if(!isset($argv))throw new Exception('Program must be run through CLI'); | |
function deleteDir($path) { |
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 on_shutdown(){ | |
global $php_errormsg; | |
echo "<!--\n"; | |
echo "\n\tHeaders Sent:"; | |
$file = $line = null; | |
headers_sent($file, $line); | |
echo "\n\t\t$file: $line"; | |
echo "\n\tLast Error:"; |