Install Macports
To be able to install MacPorts , you must have Xcode first installed using the App Store , and you must also install the Xcode command line developer tools :
$ sudo xcode-select --install # To install Xcode… Read More
To be able to install MacPorts , you must have Xcode first installed using the App Store , and you must also install the Xcode command line developer tools :
$ sudo xcode-select --install # To install Xcode… Read More
To fix the content now being shown when using the wordpress plugin : Prettify GC Syntax Highlighter , edit prettify-gc-syntax-highlighter.php and replace :
return preg_replace(
"/<pre\\s*class\\s*=\\s*([\"'])\\s*prettyprint\\s*([^]*?)\\s*(.*?)<\/pre/ise",
"'<pre class='.stripslashes('$1').'prettyprint '.stripslashes('$2').''.htmlentities(stripslashes('$3')).'</pre'",
$text);
with
return preg_replace_callback(
"/<pre\\s*class\\s*=\\s*([\"'])\\s*prettyprint\\s*([^]*?)\\s*… Read More