Skip to content

Instantly share code, notes, and snippets.

👨‍🏫
Edutaining at VSCode.pro

Ahmad Awais ⚡️ ahmadawais

👨‍🏫
Edutaining at VSCode.pro
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
View ipapi.com.json
{
"ip": "119.155.50.57",
"type": "ipv4",
"continent_code": "AS",
"continent_name": "Asia",
"country_code": "PK",
"country_name": "Pakistan",
"region_code": "05",
"region_name": "Sindh",
"city": "Karachi",
@ahmadawais
ahmadawais / now.md
Created Jun 18, 2019
Add Sub Domain on Zeit Now as an Alias
View now.md


Add Sub Domain on Zeit Now as an Alias

@ahmadawais
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 <https://github.com/AhmadAwais>
* @since 2019-04-03
*/
const usernames = [];
// Select the right data of anchor links and loop over it.
View index.html
<div>
<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>
<input
type="text"
id="name"
class="form__input"
@ahmadawais
ahmadawais / README.md
Last active Jan 15, 2019
WordPress Governance Meeting Notes #1
View README.md

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) (make.wordpress.org/core/handbook/about/organization/).
  • #research-gov-models — Research on other (successful) forms of governance in Open Source pro
@ahmadawais
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
ahmadawais / stats.md
Last active Dec 4, 2018
WP Gutenberg Stats!
View stats.md


Gutenberg Stats

@ahmadawais
ahmadawais / README.md
Created Dec 2, 2018
Find the elements that are causing a horizontal scroll. Based on http://css-tricks.com/findingfixing-unintended-body-overflow
View README.md


Debug Horizontal Scroll

You can’t perform that action at this time.