Skip to content

Instantly share code, notes, and snippets.

View tchiinhemba's full-sized avatar
❤️
in love with community

Eládio Tchiinhemba tchiinhemba

❤️
in love with community
View GitHub Profile
@tchiinhemba
tchiinhemba / credit.c
Created March 30, 2024 17:24
This code is an implementation of the Luhn Algorithm
#include <cs50.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
int luhnValidation(char *cardNumber);
int toNumber(char text);
char *toString(int number);
void checkValidation(char *number, char *cardNumber);
@tchiinhemba
tchiinhemba / sources.list
Created August 2, 2021 02:12 — forked from h0bbel/sources.list
/etc/apt/sources.list for Ubuntu 18.04.1 LTS Bionic Beaver
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted