Skip to content

Instantly share code, notes, and snippets.

View MichaelMurithi's full-sized avatar
💭
Learning a lot

Michael Murithi MichaelMurithi

💭
Learning a lot
View GitHub Profile
@MichaelMurithi
MichaelMurithi / ng-js-eslint.json
Created December 28, 2022 18:56
pro-angular-eslint setup
{
"root": true,
"overrides": [
{
"files": [
"*.ts"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
@MichaelMurithi
MichaelMurithi / welcome.js
Created September 7, 2022 20:05
Welcome snippet
async function new_visitor() {
return Promise.resolve()
}
function greet_visitor() {
console.log('Welcome and receive greetings!');
}
async function welcome() {
await new_visitor();
@MichaelMurithi
MichaelMurithi / alpre_cv2.c
Created October 6, 2021 15:31
Third exercise
int cv2_treti()
{
char znak;
printf("Znak Cvicenia! \n");
fflush(stdin);
printf("Zadajte znak: ");
znak = getchar();
if( znak >= 'a' && znak <= 'z')
printf("\nznak %c na vstupe je male pismeno ma ASCII hodnotu %d alebo aj %02x Hexa\nmale pismeno bolo zmenene na velke %c\nktore ma ASCII hodnotu %d, alebo aj %02x Hexa",
znak,znak,znak,toupper(znak),toupper(znak),toupper(znak));