Created
June 1, 2016 21:22
-
-
Save begriffs/d49be045e006eea4812f6fdccf4eeb6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <label for="ospicker">Choose OS</label> | |
| <select id="ospicker"> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/fedora/fedora-23-x86_64/pgdg-fedora95-9.5-3.noarch.rpm">Fedora 23 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/fedora/fedora-22-x86_64/pgdg-fedora95-9.5-3.noarch.rpm">Fedora 22 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-redhat95-9.5-2.noarch.rpm">Red Hat Enterprise Linux 7 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-sl95-9.5-2.noarch.rpm">Scientific Linux 7 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm">CentOS 7 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-oraclelinux95-9.5-2.noarch.rpm">Oracle Enterprise Linux 7 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-redhat95-9.5-2.noarch.rpm">Red Hat Enterprise Linux 6 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-i386/pgdg-redhat95-9.5-2.noarch.rpm">Red Hat Enterprise Linux 6 - i386</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-centos95-9.5-2.noarch.rpm">CentOS 6 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-i386/pgdg-centos95-9.5-2.noarch.rpm">CentOS 6 - i386</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-sl95-9.5-2.noarch.rpm">Scientific Linux 6 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-i386/pgdg-sl95-9.5-2.noarch.rpm">Scientific Linux 6 - i386</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-oraclelinux95-9.5-2.noarch.rpm">Oracle Enterprise Linux 6 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-i386/pgdg-oraclelinux95-9.5-2.noarch.rpm">Oracle Enterprise Linux 6 - i386</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-ami201503-95-9.5-2.noarch.rpm">Amazon Linux AMI 2015.03 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-i386/pgdg-ami201503-95-9.5-2.noarch.rpm">Amazon Linux AMI 2015.03 - i386</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-x86_64/pgdg-redhat95-9.5-2.noarch.rpm">Red Hat Enterprise Linux 5 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-i386/pgdg-redhat95-9.5-2.noarch.rpm">Red Hat Enterprise Linux 5 - i386</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-x86_64/pgdg-sl95-9.5-2.noarch.rpm">Scientific Linux 5 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-i386/pgdg-sl95-9.5-2.noarch.rpm">Scientific Linux 5 - i386</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-x86_64/pgdg-centos95-9.5-2.noarch.rpm">CentOS 5 - x86_64</option> | |
| <option value="https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-i386/pgdg-centos95-9.5-2.noarch.rpm">CentOS 5 - i386</option> | |
| </select> | |
| <script> | |
| document.addEventListener("DOMContentLoaded", function(event) { | |
| $("#ospicker").change(function () { | |
| var url = $(this).val(); | |
| $("pre:contains('repository-url')").each(function() { | |
| var text = $(this).text(); | |
| $(this).text(text.replace('repository-url', url)); | |
| }); | |
| }); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment