Skip to content

Instantly share code, notes, and snippets.

@OsitaNathan
OsitaNathan / h_index.ts
Last active October 25, 2023 07:35
h-index Calculator (TypeScript)
// Example
// Calculates a h-index number from an array of random citations per research publication
// The number of research publications (e.g. journal articles)
let publications = 10;
// Maximum number of citations per publication
let maxCitation = 100;
// Generates an array of random citations per research publication
@OsitaNathan
OsitaNathan / docker_wordpress.md
Last active April 25, 2021 10:39 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes