├── .gitignore ├── README.md ├── screenshot.png ├── stripe-1.cr ├── stripe-2.php ├── stripe-3.tf └── stripe-4.fs /.gitignore: -------------------------------------------------------------------------------- 1 | *.tfstate 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Asexual Pride in GitHub Repository Languages 2 | 3 | ![](screenshot.png) 4 | 5 | ## Testing the programs 6 | 7 | They all print a joke about asexuals: 8 | 9 | * `stripe-1.cr` was tested in [the Crystal playground](https://play.crystal-lang.org/#/r/6oia). 10 | 11 | * `stripe-2.php` can be tested using the HHVM Docker image. 12 | 13 | ```console 14 | $ docker run --volume $(pwd):/var/www/public --publish 8080:80 hhvm/hhvm-proxygen:latest 15 | $ curl http://localhost:8080 16 | ``` 17 | 18 | * `stripe-3.tf` can be tested using the Terraform Docker image: 19 | 20 | ```console 21 | $ docker run --volume $(pwd):/src --workdir /src hashicorp/terraform:light apply 22 | ``` 23 | 24 | * `stripe-4.fs` was tested in an interactive session with the [F# Docker image](https://github.com/fsprojects/docker-fsharp). 25 | 26 | ## Prior art 27 | 28 | Idea shamelessly copied from [spacekookie/gay](https://github.com/spacekookie/gay) (rainbow pride flag) and [ticky/trans](https://github.com/ticky/trans) (trans pride flag). 29 | 30 | ## Useful resources 31 | 32 | [ozh/github-colors](https://github.com/ozh/github-colors), for finding appropriate languages for each colour. 33 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexwlchan/asexual/a42677d72d3c0ca42f0e0ecc462f049b1085220b/screenshot.png -------------------------------------------------------------------------------- /stripe-1.cr: -------------------------------------------------------------------------------- 1 | cakes = ["🍰", "🎂", "🧁"] 2 | puts "Would you care for another piece of cake? " + cakes.join(", ") 3 | -------------------------------------------------------------------------------- /stripe-2.php: -------------------------------------------------------------------------------- 1 | String.concat ", " |> printfn "Asexual values are %s";; 2 | --------------------------------------------------------------------------------