Skip to content

Instantly share code, notes, and snippets.

View amdsobhy's full-sized avatar

Ahmed Sobhy amdsobhy

  • Canada
View GitHub Profile
@amdsobhy
amdsobhy / conda-fastai-jupyter.md
Last active May 21, 2023 01:54
Setup conda, fastai, Jupyter

1- Follow instructions in link below to install conda:

https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html

2- Kill and reopen terminal

3- Run the following:

@amdsobhy
amdsobhy / list.c
Created August 21, 2019 15:39 — forked from pseudomuto/list.c
Blog Code: Implementing a Generic Linked List in C
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "list.h"
void list_new(list *list, int elementSize, freeFunction freeFn)
{
assert(elementSize > 0);
list->logicalLength = 0;