Skip to content

Instantly share code, notes, and snippets.

View omosehin's full-sized avatar

Abayomi Omosehin omosehin

  • Lagos Nigeria
View GitHub Profile
@omosehin
omosehin / asset query before upload
Last active April 6, 2020 16:02
asset query before upload
{
"Message": "Operation Successful",
"Status": true,
"Data": [
{
"DataPartnerId": 1,
"Created": "2020-04-06T16:55:44.4636706+01:00",
"MeterNumber": "55052330",
"Date": "2015-08-14T00:00:00",
"CustomerName": "Mega Plaza",
@omosehin
omosehin / asset query before upload
Created April 6, 2020 16:01
asset query before upload
This file has been truncated, but you can view the full file.
{
"Message": "Operation Successful",
"Status": true,
"Data": [
{
"DataPartnerId": 1,
"Created": "2020-04-06T16:55:44.4636706+01:00",
"MeterNumber": "55052330",
"Date": "2015-08-14T00:00:00",
"CustomerName": "Mega Plaza",
JOB PORTER FOR VGG with react :https://career-portal-joinus.netlify.com/focus
Job Porter with react: https://vgg-career-portal.netlify.com/
http://lsebslm.test.vggdev.com/Security
https://manualvalidationabayomi.azurewebsites.net/
https://abayomi201.netlify.com/
https://vggjobhunt.netlify.com/
https://abayomi-reactapp.netlify.com/
Pure Javascript: https://jobhuntquizapp.netlify.com/
@omosehin
omosehin / GetEnergyConsumptionResponse
Created February 15, 2020 21:04
Response from Energy Consumption Get Past Three Months Consumption
This file has been truncated, but you can view the full file.
{
"Message": "Operation Successful",
"Status": true,
"Data": [
{
"Month": "January",
"MonthlyConsumptions": [
{
"Date": "2020-01-01T00:00:00",
"MeterNumber": "73034554",
import React, { Component } from "react";
class Movie extends Component {
constructor() {
super();
this.state = {
pictures: [],
error: null,
loading: false
};
import React, { Component } from "react";
class Movie extends Component {
constructor() {
super();
this.state = {
pictures:[],
error :null,
loading:false
};
let CommentRes = [
{ id:1,
hrs:'2hrs',
const commentForm = document.forms['commentForms'];
let titleError = document.getElementById("title_error");
let commentError = document.getElementById("comment_error");
var title = commentForm.Title;
var comment = commentForm.Comment;
title.addEventListener("blur", titleVerify, true);
comment.addEventListener("blur", commentVerify, true);
@omosehin
omosehin / Challenge2
Last active September 12, 2019 12:20
let Mainemployees = [
{
id: 1,
first_name: 'Nestor',
email: 'nede0@va.gov',
gender: 'Male',
age: 35,
ip_address: '80.95.217.202',
Car: 'Chevrolet',
@omosehin
omosehin / gist:6b6c664ba85088a1bc00b5b8a6bf0db3
Last active September 11, 2019 11:10
Function to test for identical array
const identical_Test = arr => {
for(let i = 0; i < arr.length - 1; i++) {
if(arr[i] !== arr[i+1]) {
return false;
}
}
return true;
}