Skip to content

Instantly share code, notes, and snippets.

View janrenn's full-sized avatar

janrenn janrenn

View GitHub Profile
@janrenn
janrenn / input.scss
Created October 8, 2020 07:32
Generated by SassMeister.com.
.foo {
width: max(100px, env(safe-area-inset-left));
background-clip: border-box;
-webkit-box-reflect: below 5px url(mask.png);
filter: grayscale(50%);
word-break: break-word;
hyphens: auto;
transform: rotate(30deg);
}
/* https://autoprefixer.github.io/ */
@janrenn
janrenn / browserslist
Last active October 8, 2020 07:28
Generated by SassMeister.com.
> 0.3%
last 2 versions
@janrenn
janrenn / input.scss
Created October 8, 2020 07:14
Generated by SassMeister.com.
.foo {
width: max(10px, env(safe-area-inset-left));
background-clip: border-box;
-webkit-box-reflect: below 5px url(mask.png);
filter: grayscale(50%);
word-break: break-word;
-webkit-hyphens: auto;
}
@mixin foobar {
@janrenn
janrenn / browserslist
Last active October 8, 2020 07:07
Generated by SassMeister.com.
> 0.3%
last 2 versions
not dead
Chrome >= 45
Firefox >= 38
Edge >= 12
Explorer >= 11
iOS >= 9
Safari >= 9
Android >= 4.4
@janrenn
janrenn / self-signed-certificate-with-custom-ca.md
Last active August 20, 2020 21:11 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
$trim($num(%track%,2) - $replace(%artist%,Ç,C,À,A,á,a,ä,a,à,a,č,c,ç,c,ď,d,é,e,ě,e,è,e,ë,e,í,i,ï,i,ì,i,ň,n,ñ,n,ó,o,ö,o,ò,o,ô,o,õ,o,ř,r,š,s,ť,t,ú,u,ü,u,ů,u,ý,y,ÿ,y,ž,z,þ,th,ð,d,æ,ae,ƒ,f,Á,A,Ä,A,À,A,Č,C,Ç,C,Ď,D,É,E,Ě,E,È,E,Ë,E,Í,I,Ï,I,Ì,I,Ň,N,Ñ,N,Ó,O,Ö,O,Ò,O,Ô,O,Õ,O,Ř,R,Š,S,Ť,T,Ú,U,Ü,U,Ů,U,Ý,Y,Ÿ,Y,Ž,Z,Þ,TH,Ð,D,Æ,AE,Ƒ,F) - $replace(%title%,Ç,C,À,A,á,a,ä,a,à,a,č,c,ç,c,ď,d,é,e,ě,e,è,e,ë,e,í,i,ï,i,ì,i,ň,n,ñ,n,ó,o,ö,o,ò,o,ô,o,õ,o,ř,r,š,s,ť,t,ú,u,ü,u,ů,u,ý,y,ÿ,y,ž,z,þ,th,ð,d,æ,ae,ƒ,f,Á,A,Ä,A,À,A,Č,C,Ç,C,Ď,D,É,E,Ě,E,È,E,Ë,E,Í,I,Ï,I,Ì,I,Ň,N,Ñ,N,Ó,O,Ö,O,Ò,O,Ô,O,Õ,O,Ř,R,Š,S,Ť,T,Ú,U,Ü,U,Ů,U,Ý,Y,Ÿ,Y,Ž,Z,Þ,TH,Ð,D,Æ,AE,Ƒ,F))
@janrenn
janrenn / htmlhintrc.json
Created March 27, 2019 16:28
htmlhintrc
{
"tagname-lowercase": true,
"attr-lowercase": true,
"attr-value-double-quotes": true,
"doctype-first": true,
"tag-pair": true,
"spec-char-escape": true,
"id-unique": true,
"src-not-empty": true,
"attr-no-duplication": true,
@janrenn
janrenn / .stylelintrc.json
Last active March 27, 2019 13:55
.stylelintrc
{
"plugins": [
"stylelint-selector-bem-pattern"
],
"extends": [
"stylelint-config-standard",
"stylelint-config-visionapps-order"
],
"rules": {
"at-rule-empty-line-before": null,
$replace(%title%,á,a,ä,a,à,a,č,c,ç,c,ď,d,é,e,ě,e,è,e,ë,e,í,i,ï,i,ì,i,ľ,l,ň,n,ñ,n,ó,o,ö,o,ò,o,ô,o,õ,o,ř,r,š,s,ť,t,ú,u,ü,u,ů,u,ý,y,ÿ,y,ž,z,þ,th,ð,d,æ,ae,ƒ,f)
$replace(%title%,Á,A,Ä,A,À,A,Č,C,Ç,C,Ď,D,É,E,Ě,E,È,E,Ë,E,Í,I,Ï,I,Ì,I,Ľ,L,Ň,N,Ñ,N,Ó,O,Ö,O,Ò,O,Ô,O,Õ,O,Ř,R,Š,S,Ť,T,Ú,U,Ü,U,Ů,U,Ý,Y,Ÿ,Y,Ž,Z,Þ,TH,Ð,D,Æ,AE,Ƒ,F)