Skip to content

Instantly share code, notes, and snippets.

@amanikiruga
amanikiruga / esm-package.md
Created August 23, 2023 23:48 — forked from sindresorhus/esm-package.md
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.

SSH keypair setup for GitHub (or GitHub/GitLab/BitBucket, etc, etc)

Create a repo.

Make sure there is at least one file in it (even just the README.md)

Generate a SSH key pair (private/public):

ssh-keygen -t rsa -C "[email protected]"
/*
Step 1: Open the youtube channel, go to the videos tab
Step 2: Right click on this page & select Inspect element
Step 3: Click on console tab, scroll down below,
Step 4. Paste the first code snippet to the console and hit enter
Step 5. Let the page loaded all the way down to the last video. Then again Copy and Paste the next code snippet to the console and hit enter

The Affect of Demographic Factors on Motor Vehicle Fatalaties Across The United States

Motivation

Over the past 50 years, the number of motor vehicles in the United States has risen over 150 million. While this has resulted in a more efficient means of mobility for many, it has also resulted in a large number of motor vehicle related deaths.

The goal of this study is to reveal any underlying relationship between demographic charactersics like gender, age and race and motor vehicle fatality patterns. The data I use is from the Fatal Analysis Reporting System (FARS) 2018, which is a record of fatal car accidents recorded by the National Highway Traffic Safety Administration (NTHSA) in 2018. This dataset includes both demographic data, specifically, gender, age and race in one table and accident related data such as manner of collision, time of collision and many more descriptors. Furthermore, FARS contains data of motor

Analysing Housing Conditions in Ames, Iowa

Motivation

Cities need to have good housing that is accessible in price to residents relative to their mean annual income. However, this is an ideal situation and is oftentimes the exception and not the rule. In most cases, safe housing with access to public utilities, roads and enough living space are affordable only for the wealthy and elite of the community.

Questions

In this study, I want to explore what factors affect the price of a house and how corellated are they to each other. Examples of questions I wish to explore:

https://github.com/amaniedu71/CISC367-h-w/tree/main/wk4/Jigsaw_Puzzle