Chrome browser in Android debug on desktop Chrome |
Type below on Desktop Chrome Address Field
chrome://inspect/#devices |
iis redirect https and www |
<system.webServer>
<rewrite> <rules> <rule name="Force WWW and SSL" enabled="true" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAny"> <add input="{HTTP_HOST}" pattern="^[^www]" /> <add input="{HTTPS}" pattern="off" /> </conditions> <action type="Redirect" url="https://www.SITENAME.com/{R:1}" appendQueryString="true" redirectType="Permanent" /> </rule> </rules> </rewrite> </system.webServer> |
sql epoch time |
How to deal with JWT expiration? |
Clear git local cache |
https://stackoverflow.com/questions/41863484/clear-git-local-cache
git rm -r --cached . git add . git commit -am 'git cache cleared' git push |
“Site is under construction” page for asp.net site |
App_Offline.htm file in the root
https://stackoverflow.com/questions/4181978/site-is-under-construction-page-for-asp-net-site/4182117 |
git show change logs of line |
git log -G "SOURCE STRING" filename.cs
https://stackoverflow.com/questions/9935379/git-show-all-of-the-various-changes-to-a-single-line-in-a-specified-file-over-t/27108677 |
install rj45 outlet on the wall |
Deta Cat 6 Double Ethernet RJ45 Outlet $23 X 2
https://www.bunnings.com.au/deta-cat-6-double-ethernet-rj45-outlet_p4430557 Antsig RJ45 Crimping Tool $21 x 1 https://www.bunnings.com.au/antsig-rj45-crimping-tool_p4360289 Antsig RJ45 Modular Connectors - 10 Pack $4.40 https://www.bunnings.com.au/antsig-rj45-modular-connectors-10-pack_p4360288 |
aspnet simple background work |
javascript json |
deep-diff
https://github.com/flitbit/diff [ { kind: 'E', path: [ 'name' ], lhs: 'my object', rhs: 'updated object' }, { kind: 'E', path: [ 'details', 'with', 2 ], lhs: 'elements', rhs: 'more' }, { kind: 'A', path: [ 'details', 'with' ], index: 3, item: { kind: 'N', rhs: 'elements' } }, { kind: 'A', path: [ 'details', 'with' ], index: 4, item: { kind: 'N', rhs: { than: 'before' } } } ] |
Regex for password must contain at least eight characters, at least one number... |
zxcvbn: Low-Budget Password Strength Estimation |
Return JSON Status and message in Web Api |
CSS Pattern Generator |
ASP.NET MVC Identity login without password |