Skip to content

Instantly share code, notes, and snippets.

Arvind Padmanabhan arvindpdmn

Block or report user

Report or block arvindpdmn

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
arvindpdmn / SixHats.svg
Created Dec 2, 2019
Mindmap of Six Thinking Hats by Edward de Bono
View SixHats.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Regular Expressions
Devopedia, May 2019

0. Introduction

Read the basics of Regular Expressions on Devopedia site.

The rest of this document shows examples of regex for the purpose of learning. We follow PCRE (PHP) flavour. You may use Regex101 to try out these examples online.

For the purpose of this tutorial, we use the following format:

  • Search: input --> /regex/modifier --> result
arvindpdmn /
Last active Jan 25, 2019
JavaScript Done Right! (DOM, Events, Best Practices)

JavaScript Done Right!
Devopedia, Oct 2018

0. Introduction

In this meetup, we'll talk about DOM access and manipulation. This can be done in plain JavaScript using the new APIs introduced in ES6. It can also be done using jQuery. We will look at both approaches. We leave it to developers to choose what suits them.

As a study reference, look at the following cheat sheets:

arvindpdmn /
Last active Feb 24, 2020
JavaScript Done Right! (Basics, Functions, Inheritance, Async)

JavaScript Done Right!
Devopedia, Sept 2018

0. Introduction

JavaScript is one of the top programming languages today. It can also be confusing for developers coming from C, Java or PHP backgrounds. Worse still are the numerous frameworks (such as Angular and React) that make it difficult to decide what to learn and how to use the language.

In this short talk/demo, we'll look at the best practices in JavaScript programming. We'll explain using simple examples. This is for beginners and intermediate JS programmers. You must be familiar with JS syntax. We'll not cover DOM access, jQuery, Node.js or JS frameworks.

The recommendations here assume that you use a transpiler such as Babel so that code can work on older browsers. Therefore we freely use syntax from recent ECMAScript standards.

You can’t perform that action at this time.