Skip to content

Instantly share code, notes, and snippets.

View itskhaledmohammad's full-sized avatar

Khaled Mohammad itskhaledmohammad

View GitHub Profile
@itskhaledmohammad
itskhaledmohammad / githubStats.js
Last active January 6, 2018 16:20
This script shows you some cool stats of your GitHub profile in your browser's console.
/*
* Author: Khaled Mohammad
* Dated: 6th January, 2018
*
* How to use:
* 1.Go to your github profile page: github.com/<yourusername>/
* 2.Open console by pressing F12.
* 3.Paste the code below.
* 4.It will show you some juicy stats about your profile.Tadaaa!
*
@itskhaledmohammad
itskhaledmohammad / duration.js
Last active January 1, 2020 19:01
Get Duration of a WesBos's Course.
var mins = 0;
var sec = 0;
durations = Array.from(document.querySelectorAll('.duration'))
durations.forEach(e => {
mins += parseInt(e.textContent.split(":")[0]);
sec += parseInt(e.textContent.split(":")[1]);
})
sec += (mins * 60)
new Date(sec * 1000).toISOString().substr(11, 8);
@itskhaledmohammad
itskhaledmohammad / gist:4302c269b38b4839272df4900f9a3bea
Created November 10, 2020 21:26
CSE431 - Assignment 1 - Fall 2020 - 19141028
Khaled
Khalid
Khalead
Khaleed
Khal[e|i][e|a]*d