Skip to content

Instantly share code, notes, and snippets.

View celianvdb's full-sized avatar

Célian Van Der Biest celianvdb

View GitHub Profile
@celianvdb
celianvdb / Enum.class.php
Last active August 17, 2016 23:02
Simple enum class in php
<?php
class Enum
{
private $enumsList = array();
private $reverseList = array();
public function __construct(array $enums)
{
#!/usr/bin/env bash
set -e
git clone https://github.com/matpow2/cuwo.git .
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
# create run_pyenv.sh
echo '#!/usr/bin/env bash' > run_pyenv.sh
echo 'export PYENV_ROOT=${HOME}/.pyenv' >> run_pyenv.sh