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 / 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;
@outlinepix
outlinepix / bubble_sort_LinkedList.c
Created August 17, 2022 08:36
Bubble sort on Linked List by values in C language.
/* full implimentationof Linked List : https://github.com/outlinepix/LinkedList */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
typedef struct Node
{
int data;
struct Node *next;
@JustAyush
JustAyush / react-select-with-rhf.tsx
Created September 14, 2021 11:59
React Select usage with react-hook-form
import {
Button,
FormControl,
FormErrorMessage,
FormLabel,
Link,
SimpleGrid,
Stack,
} from '@chakra-ui/react';
@jtlapp
jtlapp / futureprovider_example.dart
Created September 18, 2019 04:07
FutureProvider example
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';
@wgopar
wgopar / MySQL_practice_problems.md
Last active July 12, 2023 07:08
MySQL Employees Sample Database exercise problems + solutions.

MySQL practice problems using the Employees Sample Database along with my solutions. See here for database installation details.

Problem 1

Find the number of Male (M) and Female (F) employees in the database and order the counts in descending order.

SELECT gender, COUNT(*) AS total_count
FROM employees 
GROUP BY gender
@CarlosDomingues
CarlosDomingues / python-poetry-cheatsheet.md
Last active May 19, 2024 05:20
Python Poetry Cheatsheet

Create a new project

poetry new <project-name>

Add a new lib

poetry add <library>

Remove a lib

@tedz2usa
tedz2usa / Installing SML-NJ on Ubuntu 18.04
Last active April 8, 2024 13:37
Installing SML-NJ on Ubuntu 18.04
Installation Tips for SML/NJ on Ubuntu 18.04
Ted Zhu
First, follow the steps outlined in the SML/NJ installation instructions for Unix:
http://smlnj.org/install/
The final step,
$ config/install.sh
@achlendra
achlendra / stack (via linked list).cpp
Created October 29, 2016 16:57
stack implementation using linked list.
#include <iostream>
using namespace std;
struct Node{
int data;
Node *next;
};
class stack{
@v3rse
v3rse / done.js
Last active February 1, 2023 18:16
A simple command line todo list app written using Node.js. Run using `node ./done.js` or create an alias `alias done=node ./done.js`
//This is a simple command line todo list app
//Features
//-create todo item
//-list todo item
//-check todo item off list
//-delete todo item
var fs = require('fs');
@Hemant-Parihar
Hemant-Parihar / arrayStack
Last active February 19, 2023 16:18
Array Implementation of STACK (abstract data type) in C programming.
/* Array implementation of the stack */
#include<stdio.h>
#include<stdlib.h>
#define MAX_STACK_SIZE 5
typedef int boolean;
#define TRUE 1
#define FALSE 0
struct arrayStack {