Skip to content

Instantly share code, notes, and snippets.

View max-programming's full-sized avatar
:octocat:
Learning and building

Usman S. (Max Programming) max-programming

:octocat:
Learning and building
View GitHub Profile
@max-programming
max-programming / task.md
Last active August 19, 2020 12:55
The Assignment / Task for Destructuring
View task.md
View challenge.md
@max-programming
max-programming / service-worker.js
Created December 25, 2020 04:37
Service Worker files for Create React App 4.
View service-worker.js
/* eslint-disable no-restricted-globals */
// This service worker can be customized!
// See https://developers.google.com/web/tools/workbox/modules
// for the list of available Workbox modules, or add any other
// code you'd like.
// You can also remove this file if you'd prefer not to use a
// service worker, and the Workbox build step will be skipped.
import { clientsClaim } from 'workbox-core';
View DBMS_P2_Q11.sql
SELECT
student_id
FROM
studies
WHERE
subject_id NOT IN (101, 103, 105)
SELECT
student_id
FROM
@max-programming
max-programming / c_exam_last_question.c
Created November 8, 2022 05:43
Last Question in C Exam Code
View c_exam_last_question.c
#include <stdio.h>
int is_alphabet(char letter)
{
if (letter >= 'a' && letter <= 'z') return 1;
if (letter >= 'A' && letter <= 'Z') return 1;
return 0;
// we don't need else because we are returning
}
@max-programming
max-programming / practical_1.c
Last active February 20, 2023 04:14
DFS All Practicals
View practical_1.c
#include <stdio.h>
int n = 5;
int arr[5];
void print()
{
for (int i = 0; i < n; i++)
{
printf("%d :- %d\n", i, arr[i]);
@max-programming
max-programming / Practical10.java
Last active March 21, 2023 09:38
My Practical Files for Java
View Practical10.java
import java.util.Scanner;
class Trip {
String source, destination;
String startDate;
int noOfDays;
Trip(String s, String d, String sd, int nod) {
source = s;
destination = d;
@max-programming
max-programming / cie1.html
Last active January 4, 2023 03:52
College Web Design Files
View cie1.html
<!-- design a web page using html for online railway ticket booking -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Railway Ticket Booking</title>
<style>
* {
font-family: sans-serif;
}
</style>
@max-programming
max-programming / PRAC6.asm
Last active December 31, 2022 18:34
All of my MI Assembly Codes
View PRAC6.asm
; Program to multiply two 8 bit numbers
LDA 2000H
MOV B, A
LDA 2001H
MOV C, A
MVI A, 00H
LOOP: ADD C