Skip to content

Instantly share code, notes, and snippets.

View giljr's full-sized avatar
💭
Full Stack Developer with a degree in Computer Engineering.

Gilberto Oliveira Jr giljr

💭
Full Stack Developer with a degree in Computer Engineering.
View GitHub Profile
@giljr
giljr / settings.json
Created December 26, 2021 21:51
Local Django Project Setup
{
"python.pythonPath": "C:/Users/giljr/Desktop/django_projects/djangoEnv",
"code-runner.executorMap": {
"python": "C:/Users/giljr/Desktop/django_projects/djangoEnv",
}
}
@giljr
giljr / settings.json
Last active January 25, 2022 00:29
VS Code Django Project
{
"window.zoomLevel": 2,
"editor.fontSize": 12,
"emmet.triggerExpansionOnTab": true,
"files.associations": {"*html":"html"},
"code-runner.ignoreSelection": true,
"code-runner.runInTerminal": true,
@giljr
giljr / 18_doublylinkedlist_v0.c
Created November 29, 2021 21:56
Doubly Linked List
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
/* This program uses pointer, malloc and structs :) */
int main(int argc, char *argv[]) {
/* Declaration of the structure to hold anniversaries data */
@giljr
giljr / 17_linearserchalg_v0.c
Created November 29, 2021 21:19
Linear Search
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int SequentialSearch(int vec[], int sought);
#define VECTORSIZE 10
int main()
{
@giljr
giljr / 15_quicksortasc_v0.c
Created November 29, 2021 21:01
Quick Sort
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define VECTORSIZE 10
void quicksort(int vet[], int p, int u);
int partition(int vet[], int p, int u);
void swap(int vet[], int i, int j);
@giljr
giljr / 13_bubblesortasc_v0.c
Created November 29, 2021 20:11
Bubble Sorting
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void BubbleSort(int vec[]);
#define VECTORSIZE 10
int main()
{
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define VECTORSIZE 10
//Typedef definition
typedef struct HashList
{ int id;
char student[50];
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#define VECTORSIZE 10
//Typedef definition
typedef struct HashList
{
int key;
@giljr
giljr / 10_musicalbum_v2.c
Created November 26, 2021 20:40
MUSIC ALBUM_V2.C
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_LEN 20
char filename[MAX_LEN] = "musicalbum_v0.csv";
FILE *file;
// Prototypes:
int menu();
@giljr
giljr / django_application_folder.csv
Last active July 24, 2021 17:56
django_application_folder.csv
File Description
__init__.py This is blank Python script that due to it s special name is treated as a package
admin.py A fantastic machinery Django dashboard for admin interface
apps.py Here you can place app special configurations
models.py Here you store the application's data models
views.py This is where you have functions that handle requests and return responses
tests.py Here you can store test functions to test your code
Migrations Folder This dir stores database specific information as it relates to the models