Skip to content

Instantly share code, notes, and snippets.

Delivering Giblets

Andrew Howden andrewhowdencom

Delivering Giblets
Block or report user

Report or block andrewhowdencom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .bashrc
# Use VIM, the one true editor.
export VISUAL=vim
View require.html
<!-- This does nothing -->
<script data-main="path/main.js" />
<!-- Not so good, as it blocks DOM -->
<script type="text/javascript" src="require.js" />
<script type="text/javascript" src="path/main.js" />
<!-- Not so good, as main.js may include require(['foo', 'bar'], function(f, b) {}); which has no meaning outside require.js -->
View factory.js
* Copyright (c) 2015
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
andrewhowdencom / setcookie.php
Last active Aug 29, 2015
Nginx alpha batch cookie bug
View setcookie.php
* This works fine without the http2 directive. However, if the http2 directive is enabled, all cookies after
* the first cookie are lost.
* Working | listen: 443 ssl;
* Broken | listen: 443 ssl http2;
// Set three cookies
View minimal monolog attachment.
* Howdenio Monolog extension
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
You can’t perform that action at this time.