Skip to content

Instantly share code, notes, and snippets.

View pocky's full-sized avatar
🐿️
code code code

Alexandre Balmes pocky

🐿️
code code code
View GitHub Profile
@pocky
pocky / keybase.md
Created February 14, 2015 13:58
keybase.md

Keybase proof

I hereby claim:

  • I am pocky on github.
  • I am pocky (https://keybase.io/pocky) on keybase.
  • I have a public key whose fingerprint is 00C9 A1DE E030 9838 7341 0901 3F70 833B 886B A122

To claim this, I am signing this object:

@pocky
pocky / php.ini
Created June 4, 2014 00:27
ubuntu
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@pocky
pocky / argument.php
Created February 14, 2014 10:32
Pseudo-Named Argument in PHP (this is a bad idea because you loose type hinting)
<?php
class Foo {
public static function getBar($args)
{
$args += [
'foo' => null,
'bar' => false,
'baz' => null