Skip to content

Instantly share code, notes, and snippets.

View sshbio's full-sized avatar

Sina Sharafzadeh sshbio

View GitHub Profile
@sshbio
sshbio / regular-expression-iranian-mobile.md
Created September 15, 2017 07:55 — forked from AliMD/regular-expression-iranian-mobile.md
Best Regular Expression for Detect Iranian Mobile Phone Numbers

Best Regular Expression for Detect Iranian Mobile Phone Numbers

I'm sure its best regular expression for detect iranian mobile number.

(0|\+98)?([ ]|,|-|[()]){0,2}9[1|2|3|4]([ ]|,|-|[()]){0,2}(?:[0-9]([ ]|,|-|[()]){0,2}){8}


use in javascript

@sshbio
sshbio / disable_zoom
Created June 26, 2015 13:14
disable zoom on smart phone , web app
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
@sshbio
sshbio / full_screen_capable
Created June 26, 2015 13:13
android , ios full screen capable web app
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
@sshbio
sshbio / soft open
Last active August 29, 2015 14:15
sublime text user profile
{
"folder_exclude_patterns":
[
".tmp",
".git",
".sass-cache",
"bower_components",
"node_modules"
],
"font_size": 12,