Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@daFish
daFish / itunes.countries.js
Last active September 11, 2024 17:07
List of Apple iTunes Store Country codes in Javascript.
var countries = {
ae: 'United Arab Emirates',
ag: 'Antigua and Barbuda',
ai: 'Anguilla',
al: 'Albania',
am: 'Armenia',
ao: 'Angola',
ar: 'Argentina',
at: 'Austria',
au: 'Australia',
@daFish
daFish / ScriptHandler.php
Created November 13, 2012 13:00
Run 'bower install' with composer
namespace Fmdb\CoreBundle\Composer;
use Sensio\Bundle\DistributionBundle\Composer\ScriptHandler as BaseScriptHandler;
use Symfony\Component\ClassLoader\ClassCollectionLoader;
use Symfony\Component\Process\Process;
class ScriptHandler extends BaseScriptHandler
{
public static function installBowerAssets($event)
{
<?php
// snip
/**
* Find user by email
*
* @param string $email
*
* @return mixed
*/