Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View fazliraziq's full-sized avatar
🏠
Working from home

Fazli Raziq fazliraziq

🏠
Working from home
  • Caffeine
  • Islamabad
View GitHub Profile
FROM debian:stable
RUN groupadd --gid 1000 angular \
&& useradd --uid 1000 --gid angular --shell /bin/bash --create-home angular \
&& apt update && apt install curl -y
RUN curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \
&& apt-get install -y nodejs
RUN echo n | npm install -g --silent @angular/cli@10.2
@fazliraziq
fazliraziq / regularExpression.js
Last active June 18, 2021 15:53
Javascript Snippets
//Regular Expression for validation of MobilePhone Numbers
var str = "+0099812731";
var patt = new RegExp("^[+|0/d]([0-9]{12})$");
var res = patt.test(str);
console.log(res);