Skip to content

Instantly share code, notes, and snippets.

Edutaining at

Ahmad Awais ⚡️ ahmadawais

Edutaining at
Block or report user

Report or block ahmadawais

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
"ip": "",
"type": "ipv4",
"continent_code": "AS",
"continent_name": "Asia",
"country_code": "PK",
"country_name": "Pakistan",
"region_code": "05",
"region_name": "Sindh",
"city": "Karachi",
ahmadawais /
Created Jun 18, 2019
Add Sub Domain on Zeit Now as an Alias

Add Sub Domain on Zeit Now as an Alias

ahmadawais / parser.ts
Created Apr 19, 2019 — forked from MaxGabriel/parser.ts
Date parsing code
View parser.ts
import * as P from 'parsimmon'
import Day from '~/utils/Day'
import Month from '~/utils/Month'
const shortMonths = {
jan: 1,
feb: 2,
mar: 3,
apr: 4,
may: 5,
View github-usernames-list.js
* Get GitHub usernames that contributed in a file.
* @author AhmadAwais <>
* @since 2019-04-03
const usernames = [];
// Select the right data of anchor links and loop over it.
View index.html
<form action="" method="POST" id="example-form" class="form" autocomplete="off">
<fieldset class="form__fieldset">
<div class="form__field">
<label for="name" class="form__label">Name</label>
ahmadawais /
Last active Jan 15, 2019
WordPress Governance Meeting Notes #1

WordPress Governance Meeting Notes #1

What's Next:

  • #internal-gov — This channel is key right now to discuss how we will manage the project and that group can submit proposals to the rest of us for discussion. They will be researching project management models and the code of conduct, among other things.
  • #research-wp-gov — Focusing on research and documentation of existing WordPress governance. Define the current WP governance structure (or a form of it) (
  • #research-gov-models — Research on other (successful) forms of governance in Open Source pro
ahmadawais / regexCheatsheet.js
Created Jan 15, 2019 — forked from sarthology/regexCheatsheet.js
A regex cheatsheet 👩🏻‍💻 (by Catherine)
View regexCheatsheet.js
let regex;
/* matching a specific string */
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello"
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO"
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes...
/* wildcards */
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo"
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo"
ahmadawais /
Last active Dec 4, 2018
WP Gutenberg Stats!

Gutenberg Stats

ahmadawais /
Created Dec 2, 2018
Find the elements that are causing a horizontal scroll. Based on

Debug Horizontal Scroll

You can’t perform that action at this time.