Skip to content

Instantly share code, notes, and snippets.

View juliyvchirkov's full-sized avatar
馃嚭馃嚘
old but not obsolete

Juliy V. Chirkov juliyvchirkov

馃嚭馃嚘
old but not obsolete
View GitHub Profile
@juliyvchirkov
juliyvchirkov / validEmail.js
Last active January 15, 2025 21:26
javascript: strict e-mail address verification
/**
* Provides strict verification of e-mail address
* Includes support for unicode
*
* @param string E-mail address to verify
* @return boolean True if e-mail address is valid, false otherwise
*/
const validEmail = (email) =>
Object.prototype.toString.call(email).slice(8, -1) === String.name &&
@juliyvchirkov
juliyvchirkov / readme.md
Last active June 21, 2024 07:25
sh: world known common command which, implemented as shell function, fully POSIX compliant

Which

World known regular command which, implemented as sh shell function, fully POSIX compliant

The project has been significantly improved and moved to the new permanent location github.com/juliyvchirkov/sh.which