Skip to content

Instantly share code, notes, and snippets.

View Gbahdeyboh's full-sized avatar
🏠
Working from home

Bello Gbadebo Gbahdeyboh

🏠
Working from home
View GitHub Profile
@Gbahdeyboh
Gbahdeyboh / postman_challenge_answers.md
Last active November 23, 2021 04:32
This gist contains the answers to the challenge for the technical community management role at postman.

Postman Technical Community Manager Challenge

The below are responses to the challenge questions of the Technical Community Management role at Postman.

Community Forum Engagement

Hypothetical Questions

So that my responses to the hypothetical questions feel as it would if I were responding to an actual person on the community forum, I created an hypothetical person named James. James will be the one asking the questions I will be providing answers to. So just incase you see me use the name James in any of my responses, know that I am referring to the hypothetical person who asked the question.

@Gbahdeyboh
Gbahdeyboh / task1.js
Last active September 13, 2020 03:57
This is the solution to the first task of JavaScript Minna Internship
/**
STEP 1
- Check each letter in the sentence
- Check if it's uppercase
- If it's upper case, convert it to lower case and vice versa
*/
const isLowerCase = ( letter ) => {
const regex = /[a-z]/g;
const reg = new RegExp(regex);

HealthApp

HealthApp is a system built to bridge the communication gap between the students and the health centre at the Federal University of Agriculture, Abeokuta.

The goal behind this system is to create a means for students to get quick response especially in times of emergencies, reducing the fatality rate in the process.

This GitHub gist host the links to all repositories used to build the project;

  1. Client-side web for the health centre - here
  2. Mobile app for the students - here
let obj1 = {
a: 1,
b: 'string',
c: true,
d: () => 'wooow!!',
e: new Date(15, 7, 2019),
f: new RegExp('Gbadebo', 'gi'),
g: new Set([1, 2, 3, 4]),
h: [1, 2, 3, true, "gbadebo", new Date(15, 7, 2019), new Set([4, 5, 6, 7])],
i: {
function valueHandler(val1, val2) {
switch (typeof val1) {
case 'number':
if (val1 !== val2) {
reject("An Object value of type `number` mismatched");
}
break;
case 'boolean':
if (val1 !== val2) {
reject("An Object value of type `boolean` mismatched");
@Gbahdeyboh
Gbahdeyboh / Scraping Issue.js
Last active June 20, 2019 16:16
This replicates the clicking issue.
const puppeteer = require("puppeteer");
const scraper = {
test: async () => {
let browser, page;
try {
browser = await puppeteer.launch({
headless: false,
args: ["--no-sandbox", "--disable-setuid-sandbox"]
});
page = await browser.newPage();