Skip to content

Instantly share code, notes, and snippets.

View musasoftlabx's full-sized avatar

Musa Mutetwi Muliro musasoftlabx

View GitHub Profile
Install PHP7.4
1. sudo yum -y install wget
1.1 sudo yum install epel-release-latest-7.noarch.rpm
2. sudo yum install epel-release
3. sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
4. sudo yum --enablerepo=remi-php74 install php
5. sudo yum --enablerepo=remi-php74 install php-curl php-mysql php-cli php-gd php-ldap php-zip php-fileinfo php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt
6. sudo yum update
const retryIntervalInSeconds = 10;
const maxTestDurationInMinutes = 1;
let int = setInterval(() =>
// Kaa unatumia env variables: pm.sendRequest(pm.variables.get('url') + 'weka/resource/hapa', (err, res) =>
pm.sendRequest('http://site.com/weka/resource/hapa', (err, res) =>
res.code === 200 ? (console.log(res), clearInterval(int)) : console.log(res.code)
), retryIntervalInSeconds * 1000);
setTimeout(() => clearInterval(int), maxTestDurationInMinutes * 60 * 1000);
@musasoftlabx
musasoftlabx / docker-help.md
Created October 18, 2021 21:26 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@musasoftlabx
musasoftlabx / hosting-on-github.md
Created July 27, 2021 14:39 — forked from TylerFisher/hosting-on-github.md
Basic steps for hosting on Github

Hey there, apparently people are still using this Gist from 2013! It's out of date! Consult the Github docs.

Steps for Hosting a Website on GitHub

  1. Create a GitHub account on github.com.
  2. Download either [GitHub for Mac][1] or [GitHub for Windows][2], depending on your operating system. Open the app and log in using the account you just created.
  3. (On Mac): After you login, click advanced and make sure that your name and email are correct. Then, click "Install Command Line Tools", just in case you want to start using the command line later in life.
  4. Create a new repository in your GitHub application. Name it your-username.github.io. The name is very important. Note the folder that GitHub is saving the repository to. Make sure the "Push to GitHub?" box is checked.
  5. Move your website's files into the folder that GitHub just created when you made the repository. IMPORTANT: Your homepage HTML file must be called "index.html", and it must exist in the top-level
@musasoftlabx
musasoftlabx / README.markdown
Created October 24, 2018 13:01 — forked from marijn/README.markdown
List of nationalities in YAML, CSV and TXT format

List of nationalities

It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.

List of countries

I've also compiled a list of countries