Skip to content

Instantly share code, notes, and snippets.

View Domminique's full-sized avatar
🎯
Focusing

Dominic Imbuga Domminique

🎯
Focusing
View GitHub Profile
@Domminique
Domminique / emedAfrica.js
Last active September 13, 2024 07:33
react native
(Dimensions from react-native";
const {width: deviceWidth, height: deviceHeight) Dimensions.get("window");
const hp percentage( return (percentage devicelleight)/100;
const w percentage( return (percentage devicelleight) / 100

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@Domminique
Domminique / app.css
Created December 5, 2017 12:27 — forked from scottdomes/app.css
React Audio Tutorial
body {
background: #f9f9f9;
font-family: 'Open Sans', sans-serif;
text-align: center;
}
#container {
position: relative;
z-index: 2;
padding-top: 100px;
@Domminique
Domminique / array_sum.js
Created October 23, 2017 17:36
Code Challenge
//Challenge #1 >Write a function sum_even(a) that sums up the even numbers in the list(array)
function sum_even(a) {
b = [];
for (var i = 0; i < a.length; ++i) {
if ((a[i] % 2) === 0) {
b.push(a[i]); //gives us the array for even nums
@Domminique
Domminique / Dommy_Portfolio.markdown
Created November 21, 2015 21:14
Dommy_Portfolio