Instantly share code, notes, and snippets.

View letsencrypt-easyengine-manual-install.md
View ipinfo.io.json
{
"ip": "66.87.125.72",
"hostname": "66-87-125-72.pools.spcsdns.net",
"city": "Southbridge",
"region": "Massachusetts",
"country": "US",
"loc": "42.0707,-72.0440",
"postal": "01550",
"asn": {
"asn": "AS10507",
View ahmad-awais.md
→ I am a Full Stack Web Developer — well versed with JavaScript (MERN/MEAN), PHP (LAMP/LEMP), JAM (JavaScript API Markup) stacks
→ I am also a full-time #OpenSourcerer 🎩— which means knowledge of open sourcing, collaboration, Git, GitHub, etc
→ I love working with developers in Developer Relations as a Developer Advocate — passionate about Dev-Tooling, Dev-Experience, etc
→ I have a degree in Electrical Engineering, I love Emoji 💜 and sometimes crack terrible jokes 🤣
→ I’ve been blogging for over 15 years — writing content is a skill which has led me to become somewhat a thought-leader in JavaScript/WordPress space
→ I spent 12 years with WordPress — Core Dev, Core JS Team, Contributor to Customizer, WooCommerce, EDD, Default Themes, WP REST API, Gutenberg, etc

FMfcgxvzKtZxclGLZcwTrfBQshFbhCJG

View OneDevMinute.md
title category date
#OneDevMinute Process 🤔
Process
2018-10-05

OneDevMinute

My current process of #OneDevMinute which I intend to automate and make it a bit better. It takes me about 2 hours to all of this for a one #OneDevMinute video.

View OneDevMinute.md
title category date
#Hacktoberfest — Contribute to Open Source by Learning to Create A Github Pull Request
Git
2018-10-01

OneDevMinute

🙌 As a full-time #OpenSourcerer — October is one of my favorite months. And it's October already. Today's #OneDevMinute is about #Hacktoberfest — it's a month-long online event where you signup at GitHub.com and Hacktoberfest to celebrate Open Source by contributing at least five times between Oct 1-31.

View OneDevMinute.md
title category date
Go To Previous Git Branch Or Previous Directory via Terminal
Git
2018-09-28

OneDevMinute

Another #OneDevMinute where you'll learn about how easy it is to access the previous git branch, and then again do the same with normal directories in your terminal.

View OneDevMinute.md
title category date
Delete a Git branch both locally and remotely [Shell aliases + functions]
Shell, Git
2018-09-24

OneDevMinute

Deleting a git branch locally is pretty easy, just do a git branch -D branch_name and you're done. But when you have pushed that branch to remote, it becomes a bit more complex. You can't just delete the local branch and do a git push. Instead you have to do a git push origin --delete branch_name to delete it from the remote.

View OneDevMinute.md

OneDevMinute

Ever had that typo where you wrote cd.. instead of cd .. — well this tip not only addresses that typo but also adds a couple other aliases to help you easily navigate through your systems directories. #OneDevMinute

################################################
# 🔥 #OneDevMinute
#
# Daily one minute developer tips.
# Ahmad Awais (https://twitter.com/MrAhmadAwais)
View README.md

VSCode Node + Babel Recipe

Debug Modern JavaScript with VSCode. Part of VSCode Course.

1. init a module:

npm init -y
View wp_usermeta.md

Show and Edit User Meta in WordPress

Description

This simple procedure will allow you to:

  1. Display user meta fields under in the user list as additional columsn (Users > All Users).
  2. Display these fields on user profiles.
  3. Edit these fields under user edit.

This method works completely without plugins and involves just some functions and hooks in functions.php. Plugins like "User Meta Display" achieve this to some level, but treat custom meta fiedlds completely different from the regular fields. They are shown and edited in seperate environment and fail to show the meta data is a table list. This method integrates custom user meta along with regular user (meta).