Skip to content

Instantly share code, notes, and snippets.

View naderman's full-sized avatar
🤨

Nils Adermann naderman

🤨
View GitHub Profile
@naderman
naderman / output
Last active August 29, 2015 13:58
Error suppression exits process in hhvm
$ hhvm test.php
$ php test.php
foo
$ /usr/local/bin/hhvm /home/naderman/projects/composer/composer/bin/composer --verbose update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing pocket-rent/ext-pgsql (dev-composer 8cc7e82)
Cloning 8cc7e82f4a45a9cead94aadcd935e039b3178703
** hphpize complete, now run `cmake . && make` to build
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- The ASM compiler identification is GNU
@naderman
naderman / language_changes_3.1.0_to_3.1.1.diff
Created November 1, 2014 22:19
language_changes_3.1.0_to_3.1.1.diff
diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php
index a2b27f0..107de9c 100644
--- a/phpBB/language/en/install.php
+++ b/phpBB/language/en/install.php
@@ -547,7 +547,7 @@ $lang = array_merge($lang, array(
<ul style="margin-left: 20px; font-size: 1.1em;">
<li>Go to the <a href="https://www.phpbb.com/downloads/" title="https://www.phpbb.com/downloads/">phpBB.com downloads page</a> and download the "Automatic Update Packag
<li>Unpack the archive.<br /><br /></li>
- <li>Upload the complete uncompressed install folder to your phpBB root directory (where your config.php file is).<br /><br /></li>
+ <li>Upload the complete uncompressed "install" and "vendor" folders to your phpBB root directory (where your config.php file is).<br /><br /></li>
@naderman
naderman / proxy-test.php
Last active December 5, 2022 23:52
Composer HTTP Proxy Test
<?php
error_reporting(E_ERROR);
@ini_set('display_errors', 'Off');
echo "Unencrypted HTTP ";
check('http://packagist.org/packages.json', false);
@naderman
naderman / composer.json
Created April 14, 2019 23:51
Reproduce case "something changed" loop
{
"name": "smichaelsen/composer-test",
"require": {
"behat/behat": "~2.5",
"friendsofphp/php-cs-fixer": "^2.12"
},
"repositories": {
"behat/behat": {
"type": "package",
"package": [

Keybase proof

I hereby claim:

  • I am naderman on github.
  • I am naderman (https://keybase.io/naderman) on keybase.
  • I have a public key ASBnce6Txg0ZpZ7IUIs3So0rAMeEmKz2IcU3mcKsJRIlfAo

To claim this, I am signing this object: