Skip to content

Instantly share code, notes, and snippets.

View Gideon877's full-sized avatar
🇿🇦
Working Remotely

Thabang Gideon Gideon877

🇿🇦
Working Remotely
View GitHub Profile
@Gideon877
Gideon877 / index.md
Last active August 7, 2024 18:41
Cars CRUD App using

Practical Test: Car CRUD API Application

Objective

Create a CRUD (Create, Read, Update and Delete) API application using Alpine.js, Axios, Node, and Express to perform various operations on car data. You will choose one function from the provided list and implement the functionality. The application should also demonstrate the use of HTTP methods.

Car Data Example

You can fetch the car data from the following API URL.

enum Products {
BF(4.0),L(6.0);
}
enum LessonStatus {
STARTED, CANCELLED, ETC;
}
enum Subject {
Accounting(LocalTime.of(12, 0)),..
@Gideon877
Gideon877 / MovieApp.md
Last active June 8, 2022 13:40
Movie App

Movie App

You are a movie lover, and you need to create your our movie app and with no subscriptions.

Create a web application that can help search for all the avilable movie.

Your app should be able to do the following.

Your app should be able to do the following.:

@Gideon877
Gideon877 / readme.md
Last active October 18, 2019 12:08
Music App

Music App

You are a music lover. And you need to create your our music app and with no subscriptions.

Create a web application that can help search for all the latest music on itunes to help you.

What app should be able to do the following.

Users should be able to:

@Gideon877
Gideon877 / Test.js
Created July 29, 2019 13:22
Please use this as a reference
it ("this will be able to return all names",function(){
let greetInstance = greetFunc();
greetInstance.setName('Jan');
greetInstance.setName('Jane');
greetInstance.setName('James');
greetInstance.setName('John');
assert.equal(4, greetInstance.getCounter());
})

Java from command line.

In this exercise we are going to practice how to use java, and javac to compile and run a specific java file.

  1. Create a SayHello.java file using the terminal.
  2. Open in an editor(can be vs-code or gedit)
  3. Create a sayHello class
  4. Create a public main class
  5. Print message 'Hello, Umhlaba!'.
  6. Compile the program using javac
function PhoneBook() {
let userList = []
const addNumber = (name, number) => {
if(name && number) {
userList.push({ name, number})
}
}
const getNumber = (name) => {
const user = userList.find((userObj) => {
<!DOCTYPE html>
<html lang="en">
<style>
body {
/* you can use a more complete font-family from VSCode as well */
font-family: arial;
}
.header {
background-image: url("table.gif");
array = ['Siya', 'Drinking', 'Fucking', 'Eating'];
let map = {}
function cv() {
let result = ""
array.forEach(element => {
let v = element.length; // length of every word
console.log(v)
// checks and add the last letter of the word