Skip to content

Instantly share code, notes, and snippets.

View tarikwaleed's full-sized avatar
🧑‍💻
Steadily Building .. Steadily Building

Tarik Waleed tarikwaleed

🧑‍💻
Steadily Building .. Steadily Building
View GitHub Profile
@tarikwaleed
tarikwaleed / dockerize-php-demos.md
Created March 30, 2023 05:16
An easy to follow tutorial on how to dockerize PHP Course Lecture demos by Dr. Noha Hesham

Docker Setup

First, Make sure that Docker is installed on your machine by running the following command

docker -v

If you havn't install docker already - but i'm sure you did from the docker course days- the docker documentation provides an easy to follow steps to set up docker on your local machine.

For ubuntu users , here you'll find instructions to install it on your machine. Follow this guide

@tarikwaleed
tarikwaleed / DoublyLinkedList.c
Created December 5, 2022 10:54 — forked from mycodeschool/DoublyLinkedList.c
Doubly Linked List implementation in C
/* Doubly Linked List implementation */
#include<stdio.h>
#include<stdlib.h>
struct Node {
int data;
struct Node* next;
struct Node* prev;
};
@tarikwaleed
tarikwaleed / bubbleLinked.c
Created November 25, 2022 13:54 — forked from muhammedeminoglu/bubbleLinked.c
This code shows you how to use linked list on bubble sort.
#include <stdio.h>
#include <stdlib.h>
struct node{
int data;
struct node *next;
};
struct node* start = NULL;
@tarikwaleed
tarikwaleed / Change Laptop Brightness.fish
Created September 16, 2022 18:32
Simple fish function to control the laptop britghtness from the command line (tested on Ubuntu)
function dim --argument value
echo $value | sudo tee /sys/class/backlight/intel_backlight/brightness
end
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
const appTitle = 'FutureProvider Demo';