Skip to content

Instantly share code, notes, and snippets.

View jaroshevskii's full-sized avatar
🏳️‍🌈
We are going to rape each other the next night

Sasha Jaroshevskii jaroshevskii

🏳️‍🌈
We are going to rape each other the next night
View GitHub Profile
@petarov
petarov / Multiple PHP versions on Archlinux.md
Created March 22, 2015 13:44
Multiple PHP versions on Archlinux

This describes the steps required to configure multiple PHP versions on your development system, if you have issue using the AUR package. Normally one may install the AUR package on a custom path, .e.g, /usr/local/php, but if you are like me having some issues with that you might want to try a custom compile.

Pay attention to step 6) as this is where any required extensions are enabled. For this setup we generally need pdo and mysql extensions.


  1. Download PHP version 5.3.13 (or any version that you are interested in) from http://php.net/releases/

  2. Download the php53 AUR package from https://aur.archlinux.org/packages/php53/

@kythin
kythin / daylist
Created February 25, 2012 10:15
HTML Select lists of Years, Months, Days
<select name="dob-day" class="datefield day">
<option value="">Day</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>