Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Sharipov Javlonbek ensiente

🎯
Focusing
View GitHub Profile
@ensiente
ensiente / web
Created Oct 25, 2020
For package development
View web
https://www.makeareadme.com/ - example readme file
https://choosealicense.com/ - choose license for your project
https://github.com/olivierlacan/keep-a-changelog/blob/master/CHANGELOG.md - changelog example
View Open Server hosts file fix
attrib.exe -s -r -h -a C:\Windows\system32\drivers\etc\hosts
View Phone number regex (Uzbekistan)
(?:\+\(*[9]{2}[8]\)*\ *[0-9]{2}\ *[0-9]{3}(\-| )*[0-9]{2}(\-| )*[0-9]{2})
View .htaccess_for_root
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(web)
RewriteRule ^assets/(.*)$ /web/assets/$1 [L]
RewriteRule ^css/(.*)$ web/css/$1 [L]
RewriteRule ^js/(.*)$ web/js/$1 [L]
RewriteRule ^images/(.*)$ web/images/$1 [L]
RewriteRule (.*) /web/$1
View media-queries.css
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ }
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ }
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ }
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:961px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }