Skip to content

Instantly share code, notes, and snippets.

View mwibutsa's full-sized avatar
🎯
Focusing

Mwibutsa Floribert mwibutsa

🎯
Focusing
View GitHub Profile
@mwibutsa
mwibutsa / Question1.js
Last active November 24, 2021 20:24
#Cohort3 One work coders programming questions
function solution(board, word) {
let count = 0;
for (let i = 0; i < board.length; i++) {
for (let j = 0; j < board[i].length; j++) {
const matches = {
h: [],
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Mini App</title>
<style>
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Polygon extends JFrame {
public Polygon() {
setSize(400, 500);
setLayout(null);
setVisible(true);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setTitle("Drawing Polygons");
@mwibutsa
mwibutsa / app.js
Last active March 13, 2019 14:43
Microsession TDD
import chai from 'chai';
import chaihttp from 'chai-http';
import app from '../app';
chai.should();
chai.use(chaihttp);
describe ('TEST GET ARTICLES', () => {
it ('should get Articles', (done) => {
chai.request(app).get('/api/v1/articles').then((res => {