Skip to content

Instantly share code, notes, and snippets.

View john-walter-munene's full-sized avatar
🏠
Working from home

John Walter Munene Njeru john-walter-munene

🏠
Working from home
View GitHub Profile
openapi: 3.1.0
x-stoplight:
id: sjhwknh580eif
info:
title: ' OpenWeatherMap API'
version: '2.5'
summary: Get the current weather
description: 'Get the current weather, dialy forecast for 16 days, and a three-hour-interval forecast for 5 days for your city. Helpful stats, graphics, and this day in history charts are available for 5 days for your reference. Interactive maps show precipitation, clouds, pressure, wind around your location stations. Data avaialble in JSON, XML, or HTML format. **Note**: Thie sample Swagger file covers the `current` endpoint only from the OpenWeatherMap API. <br/><br/> **Note**: All parameters are optional, but you must select at least one parameter. Calling the API by city (using the `id` parameter) will provide the most precise location results. '
contact:
name: Support
@john-walter-munene
john-walter-munene / gist:bb05506a034e6cd9dfe36f077debbd75
Created August 11, 2024 03:37 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@john-walter-munene
john-walter-munene / host.md
Created July 25, 2024 10:02
Hosting a Webpack Project on GitHub Pages

Hosting a Webpack Project on GitHub Pages

This guide will help you host your Webpack project on GitHub Pages by creating a dedicated hosting branch and setting up the deployment process.

1. Create and Switch to the hosting Branch

git checkout -b hosting

Building A House From The Inside Out

Separating view from data using Connect Four

Context

For two years, I've been a community member of and contributor to The Odin Project, and in my time there I have grown from a help-seeker to primarily a help-provider. TOP's curriculum features many opportunities to build games, from simple ones like Rock Paper Scissors and Tic Tac Toe, to more complex ones such as to Chess and Battleship.

As a Javascript developer, much of my learning happened in the browser environment where access to markup and styling is conveniently close at hand. As wonderful as this is for the process of game creation, I have often witnessed the tendency for inexperienced learners to fall into the anti-pattern of interacting with the DOM too freely within their game logic.

@john-walter-munene
john-walter-munene / git-workflow.md
Last active January 5, 2024 18:24
Git workflow

Git workflow

  1. Check out a local working branch git checkout -b branchname
  2. Edit your files
  3. Add files to commit : git add .
  4. Commit your changes : git commit -m "Add a meaningful comment"
  5. Push changes to origin: git push origin branchname
  6. Create a pull request on github
  7. Review then merge PR
  8. Get back to your main branch : git switch main