Skip to content

Instantly share code, notes, and snippets.

View tvdijen's full-sized avatar

Tim van Dijen tvdijen

View GitHub Profile
# Known incompatible clients. See https://www.chromium.org/updates/same-site/incompatible-clients
#
# All browsers on iOS 12
BrowserMatch "\(iP.+; CPU .*OS 12[_\d]*.*\) AppleWebKit\/" DO_NOT_EDIT_COOKIE=1
# Safari on MacOS 10.14
BrowserMatch "\(Macintosh;.*Mac OS X 10_14[_\d]*.*\) AppleWebKit\/.*Version\/.* Safari\/" DO_NOT_EDIT_COOKIE=1
# Embedded browsers on MacOS 10.14
BrowserMatch "^Mozilla\/[\.\d]+ \(Macintosh;.*Mac OS X 10_14[_\d]*.*\) .*AppleWebKit\/[\.\d]+ \(KHTML, like Gecko\)$" DO_NOT_EDIT_COOKIE=1
@iamacarpet
iamacarpet / SoapClientGuzzle.php
Created July 4, 2017 14:10
SoapClientGuzzle extends \SoapClient
<?php
namespace App;
use GuzzleHttp\Psr7;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\RequestException;
class SoapClientGuzzle extends \SoapClient
@toddsundsted
toddsundsted / composed.moo
Created December 3, 2011 11:44
LambdaCore Compatible Dump of Composed
; create($nothing)
@prop #102."packages" 0 ""
@prop #102."provides_cache" 0 ""
@prop #102."requires_cache" 0 ""
@prop #102."last_fetch_index" 0 ""
@prop #102."archived" 0 ""
@prop #102."cached" 0 ""
@prop #102."archive_host" "207.210.101.162" ""
@prop #102."archive_port" 80 ""
@toddsundsted
toddsundsted / shapes.moo
Created December 3, 2011 11:22
LambdaCore Compatible Dump of Shapes
; create($nothing)
@verb #101:"_log" this none this xd
@program #101:_log
notify(player, tostr(@args));
.
@verb #101:"_suspend_if_necessary" this none this xd
@program #101:_suspend_if_necessary
ticks_left() < 10000 || seconds_left() < 2 && suspend(0);