Skip to content

Instantly share code, notes, and snippets.

View Lemmah's full-sized avatar
🐢
Progress, not perfection.

Lemayian JN Lemmah

🐢
Progress, not perfection.
View GitHub Profile
@Lemmah
Lemmah / keybase.md
Created April 3, 2021 12:12
keybase.md

Keybase proof

I hereby claim:

  • I am lemmah on github.
  • I am lemayian (https://keybase.io/lemayian) on keybase.
  • I have a public key ASCoYc2PTUi2rcZnXbc0o_Gx8A-UCDsJai7q5kivvr_kMwo

To claim this, I am signing this object:

@Lemmah
Lemmah / dump_route53_records.md
Created February 3, 2020 14:44 — forked from porjo/dump_route53_records.md
Export route53 records to CSV

Retrieve hosted zones with aws route53 list-hosted-zones then enter the zone Id below:

aws route53 list-resource-record-sets --hosted-zone-id "/hostedzone/xxxxxxxxxxx" | \
   jq -r '.ResourceRecordSets[] | [.Name, .Type, (.ResourceRecords[]? | .Value), .AliasTarget.DNSName?]  | @tsv'
@Lemmah
Lemmah / c_program_compilation_steps.md
Last active September 15, 2019 18:19
Steps from a C Program to an excutable binary.

Source code to Executable - C Program Steps

Understanding how gcc carries out its compilation

Let's start with a simple hello world program. Call it, hello_world.c . We're going to understand the process this little file with human readable text goes through to become a machine readable executable binary file. We will intentionally run the intermediate commands with gcc just to know what happens where.

1. Preprocessing

@Lemmah
Lemmah / fizzBuzz.c
Created October 2, 2018 13:06
This is the first C program
#include <stdio.h>
#include <stdlib.h>
int main()
{
int value = 0;
char message;
printf("Input a number:");
scanf("%d", &value);
if (value % 5 == 0) {
@Lemmah
Lemmah / README.md
Last active July 24, 2018 15:37
A good example of a README file.

Build Status Codacy Badge Codacy Badge Code Climate Issue Count Gitter

BucketList, as an example project

The innov