Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Mohammed Shibli shibli2700

🏠
Working from home
Block or report user

Report or block shibli2700

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mutation.js
class Posts{
constructor(){
this.json_string = '{"records":[{"b_id":"1","t_id":"1","fullname":"Husain Amreliwala","telephone":"8169164372","email":"husain.amreliwala52@gmail.com","arr_time":"5:15 AM","pickup_time":"0","airline":"British Airways","flight_no":"BA741","adult":"1","infant":"0","children":"0","elderly":"0","trip_type":"Drop Off","source":"","destination":"Wayne Mansion, Kampala","amount":"1266","status":"not started"},{"b_id":"19","t_id":"3","fullname":"Micheal Pena","telephone":"8523697411","email":"mikey@gmail.com","arr_time":"","pickup_time":"2019-01-25, 02:14 AM","airline":"KLM Airways","flight_no":"KLM35","adult":"2","infant":"0","children":"0","elderly":"0","trip_type":"Drop off","source":"Pena Estate, Kampala","destination":"","amount":"1266","status":"not started"},{"b_id":"20","t_id":"3","fullname":"Joshua Price","telephone":"987456321","email":"joshua@live.com","arr_time":"2019-01-30 08:08 PM","pickup_time":"","airline":"Jet Airways","flight_no":"J12349","adult":"3","infant":"1","c
@shibli2700
shibli2700 / ll.c
Created Oct 31, 2018
C program to reverse a Linked List
View ll.c
#include<stdio.h>
#include<stdlib.h>
struct node{
int value;
struct node *next;
};
struct node *HEAD = NULL;
struct node *temp, *y;
@shibli2700
shibli2700 / reverse_words.c
Last active Oct 31, 2018
C program to reverse the order of words in a String.
View reverse_words.c
#include<stdio.h>
#include<string.h>
char *reverse(char str[]){
static char result[100];
int start, end, i, j=0;
int len = strlen(str) - 1;
start = end = i = len; //starting from the end of the string.
while(i >= 0){
if(str[i] == ' '){
@shibli2700
shibli2700 / keras_cnn.py
Created Sep 22, 2018
MNIST DATASET CNN KERAS
View keras_cnn.py
import tensorflow as tf
batch_size = 128
no_classes = 10
epochs = 2
image_height, image_width = 28, 28
(x_train, y_train), (x_test, y_test) = tf.keras.datasets.mnist.load_data()
x_train = x_train.reshape(x_train.shape[0], image_height, image_width, 1)
@shibli2700
shibli2700 / LIRegressor.py
Last active May 2, 2018
Python Linear Regression Class
View LIRegressor.py
"""
author : Mohammed Shibli
Date: 14-04-2018
"""
import numpy as np
class LIRegressor:
sum_dependent = []
You can’t perform that action at this time.