Skip to content

Instantly share code, notes, and snippets.

View enzeyi's full-sized avatar
💭
Building Stronger Muscles!

Emmanuel (Manu) Enzeyi enzeyi

💭
Building Stronger Muscles!
View GitHub Profile
@enzeyi
enzeyi / hosting-on-github.md
Created November 1, 2022 12:19 — 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
@enzeyi
enzeyi / main.dart
Created October 24, 2022 04:35 — forked from Quingsley/main.dart
players-game
//A group of twenty boys are in a football pitch and they want to play football.
//I want you to help me create a programme using python or any other programming
//language that will help me to break the group into two football teams each consisting of 10 players.
//The programme should first ask me to input the names of the two teams; the first team name then the second team name.
//Then after that, it should ask me to input the list of names of the twenty boys.
//After inputing these names, the programme should give me an output of the two final teams with the team name on top of a list of the 10 players
//of each team. The team players should be selected in the order of odd number and even number respectively according to the list of names that will be provided.
void main() {