mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 19:06:41 +07:00
commit dd104eed49
Author: Fedor Katurov <gotham48@gmail.com> Date: Thu Nov 3 10:38:11 2022 +0600 added whole content
This commit is contained in:
parent
dd104eed49
commit
25f1a3121c
290 changed files with 458 additions and 10942 deletions
1
api/_content/query/068glZS8Mz.json
Normal file
1
api/_content/query/068glZS8Mz.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/2vMf3x3doM.json
Normal file
1
api/_content/query/2vMf3x3doM.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/3Hb97eSb6i.json
Normal file
1
api/_content/query/3Hb97eSb6i.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"_path":"/linux/ssh","_dir":"linux","_draft":false,"_partial":false,"_locale":"en","_empty":false,"title":"SSH","description":"","excerpt":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"config-aliases-for-ssh-hosts"},"children":[{"type":"text","value":"Config aliases for #SSH hosts"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"#SSH config can be used to made aliases for different hosts. Should be put at "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"~/.ssh/config"}]},{"type":"text","value":". To simply call "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"ssh router"}]},{"type":"text","value":" without parameters, use this:"}]},{"type":"element","tag":"code","props":{"code":"Host router\n HostName 192.168.0.1\n IdentityFile ~/.ssh/id_rsa\n User root\n Port 22522\n"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"text","value":"Host router\n HostName 192.168.0.1\n IdentityFile ~/.ssh/id_rsa\n User root\n Port 22522\n"}]}]}]}]},"body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"config-aliases-for-ssh-hosts"},"children":[{"type":"text","value":"Config aliases for #SSH hosts"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"#SSH config can be used to made aliases for different hosts. Should be put at "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"~/.ssh/config"}]},{"type":"text","value":". To simply call "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"ssh router"}]},{"type":"text","value":" without parameters, use this:"}]},{"type":"element","tag":"code","props":{"code":"Host router\n HostName 192.168.0.1\n IdentityFile ~/.ssh/id_rsa\n User root\n Port 22522\n"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line"},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"Host router\n HostName 192.168.0.1\n IdentityFile ~/.ssh/id_rsa\n User root\n Port 22522"}]}]}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"config-aliases-for-ssh-hosts","depth":2,"text":"Config aliases for #SSH hosts"}]}},"_type":"markdown","_id":"content:Linux:SSH.md","_source":"content","_file":"Linux/SSH.md","_extension":"md"}
|
1
api/_content/query/4AUGrl0JGY.json
Normal file
1
api/_content/query/4AUGrl0JGY.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/8cFyiEqgoq.json
Normal file
1
api/_content/query/8cFyiEqgoq.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/CMMQ5oxSPg.json
Normal file
1
api/_content/query/CMMQ5oxSPg.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/DliR2N9mzp.json
Normal file
1
api/_content/query/DliR2N9mzp.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/EH6LeCIDqM.json
Normal file
1
api/_content/query/EH6LeCIDqM.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/FLiVxDo2qK.json
Normal file
1
api/_content/query/FLiVxDo2qK.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/KIXVn92YTN.json
Normal file
1
api/_content/query/KIXVn92YTN.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/LKdFxpydAG.json
Normal file
1
api/_content/query/LKdFxpydAG.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/Llpj9LBd4i.json
Normal file
1
api/_content/query/Llpj9LBd4i.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/O9PBAkuWXG.json
Normal file
1
api/_content/query/O9PBAkuWXG.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/PwERR4vHv2.json
Normal file
1
api/_content/query/PwERR4vHv2.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/QqziXmSF9l.json
Normal file
1
api/_content/query/QqziXmSF9l.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/S7L9CBleOj.json
Normal file
1
api/_content/query/S7L9CBleOj.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/TvYXYGXdZ0.json
Normal file
1
api/_content/query/TvYXYGXdZ0.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/UBl6xR2vxQ.json
Normal file
1
api/_content/query/UBl6xR2vxQ.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/WJQDeZ21lK.json
Normal file
1
api/_content/query/WJQDeZ21lK.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/WO7KYRkFiw.json
Normal file
1
api/_content/query/WO7KYRkFiw.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/WUiUHbO5Pg.json
Normal file
1
api/_content/query/WUiUHbO5Pg.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/a1s3E9iAyd.json
Normal file
1
api/_content/query/a1s3E9iAyd.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/aP6pCxBj14.json
Normal file
1
api/_content/query/aP6pCxBj14.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"_path":"/linux/resume-or-start-screen-session","_dir":"linux","_draft":false,"_partial":false,"_locale":"en","_empty":false,"title":"Resume Or Start Screen Session","description":"Running this script will enter currently running screen session or will start new one.","excerpt":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Running this script will enter currently running "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"screen"}]},{"type":"text","value":" session or will start new one."}]},{"type":"element","tag":"code","props":{"code":"( screen -r bash || ( screen -d bash && screen -r bash || screen -SAm bash bash ) )\n","language":"shell"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"text","value":"( screen -r bash || ( screen -d bash && screen -r bash || screen -SAm bash bash ) )\n"}]}]}]}]},"body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Running this script will enter currently running "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"screen"}]},{"type":"text","value":" session or will start new one."}]},{"type":"element","tag":"code","props":{"code":"( screen -r bash || ( screen -d bash && screen -r bash || screen -SAm bash bash ) )\n","language":"shell"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line"},"children":[{"type":"element","tag":"span","props":{"class":"ct-ac822e"},"children":[{"type":"text","value":"( screen -r bash "}]},{"type":"element","tag":"span","props":{"class":"ct-35a9ce"},"children":[{"type":"text","value":"||"}]},{"type":"element","tag":"span","props":{"class":"ct-ac822e"},"children":[{"type":"text","value":" ( screen -d bash "}]},{"type":"element","tag":"span","props":{"class":"ct-35a9ce"},"children":[{"type":"text","value":"&&"}]},{"type":"element","tag":"span","props":{"class":"ct-ac822e"},"children":[{"type":"text","value":" screen -r bash "}]},{"type":"element","tag":"span","props":{"class":"ct-35a9ce"},"children":[{"type":"text","value":"||"}]},{"type":"element","tag":"span","props":{"class":"ct-ac822e"},"children":[{"type":"text","value":" screen -SAm bash bash ) )"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-35a9ce{color:#FF7B72}.ct-ac822e{color:#C9D1D9}.light .ct-ac822e{color:#657B83}.light .ct-35a9ce{color:#859900}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:Linux:Resume or start screen session.md","_source":"content","_file":"Linux/Resume or start screen session.md","_extension":"md"}
|
1
api/_content/query/arOc40mIpI.json
Normal file
1
api/_content/query/arOc40mIpI.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/caMZB0IDKr.json
Normal file
1
api/_content/query/caMZB0IDKr.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"_path":"/docker/building-static-pages-with-docker","_dir":"docker","_draft":false,"_partial":false,"_locale":"en","_empty":false,"title":"Building Static Pages With Docker","description":"Sample #Dockerfile for static Typescript builds such a #nextjs, #gatsby or #nuxt:","excerpt":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Sample #Dockerfile for static Typescript builds such a #nextjs, #gatsby or #nuxt:"}]},{"type":"element","tag":"code","props":{"code":"FROM node:16-alpine as builder\nWORKDIR /app\nCOPY package.json yarn.lock ./\nRUN yarn\nCOPY . .\n\n# your generate command here\nRUN yarn generate\n\nFROM nginx\nCOPY --from=builder /app/dist /usr/share/nginx/html\n","language":"Dockerfile"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"text","value":"FROM node:16-alpine as builder\nWORKDIR /app\nCOPY package.json yarn.lock ./\nRUN yarn\nCOPY . .\n\n# your generate command here\nRUN yarn generate\n\nFROM nginx\nCOPY --from=builder /app/dist /usr/share/nginx/html\n"}]}]}]}]},"body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Sample #Dockerfile for static Typescript builds such a #nextjs, #gatsby or #nuxt:"}]},{"type":"element","tag":"code","props":{"code":"FROM node:16-alpine as builder\nWORKDIR /app\nCOPY package.json yarn.lock ./\nRUN yarn\nCOPY . .\n\n# your generate command here\nRUN yarn generate\n\nFROM nginx\nCOPY --from=builder /app/dist /usr/share/nginx/html\n","language":"Dockerfile"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line"},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"FROM node:16-alpine as builder\nWORKDIR /app\nCOPY package.json yarn.lock ./\nRUN yarn\nCOPY . .\n\n# your generate command here\nRUN yarn generate\n\nFROM nginx\nCOPY --from=builder /app/dist /usr/share/nginx/html"}]}]}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:Docker:Building static pages with Docker.md","_source":"content","_file":"Docker/Building static pages with Docker.md","_extension":"md"}
|
1
api/_content/query/eIcZslqPOz.json
Normal file
1
api/_content/query/eIcZslqPOz.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"_path":"/git/force-git-to-use-https","_dir":"git","_draft":false,"_partial":false,"_locale":"en","_empty":false,"title":"Force Git To Use HTTPS","description":"Forces #git to use https even if remote url is #SSH. Useful for the networks with blocked #ssh protocol.","excerpt":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Forces #git to use https even if remote url is #SSH. Useful for the networks with blocked #ssh protocol."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Put this inside your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"~/.gitconfig"}]},{"type":"text","value":":"}]},{"type":"element","tag":"code","props":{"code":"[url \"https://github.com\"]\n insteadOf = git://github.com\n","language":"c"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"text","value":"[url \"https://github.com\"]\n insteadOf = git://github.com\n"}]}]}]}]},"body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Forces #git to use https even if remote url is #SSH. Useful for the networks with blocked #ssh protocol."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Put this inside your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"~/.gitconfig"}]},{"type":"text","value":":"}]},{"type":"element","tag":"code","props":{"code":"[url \"https://github.com\"]\n insteadOf = git://github.com\n","language":"c"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line"},"children":[{"type":"element","tag":"span","props":{"class":"ct-35ce96"},"children":[{"type":"text","value":"[url "}]},{"type":"element","tag":"span","props":{"class":"ct-528a2e"},"children":[{"type":"text","value":"\"https://github.com\""}]},{"type":"element","tag":"span","props":{"class":"ct-35ce96"},"children":[{"type":"text","value":"]"}]}]},{"type":"element","tag":"span","props":{"class":"line"},"children":[{"type":"element","tag":"span","props":{"class":"ct-35ce96"},"children":[{"type":"text","value":" insteadOf "}]},{"type":"element","tag":"span","props":{"class":"ct-fa8b57"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-35ce96"},"children":[{"type":"text","value":" git:"}]},{"type":"element","tag":"span","props":{"class":"ct-3930f2"},"children":[{"type":"text","value":"//github.com"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-3930f2{color:#8B949E}.ct-fa8b57{color:#FF7B72}.ct-528a2e{color:#A5D6FF}.ct-35ce96{color:#C9D1D9}.light .ct-35ce96{color:#657B83}.light .ct-528a2e{color:#2AA198}.light .ct-fa8b57{color:#859900}.light .ct-3930f2{color:#93A1A1}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:Git:Force git to use HTTPS.md","_source":"content","_file":"Git/Force git to use HTTPS.md","_extension":"md"}
|
1
api/_content/query/epeSDkttbj.json
Normal file
1
api/_content/query/epeSDkttbj.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/gviYR2nAXj.json
Normal file
1
api/_content/query/gviYR2nAXj.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/iZIUw8pCoM.json
Normal file
1
api/_content/query/iZIUw8pCoM.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/ki2hTtdZ9z.json
Normal file
1
api/_content/query/ki2hTtdZ9z.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/kmbybMtElx.json
Normal file
1
api/_content/query/kmbybMtElx.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/pVAGVLBNPu.json
Normal file
1
api/_content/query/pVAGVLBNPu.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/pv8ckH0an3.json
Normal file
1
api/_content/query/pv8ckH0an3.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/rNRhET0KmZ.json
Normal file
1
api/_content/query/rNRhET0KmZ.json
Normal file
File diff suppressed because one or more lines are too long
1
api/_content/query/v8MG1Q8wMg.json
Normal file
1
api/_content/query/v8MG1Q8wMg.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue