Skip to content

Instantly share code, notes, and snippets.

View Tomdieu's full-sized avatar
:atom:
Computer Scientist at UY1 | Python Programmer | Ui Designer

Ivan Tom Tomdieu

:atom:
Computer Scientist at UY1 | Python Programmer | Ui Designer
View GitHub Profile
Prisma Next Auth Models
model User {
id String @id @default(uuid())
name String
email String? @unique
emailVerified DateTime? @map("email_verified")
image String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@Tomdieu
Tomdieu / SortList.c
Created June 19, 2021 23:24
How To Sort A Linked List In C
#include<stdio.h>
#include<stdlib.h>
typedef struct node
{
int data;
struct node *next;
}node;
void InsertAtBegin(node **list,int data);
@Tomdieu
Tomdieu / Hash_Table.cpp
Created June 19, 2021 23:01
How To Implement A hash Table In Cpp
#include<iostream>
#include<string.h>
using namespace std;
typedef struct node
{
string key;
string value;
}val;
@Tomdieu
Tomdieu / parenthesis_checker.c
Last active June 19, 2021 22:58
Parenthesis checker in c
#include<stdlib.h>
#include<stdio.h>
typedef struct stack
{
char value;
struct stack *next;
}*stack;
typedef enum