Skip to content

Instantly share code, notes, and snippets.

View peikk0's full-sized avatar
💚
🚀

Pierre Guinoiseau peikk0

💚
🚀
View GitHub Profile
@ck-on
ck-on / ocp.php
Last active March 25, 2024 09:30
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok)
Version: 0.1.7
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.1.7 2015-09-01 regex fix for PHP7 phpinfo
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter
@peikk0
peikk0 / chromium-fix-urlbar.patch
Created July 16, 2012 19:52
chromium-fix-urlbar.patch
This patch restores compliance with IETF RFC 3986 in Chromium:
* fixes the bug introduced in 2010, removing http:// in the URL bar without any option to bring it back: http://code.google.com/p/chromium/issues/detail?id=41467
* reverts the removal of trailing slashes in the URL bar: http://code.google.com/p/chromium/issues/detail?id=43587
--- chrome/browser/autocomplete/autocomplete.cc 2012-07-10 09:48:52.000000000 +0200
+++ chrome/browser/autocomplete/autocomplete.cc 2012-07-16 20:57:19.078551682 +0200
@@ -585,7 +585,7 @@
return net::FormatUrl(
url,
languages,