Skip to content

Instantly share code, notes, and snippets.

View Oliver-ke's full-sized avatar
💭
-code -eat -sleep -repeat

Azorji Kelechi Oliver Oliver-ke

💭
-code -eat -sleep -repeat
View GitHub Profile
GENERATORS:
Text Content Generator - http://www.lipsum.com
Favicon Generator - http://tools.dynamicdrive.com/favicon
Data Generator - https://mockaroo.com/
Mobile Mockup Generator - https://mockuphone.com
Logo Generator - https://www.logaster.com
UUID Generator - https://www.uuidgenerator.net/
Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
IMAGE RESOURCES:
@Oliver-ke
Oliver-ke / ssh.md
Created February 12, 2019 14:07 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@Oliver-ke
Oliver-ke / webdev_online_resources.md
Created February 12, 2019 14:11 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
@Oliver-ke
Oliver-ke / README-Template.md
Created May 27, 2019 08:03 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

module.exports = (answers, studentAns) => {
if (answers.length !== studentAns.length) {
return 'Arrays must be of the same length';
}
let sum = 0;
for (let i = 0; i < answers.length; i++) {
if (answers[i] === studentAns[i]) {
sum += 4;
} else if (studentAns[i] !== ' ') {
sum -= 1;
const { assert } = require('chai');
const computeResult = require('../challange/computeResult');
describe('return sum', () => {
it('Must be a function', () => {
assert.isFunction(computeResult, 'must be a function');
});
it('Return the result', () => {
const answers = [ 'a', 'b', 'a', 'c' ];
const studentAns = [ 'a', 'c', 'd', 'c' ];
@Oliver-ke
Oliver-ke / EditorSettings.json
Created August 18, 2019 01:36
Vscode editor settings
{
"window.zoomLevel": 1,
"liveServer.settings.donotShowInfoMsg": true,
"workbench.iconTheme": "material-icon-theme",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"editor.wordWrap": "bounded",
"editor.trimAutoWhitespace": true,
"editor.fontFamily": "Fira Code",
@Oliver-ke
Oliver-ke / vscode_shortcuts.md
Created April 16, 2020 04:09 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

import React, { useState, useEffect } from 'react';
import { Link, useHistory, useLocation } from "react-router-dom";
import axios from '../../services/axios';
import { message as alert } from 'antd';
import Header from '../header/header.component';
import './update-resources.css';
import Spinner from '../spinner/spinner.component';
export default function updateResource(props) {
const [loading, setLoading] = useState(false);