Skip to content

Instantly share code, notes, and snippets.

Introduction to Python Programming

Instructor: Chizaram Igolo

Prologue: Introduction to Tools

Tools: Python CLI & Python IDLE, PyCharm, Anaconda & Jupyter NoteBook

Resource(s): Python’s Official Documentation (https://docs.python.org)

# After going through this Gist file you would have learnt:
#
# 1) How to define functions and why they are important.
# 2) What Parameters and Arguments are and how to use them in functions.
# 3) Types of Functions.
# A Function is a block of statement(s) that can be used more than once.
# Functions make it easy to decouple and resuse our code.
# Rule of Thumb
# After going through this Gist file you would have learnt:
#
# 1) The different types of arguments; Positional and Keyword
# and the differences between them.
# 2) How to use Positional and Keyword arguments singly and together.
# 3) How to specify default arguments.
# Functions are not limited to simple expressions. We can have conditional
# statements, comparison expressions and other kinds of control flow statements
# that we have in programs without functions as you'll see.
#!/usr/bin/env bash
echo "
----------------------
NODE & NPM
----------------------
"
# add nodejs 10 ppa (personal package archive) from nodesource
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
@Chizaram-Igolo
Chizaram-Igolo / setup_ec2_ubuntu_server.sh
Last active May 18, 2021 04:51
Script for Setting Up WordPress on EC2 Ubuntu Instance
#!/usr/bin/env bash
# Update the server
sudo apt-get update -y
# Install Apache
sudo apt-get install apache2 -y
# Install MySQL Server
sudo apt-get install mysql-server -y
@Chizaram-Igolo
Chizaram-Igolo / extract_contact_details_from_vcf.js
Last active June 2, 2021 12:21
A JavaScript event handler that extracts only names and phone numbers from a .VCF file.
extractContactDetails(evt, vcfContent) {
// An event handler that after having read a .VCF file
// proceeds to filter through the contents of that file
// extracting only names and phone numbers.
evt.preventDefault();
let result = vcfContent;
let allContacts = [];
let itemsCount;
@Chizaram-Igolo
Chizaram-Igolo / extract_contact_details_from_vcf.jsx
Created June 2, 2021 14:34
A React event handler that extracts only names and phone numbers from a .VCF file.
handleFile(evt) {
// A ReactJS event handle that after having read a .VCF file
// procees to filter through the contents of that file
// extracting only names and phone numbers.
evt.preventDefault();
let result = this.state.vcfContent;
result = result.toLowerCase();

Project Details

Tell me and I forget. Teach me and I may remember. Involve me and I learn - Benjamin Franklin

Can Neural Networks do a better job in the hiring process? While it is obvious that they will save time allowing for recruiters to reallocate their time for other tasks and only examine promising candidates, will they truly get an intuitive understanding of human languages and get rid of prejudices that may arise during selection by hand?

On the Approach of this Project

This project will use a keywordless approach in producing a selection procedure for candidates so that the machine doesn't overfit the model on keywords. "Most recruiters focus on keywords and it's almost impossible to guarantee a fair process of candidate selection (Singh, 2016)" - Page 4 of the proposal paper.

The scope of this project and the data that will be considered later for training its neural network is on entry level/graduate positions with more emphasis on "...broad abilities such as general cognitive abili

function getTodos(resource) {
return new Promise((resolve, reject) => {
const request = new XMLHttpRequest();
request.addEventListener("readystatechange", () => {
if (request.readyState === 4 && request.status === 200) {
resolve(request.responseText);
} else if (request.readyState === 4) {
reject("Error getting resource");
}
function getTodos(resource) {
return new Promise((resolve, reject) => {
const request = new XMLHttpRequest();
request.addEventListener("readystatechange", () => {
if (request.readyState === 4 && request.status === 200) {
resolve(request.responseText);
} else if (request.readyState === 4) {
reject("Error getting resource");
}