Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am vxnick on github.
  • I am vxnick (https://keybase.io/vxnick) on keybase.
  • I have a public key whose fingerprint is 1003 B717 393E 6163 FF08 01E7 F790 65FC D946 A9B5

To claim this, I am signing this object:

@vxnick
vxnick / gist:1722753
Created February 2, 2012 10:16
PHP Country Array
<?php
function country_array ($id = null)
{
$list = array
(
0 => "Afghanistan",
1 => "Albania",
2 => "Algeria",
3 => "American Samoa",
audio_folders=Music/
folder_depth=2
output_formats=audio/mpeg,audio/mp3,audio/x-aac,audio/flac
cover_art_file_name=AlbumArt.jpg
cover_art_file_type=jpeg
cover_art_size=320
@vxnick
vxnick / gist:380904
Created April 27, 2010 15:52
Array of country codes (ISO 3166-1 alpha-2) and corresponding names
<?php
$countries = array
(
'AF' => 'Afghanistan',
'AX' => 'Aland Islands',
'AL' => 'Albania',
'DZ' => 'Algeria',
'AS' => 'American Samoa',
'AD' => 'Andorra',