Yogesh

Yogesh

Saturday, December 21, 2019

WAI-ARIA Accessibility A11Y

https://www.w3.org/TR/html-aria/
https://www.w3.org/TR/wai-aria-1.1/
https://www.w3.org/TR/wai-aria-practices-1.1/
https://www.w3.org/TR/using-aria/
https://www.w3.org/WAI/standards-guidelines/aria/
https://chrome.google.com/webstore/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh

Thursday, December 19, 2019

Required Input Field "*" using CSS and HTML5


HTML Table with fixed Header and Footer using CSS and HTML5

Monday, September 23, 2019

Free SSL certificate for a website


1. Generate CSR & Private Key using openssl
 Create a directory where you want to keep csr and private key and from that directory run this command: 
  $ openssl req -out CSRName.csr -new -newkey rsa:2048 -nodes -keyout ptivatekeyname.key 

2. a) Create a folder in your domain named ".well-known".

   b) Create another folder in your domain under ".well-known" named "acme-challenge".

3. Go to website https://www.sslforfree.com/
 enter your domain name for which ssl required -> Manual Verification -> Manually Verify Domain ->  
 
 Download File -> Upload the downloaded files to the "acme-challenge" folder

 (Note: Before uploading check the contents of downloaded file)

4. Verify successful upload by visiting the verify link.

5. Click Check Box I Have My Own CSR and copy & paste your CSR here.

6. a) Click Download SSL Certificate

   b) In downloaded zip there are two files Certificate.crt and ca_bundle.crt 
 
  c) Copy these two files Certificate.crt and ca_bundle.crt to directory where you created privatekey and csr.

7. configure in your server (Apache - httpd.conf)
After checking website on https (if it is working) then only redirect all http traffic to https.
8. For generating certificate in pfx format

$ openssl pkcs12 -export -out certificate.pfx -inkey privatekey.key -in certificate.crt -certfile intermediate.crt


Friday, September 13, 2019

Copy without content in Linux


rsync -a --include='*/' --exclude='*' source/ destination/
rsync -a --include '*/' --exclude '*' "/root/2019/" "/root/2020/"

Thursday, April 25, 2019

Unicode for HTML5 pattern

Link for Unicode character set range for Scripts https://jrgraphix.net/r/Unicode/

Unicode Validation pattern for HTML5 e.g. Devanagari pattern="[\u0900-\u097F\\ \\.\\,]+"

0900 — 097F Devanagari
0980 — 09FF Bengali
0A00 — 0A7F Gurmukhi
0A80 — 0AFF Gujarati
0B00 — 0B7F Oriya
0B80 — 0BFF Tamil
0C00 — 0C7F Telugu
0C80 — 0CFF Kannada
0D00 — 0D7F Malayalam

Tuesday, April 2, 2019

Apache Rewrite entry in/for Virtual Hosts

RewriteEngine on
  ReWriteCond %{SERVER_PORT} !^443$
  RewriteRule ^/(.*) https://sitename.level1.in/$1 [NC,R,L]
  RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
  RewriteRule ^(.*)$ https://sitename.level1.in/$1 [R=301,L]