From cdc3b2ecb0580f9f9ac5e0c554f8f275e075cdce Mon Sep 17 00:00:00 2001 From: Bryan C Guner Date: Sat, 27 Aug 2022 08:51:33 +0000 Subject: [PATCH] update --- .gitignore | 2 +- .node-version | 1 + .npmrc | 1 + .nvmrc | 2 +- CHANGELOG.md | 1378 +++ CODE_OF_CONDUCT.md | 128 + CONTRIBUTING.md | 92 + LICENSE.md | 40 + README.md | 560 +- TODO.md | 15 + bash-commands.md | 2016 ++++ gatsby-browser.js | 40 +- gatsby-config.js | 161 +- gatsby-ssr.js | 42 +- googled2b1865dedd985a4.html | 1 + googleda6d8ada39ae370c.html | 1 + navigation.md | 396 + package-lock.json | 21925 ++++++++++++++++++++++++++++++++++ package.json | 7 +- site-metadata.json | 1063 +- sitemap.xml | 1766 +++ vercel.json | 6 +- 22 files changed, 28909 insertions(+), 734 deletions(-) create mode 100644 .node-version create mode 100644 .npmrc create mode 100644 CHANGELOG.md create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md create mode 100644 LICENSE.md create mode 100644 TODO.md create mode 100644 bash-commands.md create mode 100644 googled2b1865dedd985a4.html create mode 100644 googleda6d8ada39ae370c.html create mode 100644 navigation.md create mode 100644 package-lock.json create mode 100644 sitemap.xml diff --git a/.gitignore b/.gitignore index 7b2db3f367..36c225550e 100644 --- a/.gitignore +++ b/.gitignore @@ -76,7 +76,7 @@ node_modules/ *public/ -package-lock.json +package.lock.json # Local Netlify folder .netlify diff --git a/.node-version b/.node-version new file mode 100644 index 0000000000..654afc8e19 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +14.7.0 diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000..5d35b284eb --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +{ "engines" : { "node" : ">=0.14" } } diff --git a/.nvmrc b/.nvmrc index d18453764c..654afc8e19 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.5.0 +14.7.0 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000..40336b6d94 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,1378 @@ +Git History on master by all authors + +
+ + + Original + + + + +Merge pull request #1564 from bgoonz/master +3e3b8baab (HEAD -> master, origin/master, origin/HEAD) by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) + +Merge pull request #1563 from bgoonz/preview +ec957a352 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) + +arrow-functions.md: changed +11c02b629 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 485 insertions(+) + +arrow-functions.md: changed +7810402c8 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +arrow-functions.md: changed +88007d5b6 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +arrow-functions.md: changed +c2c171e14 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +arrow_functions.md: changed +c289b78b9 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 482 deletions(-) + +arrow_functions.md: changed +c50b15f4c by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 33 insertions(+), 33 deletions(-) + +arrow_functions.md: changed +53bfee217 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 482 insertions(+) + +arrow_functions.md: changed +2ef2eeb91 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 482 deletions(-) + +bigo.md: removed +b08a46211 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 99 deletions(-) + +big-o.md: changed +e1c693189 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 7 insertions(+) + +bigo.md: changed +74350efe3 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 7 deletions(-) + +bigo.md: changed +0f1af8c67 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +bigo.md: changed +34dabe28f by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +bigo.md: changed +829b8e7fa by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_animations.scss: removed +9b1cccc77 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +main.yml: changed +95d2e3cfe by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1562 from bgoonz/master +5da883428 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) + +Create main.yml +4e1760df2 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) +1 file changed, 24 insertions(+) + +Add files via upload +029dbf868 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) +16 files changed, 3468 insertions(+), 1968 deletions(-) + +first-100.md: changed +2b899d31a by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 12 insertions(+), 1 deletion(-) + +first-100.md: changed +c43e50b20 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 11042 insertions(+) + +first-100.md: added +7be93fb72 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1561 from bgoonz/master +ffb04efe8 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) + +Merge pull request #1560 from bgoonz/preview +68d7afa15 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) + +site-metadata.json: Multiple updates: _updated social_links in footer_ updated links in footer \* updated new_window in links +cb64efe0c by Bryan Guner , Sat Jan 22 2022 (2 days ago) +1 file changed, 17 insertions(+), 1 deletion(-) + +site-metadata.json: updated style in links +02e19f657 by Bryan Guner , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +site-metadata.json: updated url in links +681dc1538 by Bryan Guner , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +site-metadata.json: updated label in links +e71546bfb by Bryan Guner , Sat Jan 22 2022 (2 days ago) +1 file changed, 1 insertion(+), 2 deletions(-) + +Merge remote-tracking branch 'origin/preview' into preview +d359c6d0c by Stackbit , Sat Jan 22 2022 (2 days ago) + +sandbox.config.json: removed +62c064142 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 8 deletions(-) + +Merge pull request #1559 from bgoonz/master +f3d773a04 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) + +Merge pull request #1558 from bgoonz/preview +11c956350 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) + +sandbox.config.json: removed +891f7ce02 by Stackbit Code Editor , Sat Jan 22 2022 (2 days ago) +1 file changed, 8 deletions(-) + +Merge pull request #1557 from bgoonz/master +8d62008a2 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) + +Add files via upload +9c92457ca by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sat Jan 22 2022 (2 days ago) +5 files changed, 249 insertions(+), 250 deletions(-) + +Merge pull request #1556 from bgoonz/master +154c6ceaa by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1555 from bgoonz/preview +3bfe81a4c by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1554 from bgoonz/master +135ea39f9 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1553 from bgoonz/preview +950b13c48 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1552 from bgoonz/master +8b44d806b by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1551 from bgoonz/preview +1f0ee96a3 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1550 from bgoonz/master +b76470c76 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Add files via upload +804fa6a69 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +6 files changed, 435 insertions(+), 436 deletions(-) + +github-profiles.md: added +f9b9eb4f2 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +search.html: added +abd410776 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +links.md: added +a474260ff by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Config.yml: added +7624d55a8 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1549 from bgoonz/master +2c8a2cdc2 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1548 from Web-Dev-Collaborative/master +6082b0a8d by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge branch 'bgoonz:master' into master +e94e9f537 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Add files via upload +da8918573 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +18 files changed, 1940 insertions(+), 2348 deletions(-) + +Create github-profiles.md +b8ff2ca1e by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +1 file changed, 112 insertions(+) + +Merge branch 'master' of +f7771c7cf by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #2 from bgoonz/master +d586c2ff7 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +.vscode delete +8689d9f66 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +2 files changed, 30 deletions(-) + +react-w-api.md: changed +21e5809d9 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +react-w-api.md: added +08e5f8f35 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +1 file changed, 20 insertions(+) + +Merge pull request #1546 from bgoonz/master +aafbbd0f3 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1545 from bgoonz/preview +737f1f0dd by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request (#1544) +750ed39dd by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request (#1543) +4a840ab25 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +9 files changed, 94177 insertions(+), 5 deletions(-) + +Merge pull request #1539 from bgoonz/preview (#1542) +92ef28c99 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1539 from bgoonz/preview (#1541) +d8ff5c7a4 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1539 from bgoonz/preview (#1540) +5386771e2 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Update README.md +ac7d2533b by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +hi +fe40ae3de by Bryan Guner , Fri Jan 21 2022 (3 days ago) + +Merge pull request #1539 from bgoonz/preview +2e3e3909d by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1538 from bgoonz/master +900223e60 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1537 from bgoonz/preview +abb6a74d0 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1536 from bgoonz/master +7cffeb3f2 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +-update +d0102a8c5 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +2 files changed, 14 insertions(+) + +Merge pull request #1535 from bgoonz/preview +ce0449dfa by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1534 from bgoonz/master +695be52f5 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +-update +7bbcdeeee by Bryan Guner , Fri Jan 21 2022 (3 days ago) +2 files changed, 1362 insertions(+), 1720 deletions(-) + +Merge pull request #1533 from bgoonz/master +4a3ab6008 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +-update +b91edf344 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +1 file changed, 10 insertions(+) + +Merge pull request #1532 from bgoonz/master +6ebf0c037 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +-update +f92a6aa78 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +1 file changed, 23 insertions(+) + +-update +4f14fb34c by Bryan Guner , Fri Jan 21 2022 (3 days ago) +3 files changed, 3204 insertions(+), 1 deletion(-) + +Merge pull request #1531 from bgoonz/master +ee3fbff37 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +-update +4f67fb570 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +4 files changed, 70 insertions(+), 3 deletions(-) + +Merge pull request #1530 from bgoonz/preview +632df7e7b by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +index.md: updated url in actions +62006835f by Bryan Guner , Fri Jan 21 2022 (3 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +fixup links +39637aa1c by Bryan Guner , Fri Jan 21 2022 (3 days ago) +364 files changed, 485 insertions(+), 230424 deletions(-) + +hi +c3c681777 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +364 files changed, 1209 insertions(+), 1209 deletions(-) + +Merge branch 'master' of +a41090f64 by Bryan Guner , Fri Jan 21 2022 (3 days ago) + +main-projects.md: added +e69dee540 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +bash-intro.md: added +5aae32300 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge branch 'preview' of into preview +db9888093 by Bryan Guner , Fri Jan 21 2022 (3 days ago) + +.env: removed +61fde1b41 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 3 deletions(-) + +content +6a07de4ec by Bryan Guner , Fri Jan 21 2022 (3 days ago) +31 files changed, 182 insertions(+), 344 deletions(-) + +install-python-ubuntu.md: added +75efe7a50 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +netlify.md: added +a0f8a1c3e by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +github-api.md: added +e292702fc by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +content +4fe5f57c7 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +9 files changed, 553 insertions(+), 25795 deletions(-) + +Merge pull request #1529 from bgoonz/master +8027f4566 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +algolia.js: changed +c015dc3ef by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 10 insertions(+), 3 deletions(-) + +algolia.js: changed +924db06e4 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 3 insertions(+) + +algolia.js: changed +f1fd6a8ce by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +-update +7080a88a0 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +1 file changed, 2 insertions(+), 10 deletions(-) + +Merge pull request #1528 from bgoonz/preview +985257b6e by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1527 from bgoonz/master +2a52a2ca6 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) + +Merge pull request #1526 from bgoonz/preview +05c9e4526 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +index.md: changed +c9828a562 by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +index.md: changed +af437989a by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +index.md: changed +f228e4fee by Stackbit Code Editor , Fri Jan 21 2022 (3 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +index.md: updated image in sections +7ee860ba3 by Bryan Guner , Fri Jan 21 2022 (3 days ago) +1 file changed, 1 deletion(-) + +Merge pull request #1525 from bgoonz/master +a76c00b2e by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +c672888f2 by bgoonz , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +-update +495a32440 by bgoonz , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +-update +df08126c0 by bgoonz , Fri Jan 21 2022 (4 days ago) +153 files changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1524 from bgoonz/master +258b58731 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +178d3f57c by bgoonz , Fri Jan 21 2022 (4 days ago) +105 files changed, 0 insertions(+), 0 deletions(-) + +hi +da9a83f64 by bgoonz , Fri Jan 21 2022 (4 days ago) +3 files changed, 0 insertions(+), 0 deletions(-) + +hi +9a1e204c8 by bgoonz , Fri Jan 21 2022 (4 days ago) +11 files changed, 0 insertions(+), 0 deletions(-) + +-update +36526b1df by bgoonz , Fri Jan 21 2022 (4 days ago) +273 files changed, 0 insertions(+), 0 deletions(-) + +Merge remote-tracking branch 'origin/preview' +53ff75e91 by Stackbit , Fri Jan 21 2022 (4 days ago) + +Merge pull request #1523 from bgoonz/master +c77d8e563 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1522 from bgoonz/STABLE_BACKUP_SSG +86a10f166 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1517 from bgoonz/preview +1ce282a85 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +webscrape.jpeg: added +2b528b7a8 by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +web-scraping.md: updated thumb_image_alt +e2e08560d by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+) + +web-scraping.md: updated thumb_image +39794bb04 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 26 insertions(+), 26 deletions(-) + +webscrape.jpeg: added +bd4018daf by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1520 from bgoonz/master +f7b094110 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1519 from bgoonz/preview +6d747f1a9 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +js-closure.md: updated thumb_image_alt +b10d162f1 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +my-blog.png: added +5e120b5fc by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +index.md: updated value in extra +759bfa19b by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 27 insertions(+), 27 deletions(-) + +my-blog.png: added +ff822272a by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1518 from bgoonz/master +d1501732b by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge remote-tracking branch 'origin/preview' +005b32bde by Stackbit , Fri Jan 21 2022 (4 days ago) + +index.md: updated date +9e4db081f by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+) + +chrome_z7gswAaLMg.png: added +686032657 by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +index.md: updated thumb_img +0163d7e26 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 19 insertions(+), 18 deletions(-) + +chrome_z7gswAaLMg.png: added +9a1df098c by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +-update +1c1c4b559 by bgoonz , Fri Jan 21 2022 (4 days ago) +1 file changed, 16 insertions(+), 149 deletions(-) + +index.md: updated date +3a2dde933 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+) + +docs-d74e2940.png: added +9264409c7 by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +index.md: updated thumb_img +0beda41f1 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 22 insertions(+), 21 deletions(-) + +docs-d74e2940.png: added +bc041ac74 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +stackbit.yaml: updated by Schema Editor +5e0d3f2b9 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 2 insertions(+) + +stackbit.yaml: updated by Schema Editor +ebe7df3b9 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +stackbit.yaml: updated by Schema Editor +4e398b54c by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 147 insertions(+), 17 deletions(-) + +site-metadata.json: updated links in footer +4324a50f2 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 8 insertions(+) + +Merge pull request #1516 from bgoonz/master +254801041 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +7f3a21cd2 by bgoonz , Fri Jan 21 2022 (4 days ago) +1 file changed, 3 insertions(+) + +Merge pull request #1515 from bgoonz/master +5a5db5115 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +6f2f05c42 by bgoonz , Fri Jan 21 2022 (4 days ago) +1 file changed, 2 insertions(+) + +admin: added +b94abf26f by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +2 files changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1514 from bgoonz/master +82c67d753 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +cb61e53c2 by bgoonz , Fri Jan 21 2022 (4 days ago) +25 files changed, 147 insertions(+), 231 deletions(-) + +\_header.scss: changed +7420113fa by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_header.scss: changed +052e90ccd by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_header.scss: changed +114b9759a by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 3 insertions(+), 1 deletion(-) + +\_header.scss: changed +681bec603 by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+) + +\_header.scss: changed +209b2bc6d by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_header.scss: changed +367f6f6f8 by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_header.scss: changed +a7c5581fc by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_header.scss: changed +62f0400ca by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_docs.scss: changed +a7c2fbc5e by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 5 insertions(+), 5 deletions(-) + +Merge pull request #1513 from bgoonz/master +8843a7487 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1512 from bgoonz/preview +db1417158 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1511 from bgoonz/master +5490ea4c1 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +b71aeaab9 by bgoonz , Fri Jan 21 2022 (4 days ago) +1 file changed, 13 insertions(+) + +site-metadata.json: updated subnav_links in nav_links +9907b6ce1 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 8 insertions(+), 2 deletions(-) + +jamstack.md: changed +eb3255e8f by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +jamstack.md: added +1fa357f64 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 20 insertions(+) + +index.md: Multiple updates: _updated actions in grid_items_ updated type in actions _updated label in actions_ updated url in actions \* updated style in actions +39539d581 by Bryan Guner , Fri Jan 21 2022 (4 days ago) +1 file changed, 6 deletions(-) + +Merge pull request #1510 from bgoonz/master +3b630f253 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge remote-tracking branch 'origin/preview' +f0f496e18 by Stackbit , Fri Jan 21 2022 (4 days ago) + +index.md: added +da4f2866b by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1509 from bgoonz/master +8ba2dd7e6 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +451c2987b by bgoonz , Fri Jan 21 2022 (4 days ago) +2 files changed, 131 insertions(+), 23 deletions(-) + +scrap.css: added +1424c2bd8 by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1508 from bgoonz/master +0eb27b604 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1507 from bgoonz/preview +480c2c510 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +blm.js: changed +fe05faf98 by Stackbit Code Editor , Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1506 from bgoonz/master +b19dd369c by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +9436c85bf by bgoonz , Fri Jan 21 2022 (4 days ago) +1 file changed, 4 insertions(+), 2 deletions(-) + +-update +066e9ddae by bgoonz , Fri Jan 21 2022 (4 days ago) +2 files changed, 58 insertions(+), 7 deletions(-) + +Merge pull request #1505 from bgoonz/preview +0e391239b by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1504 from bgoonz/master +1c52e511d by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +-update +9b030294b by bgoonz , Fri Jan 21 2022 (4 days ago) +1 file changed, 6 insertions(+), 1 deletion(-) + +-update +9a3ca8a33 by bgoonz , Fri Jan 21 2022 (4 days ago) +7 files changed, 6630 insertions(+), 4415 deletions(-) + +Merge pull request #1503 from bgoonz/master +c173dcda4 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1502 from bgoonz/preview +1c4cfc20e by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Merge pull request #1501 from bgoonz/master +4c514f6fb by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) + +Update README.md +578b72893 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) +1 file changed, 3 insertions(+) + +Add files via upload +c2c8f3268 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (4 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1500 from bgoonz/master +fb636b8a4 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Thu Jan 20 2022 (4 days ago) + +Merge pull request #1499 from bgoonz/preview +394063d66 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Thu Jan 20 2022 (4 days ago) + +Update stackbit.yml +22db8f981 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Thu Jan 20 2022 (4 days ago) +1 file changed, 556 insertions(+), 558 deletions(-) + +Update stackbit.yml +28506ea4d by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Thu Jan 20 2022 (4 days ago) +1 file changed, 556 insertions(+), 556 deletions(-) + +hi +35c84e152 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Thu Jan 20 2022 (4 days ago) +1 file changed, 1 insertion(+) + +Update stackbit.yml +1d87d5da3 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Thu Jan 20 2022 (4 days ago) +1 file changed, 2 deletions(-) + +hi +b70db7d10 by Bryan Guner , Thu Jan 20 2022 (4 days ago) +17 files changed, 0 insertions(+), 0 deletions(-) + +update +d81fa9fc7 by Bryan Guner , Thu Jan 20 2022 (4 days ago) +66 files changed, 0 insertions(+), 0 deletions(-) + +css-positioning.md: updated markdown_content +f1813f461 by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 44 insertions(+), 6 deletions(-) + +009.\_Palindrome_Number.md: changed +4b29b81c6 by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +008._String_to_Integer_(atoi).md: changed +af48a139c by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +Merge pull request #1497 from bgoonz/master +8c1d10275 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +Update README.md +a63aef5c6 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) +1 file changed, 4 insertions(+) + +Merge pull request #1496 from bgoonz/preview +bbe3178e7 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +004.\_Median_of_Two_Sorted_Arrays.md: changed +1277dcb92 by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +admin: added +1f8c7d5ba by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +2 files changed, 13 insertions(+) + +admin: removed +b79272168 by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +2 files changed, 13 deletions(-) + +Merge pull request #1495 from bgoonz/master +bc8b66846 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +Merge pull request #1494 from bgoonz/preview +2079b49a4 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +js-closure.md: updated title +b9dda6e0c by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +js-closure.md: updated title +11b951f2e by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +admin: added +fdf9ddbde by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +2 files changed, 0 insertions(+), 0 deletions(-) + +ads.txt: added +0875bbc1b by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +config.yml: added +6259ff736 by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge pull request #1493 from bgoonz/master +0308376fd by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +hi +df3bcebb7 by bgoonz , Mon Jan 17 2022 (7 days ago) +1 file changed, 40 insertions(+) + +hi +36d072c12 by bgoonz , Mon Jan 17 2022 (7 days ago) +4 files changed, 320 insertions(+), 1102 deletions(-) + +js-closure.md: added +e0dac0c66 by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 22 insertions(+) + +Merge remote-tracking branch 'local-editor/preview' into preview +ba6458250 by Stackbit , Mon Jan 17 2022 (7 days ago) + +web-development-abstract.jpg: added +5111ea123 by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Merge remote-tracking branch 'local-editor/preview' into preview +a49c6611c by Stackbit , Mon Jan 17 2022 (7 days ago) + +web-development-abstract.jpg: added +515dca01b by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +300-react-questions.md: updated thumb_image +479e24ced by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +web-development-abstract.jpg: added +005e4e4c1 by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +300-react-questions.md: updated date +5b46b4e5e by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +300-react-questions.md: updated subtitle +d5417d88e by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +300-react-questions.md: updated title +da576774a by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +css: added +5fa922c33 by Stackbit Code Editor , Mon Jan 17 2022 (7 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +css-positioning.md: added +7b5ab9014 by Bryan Guner , Mon Jan 17 2022 (7 days ago) +1 file changed, 20 insertions(+) + +Merge pull request #1492 from bgoonz/master +27ffa783b by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +Merge pull request #1491 from bgoonz/preview +ecfc2f633 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +Merge pull request #1490 from bgoonz/master +6e7ae172d by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +Merge pull request #1489 from Web-Dev-Collaborative/master +38e133f33 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +Delete .vscode directory +173eac403 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +1 file changed, 22 deletions(-) + +hi +9d8a324bc by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +4 files changed, 392 insertions(+), 431 deletions(-) + +-update +0bd414b5d by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +1 file changed, 14 insertions(+), 1 deletion(-) + +hi +b68798a11 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Fri Jan 21 2022 (3 days ago) +1 file changed, 13 insertions(+), 26 deletions(-) + +Create Config.yml +d4a7adffa by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) +1 file changed, 1 insertion(+) + +Merge branch 'bgoonz:master' into master +7be2a0e90 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Mon Jan 17 2022 (7 days ago) + +hi +4172ce972 by bgoonz , Mon Jan 17 2022 (7 days ago) +2 files changed, 25074 insertions(+), 27 deletions(-) + +Merge branch 'master' of +937e49815 by Bryan Guner , Mon Jan 17 2022 (7 days ago) + +Merge remote-tracking branch 'origin/preview' +93d277a41 by Stackbit , Sun Jan 16 2022 (8 days ago) + +Merge branch 'preview' of +13e53a3bc by Bryan Guner , Mon Jan 17 2022 (7 days ago) + +scrap.md: changed +f5f48af6f by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 110 deletions(-) + +hi +8a5c10ef5 by Bryan Guner , Sun Jan 16 2022 (8 days ago) +1 file changed, 5 insertions(+), 5 deletions(-) + +youtube.md: changed +74088b7f1 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 3 insertions(+) + +youtube.md: changed +75baae36f by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 1 insertion(+), 3 deletions(-) + +intrests.md: removed +1b4173060 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 18 deletions(-) + +youtube.md: added +03b9f9d7e by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 18 insertions(+) + +index.md: changed +da89379c1 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 2 insertions(+) + +index.md: changed +4d01aa090 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +index.md: changed +3fb56d2cf by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 11 insertions(+) + +\_general.scss: changed +7a292fb9d by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 20 deletions(-) + +CtaButtons.js: changed +68c69fe6d by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +Submenu.js: changed +f52915380 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 10 insertions(+), 16 deletions(-) + +Layout.js: changed +d1c6ff0e1 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 27 insertions(+), 35 deletions(-) + +DocsSubmenu.js: changed +818f795b2 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 6 insertions(+), 11 deletions(-) + +DocsMenu.js: changed +58f0bd613 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 28 insertions(+), 49 deletions(-) + +SectionDocs.js: changed +7a87de11e by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 36 insertions(+), 46 deletions(-) + +SectionContent.js: changed +ff6dbd4b7 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 25 insertions(+), 25 deletions(-) + +300-react-questions.md: updated thumb_image_alt +2dd985ebb by Bryan Guner , Sun Jan 16 2022 (8 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +Merge remote-tracking branch 'local-editor/preview' into preview +847212ac6 by Stackbit , Sun Jan 16 2022 (8 days ago) + +Merge remote-tracking branch 'origin/preview' into preview +df3d0f2bf by Stackbit , Sun Jan 16 2022 (8 days ago) + +favicon-750d4390.png: added +b61cb4f7a by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +300-react-questions.md: updated subtitle +c6ed0d8e5 by Bryan Guner , Sun Jan 16 2022 (8 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +favicon-750d4390.png: added +fa07e87f4 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +300-react-questions.md: updated date +53a415ebc by Bryan Guner , Sun Jan 16 2022 (8 days ago) +1 file changed, 5 insertions(+), 15 deletions(-) + +site-metadata.json: updated favicon +3c4463590 by Bryan Guner , Sun Jan 16 2022 (8 days ago) +1 file changed, 55 insertions(+), 36 deletions(-) + +favicon-750d4390.png: added +0c7364e2c by Bryan Guner , Sun Jan 16 2022 (8 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +\_posts.scss: changed +59dd9d7cd by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 3 insertions(+), 9 deletions(-) + +\_sections.scss: changed +317326a36 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 3 insertions(+), 3 deletions(-) + +\_tables.scss: changed +8ec48fdf5 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +\_structure.scss: changed +cfd94136d by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_reset.scss: changed +b5b576f29 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +\_prism.scss: changed +1fa5fa3c6 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 14 insertions(+), 13 deletions(-) + +\_structure.scss: changed +d5fd47add by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_palettes.scss: changed +a8b22ada9 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 9 insertions(+), 9 deletions(-) + +\_variables.scss: changed +1b505b882 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 28 insertions(+), 28 deletions(-) + +\_tables.scss: changed +ce979f5de by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +\_structure.scss: changed +8de1d3e00 by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 1 insertion(+), 1 deletion(-) + +\_reset.scss: changed +954c17bbb by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 0 insertions(+), 0 deletions(-) + +\_prism.scss: changed +545423c4c by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 13 insertions(+), 14 deletions(-) + +\_palettes.scss: changed +e2bfa692f by Stackbit Code Editor , Sun Jan 16 2022 (8 days ago) +1 file changed, 9 insertions(+), 9 deletions(-) + +Merge pull request #1487 from bgoonz/master +4a3b2dd7a by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Update \_general.scss +ba570ce2c by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) +1 file changed, 1 insertion(+), 199 deletions(-) + +Merge pull request #1486 from bgoonz/master +6fa0fcc37 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Merge pull request #1485 from bgoonz/preview +0b5e90828 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Merge pull request #1484 from bgoonz/master +498f7e46c by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Update index.md +510181cec by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) +1 file changed, 345 deletions(-) + +Merge pull request #1483 from bgoonz/master +08917130c by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Merge pull request #1482 from bgoonz/preview +3b65a6345 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Merge pull request #1481 from bgoonz/master +df61d6f27 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Update index.md +b7820c83e by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) +1 file changed, 339 insertions(+) + +Merge pull request #1480 from bgoonz/master +ea450cebf by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Update react-patterns-by-usecase.md +fcfcf06bf by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) +1 file changed, 20 insertions(+), 1 deletion(-) + +Update react-patterns-by-usecase.md +2d6de8e71 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) +1 file changed, 20 insertions(+), 1 deletion(-) + +Merge pull request #1479 from bgoonz/master +7281a0a12 by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +Merge pull request #1478 from bgoonz/preview +5f445f7dc by Bryan C Guner <66654881+bgoonz@users.noreply.github.com>, Sun Jan 16 2022 (8 days ago) + +··· + +
+ +
+ +--- + + + April-4-2022-stable + + + + +## What's Changed + +* Merge pull request #1432 from bgoonz/preview by @bgoonz in +* Preview by @bgoonz in +* -update by @bgoonz in +* async-js by @bgoonz in +* -update by @bgoonz in +* Merge pull request by @bgoonz in +* Merge pull request by @bgoonz in +* Merge pull request by @bgoonz in +* Merge pull request #1442 from bgoonz/preview by @bgoonz in +* cs-basics-in-js.md: added by @bgoonz in +* Merge pull request #1444 from bgoonz/preview by @bgoonz in +* _docs.scss: changed by @bgoonz in +* STABLE---FIXED-DOCS_FORMATTINGMerge pull request #1446 from bgoonz/preview by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* _reset.scss: changed by @bgoonz in +* Merge pull request #1450 from bgoonz/preview by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* Merge pull request by @bgoonz in +* Merge pull request #1454 from bgoonz/preview by @bgoonz in +* Merge pull request #1455 from bgoonz/master by @bgoonz in +* -update by @bgoonz in +* hi by @bgoonz in +* -update by @bgoonz in +* hi by @bgoonz in +* Add files via upload by @bgoonz in +* hi by @bgoonz in +* Update _general.scss by @bgoonz in +* index.md: changed by @bgoonz in +* Merge pull request #1464 from bgoonz/preview by @bgoonz in +* _general.scss: changed by @bgoonz in +* Merge pull request #1466 from bgoonz/preview by @bgoonz in +* portfolio-91689538.jpg: added by @bgoonz in +* _general.scss: changed by @bgoonz in +* Merge pull request by @bgoonz in +* _posts.scss: changed by @bgoonz in +* Merge pull request #1471 from bgoonz/preview by @bgoonz in +* Create python-quiz.md by @bgoonz in +* Merge pull request by @bgoonz in +* Merge pull request #1474 from bgoonz/preview by @bgoonz in +* Merge pull request by @bgoonz in +* -update by @bgoonz in +* Merge pull request #1639 from bgoonz/master by @bgoonz in +* -update by @bgoonz in +* Merge pull request by @bgoonz in +* Restyle -update by @restyled-io in +* Revert "Merge pull request #1574 from bgoonz/master" by @bgoonz in +* Restyled by clang-format by @bgoonz in +* Merge pull request #1654 from bgoonz/master by @bgoonz in +* Merge pull request #1655 from bgoonz/preview by @bgoonz in +* Bump url-parse from 1.4.3 to 1.5.7 in /notes/future-implementations/gatsby-plugin-algolia/example by @dependabot in +* Bump url-parse by @bgoonz in +* Update _general.scss by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* Merge pull request by @bgoonz in +* Merge pull request #1664 from bgoonz/preview by @bgoonz in +* Add .circleci/config.yml by @bgoonz in +* Add .circleci/config.yml by @bgoonz in +* Create BGOONZ_BLOG_2.0.git by @ladykraken in +* 1a7db48b5f17639cbacd645504b3afd5fd2e170f by @ladykraken in +* BGOONZ_BLOG_2.0/.github/workflows/makefile.yml by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* Merge pull request by @bgoonz in +* Merge pull request #1672 from bgoonz/preview by @bgoonz in +* Bump marked from 0.6.1 to 4.0.10 by @dependabot in +* Bump marked from 0.6.1 to 4.0.10 by @bgoonz in +* Merge pull request#1673from bgoonz/master by @bgoonz in +* Merge pull request#1682from bgoonz/preview by @bgoonz in +* Restyle Merge pull request#1682from bgoonz/preview by @restyled-io in +* Restyled by whitespace by @bgoonz in +* Restyle Restyled by whitespace by @restyled-io in +* Configure Sider by @sider in +* Merge pull request#1683from bgoonz/master by @bgoonz in +* pleaseeeee by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* Restyle Merge pull request#1683from bgoonz/master by @restyled-io in +* Restyled by autopep8 by @bgoonz in +* Merge pull request #1695 from bgoonz/preview by @bgoonz in +* -update by @bgoonz in +* Merge pull request#1697from bgoonz/preview by @bgoonz in +* -update by @bgoonz in +* Preview by @bgoonz in +* 446 by @bgoonz in +* Merge pull request #1702 from bgoonz/master by @bgoonz in +* Merge pull request #1703 from bgoonz/preview by @bgoonz in +* img by @bgoonz in +* Merge pull request #1705 from bgoonz/master by @bgoonz in +* Merge pull request#1705from bgoonz/master by @bgoonz in +* overwriting with better lost history by @bgoonz in +* Merge pull request #1711 from bgoonz/master by @bgoonz in +* Merge pull request #1712 from bgoonz/preview by @bgoonz in +* Merge pull request #1713 from bgoonz/master by @bgoonz in +* Delete _docs.scss by @bgoonz in +* y by @bgoonz in +* -update by @bgoonz in +* Merge pull request #1716 from bgoonz/master by @bgoonz in +* Merge pull request #1717 from bgoonz/preview by @bgoonz in +* Delete lint.yml by @bgoonz in +* -update by @bgoonz in +* Merge pull request #1722 from bgoonz/master by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* Merge pull request#1725from bgoonz/master by @bgoonz in +* Merge pull request#1727from bgoonz/preview removed unused code like algolia search by @bgoonz in +* Merge pull request #1728 from bgoonz/master by @bgoonz in +* Merge pull request #1729 from bgoonz/preview by @bgoonz in +* Update README.md by @bgoonz in +* jamstack.md: added by @bgoonz in +* Restyle jamstack.md: added by @restyled-io in +* Merge pull request #1733 from bgoonz/preview by @bgoonz in +* url.md: added by @bgoonz in +* Merge pull request #1736 from bgoonz/preview by @bgoonz in +* Restyle url.md: added by @restyled-io in +* Restyled by prettier-markdown by @bgoonz in +* Merge pull request #1739 from bgoonz/preview by @bgoonz in +* Merge pull request#1741from bgoonz/master by @bgoonz in +* markdown correcctions by @bgoonz in +* Restyle markdown correcctions by @restyled-io in +* Restyled by prettier-markdown by @bgoonz in +* js files by @bgoonz in +* logo-final-touchup.PNG: added by @bgoonz in +* Merge pull request #1749 from bgoonz/preview by @bgoonz in +* moved gists by @bgoonz in +* build(deps): bump axios from 0.16.2 to 0.21.2 by @dependabot in +* build(deps): bump axios from 0.16.2 to 0.21.2 by @bgoonz in +* Merge pull request#1750from bgoonz/master by @bgoonz in +* Merge pull request #1754 from bgoonz/preview by @bgoonz in +* styling by @bgoonz in +* leetcode by @bgoonz in +* Merge remote-tracking branch 'origin/preview' by @bgoonz in +* update by @bgoonz in +* Merge pull request #1761 from bgoonz/master by @bgoonz in +* Merge pull request #1763 from bgoonz/preview by @bgoonz in +* pull by @bgoonz in +* pull by @bgoonz in +* formatting by @bgoonz in +* package-lock.json deleted by @bgoonz in +* _general.scss: changed by @bgoonz in +* scss by @bgoonz in +* inital stable commit by @bgoonz in +* Merge remote-tracking branch 'origin/preview' by @bgoonz in +* iframe fixes by @bgoonz in +* formatting and connect table by @bgoonz in +* accessibility.md: added by @bgoonz in +* Merge pull request #1777 from bgoonz/preview by @bgoonz in +* Restyle accessibility.md: added by @restyled-io in +* hi by @bgoonz in +* Restyled by prettier-markdown by @bgoonz in +* Merge pull request #1781 from bgoonz/preview by @bgoonz in +* sitemap by @bgoonz in +* hi by @bgoonz in +* Add files via upload by @bgoonz in +* Merge pull request#1782from bgoonz/master by @bgoonz in +* Merge pull request #1789 from bgoonz/preview by @bgoonz in +* Merge pull request#1790from bgoonz/master by @bgoonz in +* Merge pull request #1791 from bgoonz/preview by @bgoonz in +* Merge pull request #1792 from bgoonz/master by @bgoonz in +* Merge pull request #1793 from bgoonz/preview by @bgoonz in +* Restyle Merge pull request#1790from bgoonz/master by @restyled-io in +* -update by @bgoonz in +* Restyled by clang-format by @bgoonz in +* Restyle -update by @restyled-io in +* Restyled by prettier-markdown by @bgoonz in +* Delete package-lock.json by @bgoonz in +* Create label.yml by @bgoonz in +* Restyle Restyled by clang-format by @restyled-io in +* -update by @bgoonz in +* Merge pull request #1803 from bgoonz/master by @bgoonz in +* Merge pull request #1804 from bgoonz/preview by @bgoonz in +* removed prototype from titles by @bgoonz in +* removed prototype from titles by @bgoonz in +* removed prototype from titles by @bgoonz in +* mdn by @bgoonz in +* Restyle mdn by @restyled-io in +* Restyled by prettier-markdown by @bgoonz in +* Merge remote-tracking branch 'origin/preview' by @bgoonz in +* hi by @bgoonz in +* hi by @bgoonz in +* hi by @bgoonz in +* Merge pull request#1811from bgoonz/master by @bgoonz in +* Restyle Merge pull request#1811from bgoonz/master by @restyled-io in +* Merge pull request #1817 from bgoonz/preview by @bgoonz in +* formatting by @bgoonz in +* Merge pull request #1820 from bgoonz/master by @bgoonz in +* Merge pull request #1821 from bgoonz/preview by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* Merge pull request #1826 from bgoonz/master by @bgoonz in +* Merge pull request #1827 from bgoonz/preview by @bgoonz in +* -update by @bgoonz in +* -update by @bgoonz in +* update by @bgoonz in +* update by @bgoonz in +* Merge pull request#1828from bgoonz/master by @bgoonz in +* Restyle update by @restyled-io in +* Restyled by jq by @bgoonz in +* deleted script by @bgoonz in +* Merge pull request#1837from bgoonz/master by @bgoonz in +* Merge pull request #1839 from bgoonz/preview by @bgoonz in +* Merge pull request #1840 from bgoonz/master by @bgoonz in +* docs by @bgoonz in +* Update README.md by @bgoonz in +* Merge pull request#1842from bgoonz/master by @bgoonz in +* organized imports by @bgoonz in +* update by @bgoonz in +* Merge pull request#1845from bgoonz/master by @bgoonz in +* initial components by @bgoonz in +* hi by @bgoonz in +* Merge pull request #1848 from bgoonz/master by @bgoonz in +* de by @bgoonz in +* update by @bgoonz in +* Merge pull request#1852from bgoonz/master by @bgoonz in +* hi dad by @bgoonz in +* ds-algo by @bgoonz in +* hi by @bgoonz in +* Merge pull request#1855from bgoonz/master by @bgoonz in +* git-banner.png by @bgoonz in +* Merge pull request #1860 from bgoonz/preview by @bgoonz in +* Merge pull request#1861from bgoonz/master by @bgoonz in +* Merge pull request #1862 from bgoonz/preview by @bgoonz in +* hi by @bgoonz in +* Merge pull request #1863 from bgoonz/master by @bgoonz in +* Merge pull request#1864from bgoonz/preview by @bgoonz in +* hi by @bgoonz in +* formatting by @bgoonz in +* Merge pull request#1866from bgoonz/master by @bgoonz in +* Merge pull request #1868 from bgoonz/preview by @bgoonz in +* update by @bgoonz in +* update by @bgoonz in +* Merge pull request#1871from bgoonz/master by @bgoonz in +* Merge pull request #1874 from bgoonz/preview by @bgoonz in +* Merge pull request #1875 from bgoonz/master by @bgoonz in +* styling by @bgoonz in +* hi by @bgoonz in +* Merge pull request #1879 from bgoonz/master by @bgoonz in + +## New Contributors + +* @dependabot made their first contribution in +* @ladykraken made their first contribution in +* @sider made their first contribution in + +**Full Changelog**: + +
+ +--- diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..397ebbe55e --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,128 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, +- and learning from the experience +- Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +- The use of sexualized language or imagery, and sexual attention or +- advances of any kind +- Trolling, insulting or derog +- Public or private harassment +- Publishing others' private information, such as a physical or email + address, without their explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000..060fde4409 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,92 @@ +# Contributing + +When contributing to this repository, please first discuss the change you wish to make via issue, +email, or any other method with the owners of this repository before making a change. + +Please note we have a code of conduct, please follow it in all your interactions with the project. + +## Pull Request Process + +1. Ensure any install or build dependencies are removed before the end of the layer when doing a + build. +2. Update the README.md with details of changes to the interface, this includes new environment + variables, exposed ports, useful file locations and container parameters. +3. Increase the version numbers in any examples files and the README.md to the new version that this + Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/). +4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you + do not have permission to do that, you may request the second reviewer to merge it for you. + +## Code of Conduct + +### Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of experience, +nationality, personal appearance, race, religion, or sexual identity and +orientation. + +### Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +- The use of sexualized language or imagery and unwelcome sexual attention or +- advances +- Trolling, insulting/derogato +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +### Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +### Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +### Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at [INSERT EMAIL ADDRESS]. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +### Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at [http://contributor-covenant.org/version/1/4][version] + +[homepage]: http://contributor-covenant.org +[version]: http://contributor-covenant.org/version/1/4/ diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000000..8ff8459161 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,40 @@ +# License Agreement +##### Version 1.02 (02/14/2019) + +This Single Project License Agreement (**“Agreement”**) is between you and Stackbit Inc., a Delaware corporation (“Stackbit”) and governs Your right to use the website project including website theme and other media content (the "Project") obtained from or generated using our services available at www.stackbit.com (the "Services"). By clicking on the “Create Account” button (or any similar button) that is presented to you at the time of sign-up or by using the Site to generate a Project, you indicate that you agree to the terms and conditions of this Agreement. If You are accepting this Agreement on behalf of Your employer or other organization, You are agreeing to these terms for the entity and You represent and warrant that You have authority to bind such entity (party bound to this Agreement is referred to as “You”). + +1. **Definitions**. The capitalized terms shall have the meaning given in the relevant paragraph where such term is defined. In addition, the following terms shall have the meaning set forth below. + + **“Client"** means the person or entity whose website you are designing if you are a web developer, web designer, agency or a marketing agent. + + **“Theme”** means the website theme made available on the Site and generated using the Services, in HTML/JS/CSS electronic source code format together with any related developer documentation. + + **“Project”** means any work that includes a Theme or that is derived from or is a ‘derivative work’ of a Theme, as such terms are used under the United States Copyright Act of 1976, as amended. + +2. **License**. Subject to the terms and conditions of this Agreement, Stackbit hereby grants you a perpetual, non-exclusive, non-transferable, non-sublicensable limited license to use, modify, and display the Theme only as incorporated in a single Project as set forth in Section 3 below. All rights not granted herein are expressly reserved by Stackbit. + +3. **Permitted Use** + + You may use the Theme as it is incorporated into a single Project, either your own Project or the Project of your Client, and You may make modifications to the Theme necessary to fit the requirements of the Project provided that the Project and the use of the Project by You or the Client remains subject to this Agreement. You will own the Project you create, but Stackbit retains all right, title and interest in and to the Theme and other media content that are incorporated in your Project. You must retain and include all copyright notices and the terms of this License without modification in the files of the Project. You and Client must use the Project in compliance with all applicable federal, state and local laws, rules and regulations. + +4. **Prohibited Uses** + + You may not, and shall not permit anyone else to, use the Project or do anything with the Project that is not expressly permitted by this Agreement, including, but not limited to, the following strictly prohibited uses: + + 1. resell, sublicense or other transfer the Project or the Theme or other components thereof or your rights to use the Theme as set forth herein or otherwise make available or allows a person to access or reproduce the Theme as an electronic file, except in connection with the single Project and subject to Section 3 above; + + 2. Use, reproduce or display the Theme or Project in any manner that competitive with the Services or our business (e.g. inclusion as part of an online website builder service, or distribution outside the Services such as on a Theme/themes marketplace or a "freebies" website); + + 3. Use, reproduce or display of the Theme in a fashion that we consider as, or under applicable law is considered, pornographic, obscene, immoral, infringing, defamatory or libelous; and + + 4. Use or display of the Theme in an electronic format that enables it to be downloaded or distributed in any file sharing arrangement. + +5. **Ownership**. Stackbit shall retain and own all right, title and interest, including but not limited to copyright, patent, trade secret and all other intellectual property rights, in and to the Themes. You shall own all right, title and interest, including but not limited to copyright, patent, trade secret and all other intellectual property rights, in and to the Project, subject to Stackbit’s ownership of the Theme and the terms of this license agreement. + +6. **Term and Termination**. This Agreement shall commence on the deployment of a Project through Stackbit’s Services to a repository (such as for example to Github) and continue indefinitely until it is terminated in accordance with Section 6. Stackbit may terminate this Agreement if You breach the Agreement and such breach remains uncured for 15 days following Your receipt of written notice from Stackbit. You may terminate this Agreement for convenience and without cause at any time immediately upon written notice to Stackbit. Upon termination of this Agreement for any reason, You and your Client shall a) cease all use of the Theme and the Project b) destroy or delete all copies and archives of the Theme, Projects, and accompanying materials, and c) if requested, confirm to Stackbit in writing that you have complied with these requirements. Any provisions of this Agreement which expressly or by implication are intended to survive its termination will survive and continue to bind the parties. + +7. **Warranty and Disclaimer**. THE SERVICES, SITE, THEME, PROJECT AND ALL CONTENT AVAILABLE THROUGH THE SITE ARE OFFERED “AS IS” AND WITHOUT WARRANTY, AND STACKBIT MAKES NO REPRESENTATION OR WARRANTY OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, AND SPECIFICALLY DISCLAIMS ALL WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE. + +8. **Limitation of Liability**. Stackbit’s aggregate liability for all claims, losses, liabilities or damages in connection with this Services, Theme, Project or this Agreement or its subject matter, whether as a result of breach of contract, tort (including negligence) or otherwise, regardless of the theory of liability asserted, is limited to no more than the total amount of fees paid to Stackbit under this Agreement, or $100, whichever is greater. In addition, Stackbit will not be liable in any event for lost profits, consequential, indirect, punitive, exemplary or special damages. + +9. **General**. This Agreement shall be governed by the law of the State of California, without reference to conflict of laws principles. The United Nations Convention on contracts for the International Sales of Goods shall not apply. This Agreement, together with the Stackbit Terms of Service at www.stackbit.com/tos/ represents the entire agreement between the parties with regard to the subject matter thereof and supersedes any prior understandings, proposals or agreements concerning the same subject matter. If any provision of this Agreement is found to be unenforceable or invalid, the remainder of such provision shall be enforced to the maximum extent permitted by law. No amendment or modification of this Agreement shall be valid or binding unless in a writing signed by representatives of both parties. You may not assign this Agreement without Stackbit’s prior written consent. Any attempted assignment in violation of this shall be null and void. This Agreement shall be binding upon and inure to the benefit of the parties hereto and their respective permitted successors and assigns. Any notice required or permitted to be given by either party under this Agreement shall be in writing and may be sent via an active Services account dashboard or shall be personally delivered or sent by commercial courier service, or by first class mail (certified or registered if available), or by telecopy confirmed by first class mail (registered or certified if available), to the other party at its address set forth below, or such new address as may from time-to-time be supplied hereunder by the parties hereto. diff --git a/README.md b/README.md index ad1a1eee2c..b337a5d898 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,21 @@ # Bgoonz Blog Readme -
+
### [⇨WEBSITE🗺️⇦](https://bgoonz-blog.netlify.app) ### [CHANGELOG](./CHANGELOG.md) - -##### [⇨WEBSITE🗺️⇦](https://bgoonz-blog.netlify.app) [⇨**Cloudfare-Backup**⇦](https://bgoonz-blog-2-0.pages.dev/) [⇨**search**⇦](https://www.algolia.com/realtime-search-demo/web-dev-resource-hub-9e6b8aa8-6106-44c5-9f59-ff3f9531abd4) [⇨**Backup Repo Deploy**⇦](https://bgoonzblog20-backup.netlify.app/#gsc.tab=0) [⇨**Github pages**⇦](https://bgoonz.github.io/BGOONZ_BLOG_2.0/) [⇨**Go To Site Wiki**⇦](https://github.com/bgoonz/BGOONZ_BLOG_2.0/wiki) [⇨**Gatsby Cloud Version**⇦](https://bgoonzblog20master.gatsbyjs.io/) [⇨**Vercel Version**⇦](https://bgoonz-blog.vercel.app/) [⇨**Cloudfare-Domain**⇦](www.webdevhub.us) [⇨**gh-pages**⇦](https://bgoonz.github.io/BGOONZ_BLOG_2.0/) [⇨**backup netlify deploy**⇦](https://bgoonz-blog20-backup.netlify.app/) - -#### [Commit Log](docs/meta-info/log.md.md) - - - - - - -##### [⇨WEBSITE🗺️⇦](https://bgoonz-blog.netlify.app) [⇨**Cloudfare-Backup**⇦](https://bgoonz-blog-2-0.pages.dev/) [⇨**search**⇦](https://www.algolia.com/realtime-search-demo/web-dev-resource-hub-9e6b8aa8-6106-44c5-9f59-ff3f9531abd4) [⇨**Backup Repo Deploy**⇦](https://bgoonzblog20-backup.netlify.app/#gsc.tab=0) [⇨**Github pages**⇦](https://bgoonz.github.io/BGOONZ_BLOG_2.0/) [⇨**Go To Site Wiki**⇦](https://github.com/bgoonz/BGOONZ_BLOG_2.0/wiki) [⇨**Gatsby Cloud Version**⇦](https://bgoonzblog20master.gatsbyjs.io/) [⇨**Vercel Version**⇦](https://bgoonz-blog.vercel.app/) - +##### [⇨WEBSITE🗺️⇦](https://bgoonz-blog.netlify.app) [⇨**Cloudfare-Backup**⇦](https://bgoonz-blog-2-0.pages.dev/) [⇨**search**⇦](https://www.algolia.com/realtime-search-demo/web-dev-resource-hub-9e6b8aa8-6106-44c5-9f59-ff3f9531abd4) [⇨**Backup Repo Deploy**⇦](https://bgoonzblog20-backup.netlify.app/#gsc.tab=0) [⇨**Github pages**⇦](https://bgoonz.github.io/BGOONZ_BLOG_2.0/) [⇨**Go To Site Wiki**⇦](https://github.com/bgoonz/BGOONZ_BLOG_2.0/wiki) [⇨**Gatsby Cloud Version**⇦](https://bgoonzblog20master.gatsbyjs.io/) [⇨**Vercel Version**⇦](https://bgoonz-blog.vercel.app/) [⇨**Cloudfare-Domain**⇦](www.webdevhub.us) [⇨**gh-pages**⇦](https://bgoonz.github.io/BGOONZ_BLOG_2.0/) [⇨**backup netlify deploy**⇦](https://bgoonz-blog20-backup.netlify.app/) - ### Repos [Alt Backup](https://github.com/BGOOONZ-BLOG/bgoonz-blog2.0-v-5) [Blog Content](https://github.com/bgoonz/MainBlogContent) -Url: +Url: http://gitpop2.herokuapp.com/bgoonz/BGOONZ_BLOG_2.0 + #### [⇨Privacy policy⇦](https://codepen.io/bgoonz/pen/LYLJZrW) @@ -36,9 +25,10 @@ Url: [![Demo](https://img.youtube.com/vi/OGCcq1_Tbzk/0.jpg)](https://www.youtube.com/watch?v=OGCcq1_Tbzk) -##### Bug Tracker - + +##### Bug Tracker +https://app.usersnap.com/#/6bf5b719-6d97-4b67-9cc8-271a747f56d3/statistics
--- @@ -96,11 +86,17 @@ Url: + --- + ## Forks +___ + +___ +<<<<<<< HEAD | Repo | Stars | Forks | Modified | |-----------------------------------------------------------------------------------------------------|-------|-------|-----------------------| | [floridamandingo/BGOONZ\_BLOG\_2.0](https://github.com/floridamandingo/BGOONZ_BLOG_2.0) | 2 | 1 | 6 days, 18 hours ago | @@ -136,12 +132,46 @@ Url: | [academic-resources/BGOONZ\_BLOG\_2.0](https://github.com/academic-resources/BGOONZ_BLOG_2.0) | 0 | 0 | 6 months, 4 weeks ago | | [jyoshnakarna/BGOONZ\_BLOG\_2.0](https://github.com/jyoshnakarna/BGOONZ_BLOG_2.0) | 0 | 0 | 2 months, 2 weeks ago | | [bgoonz/BGOONZ\_BLOG\_2.0](https://github.com/bgoonz/BGOONZ_BLOG_2.0) | 14 | 35 | 5 minutes ago | - +======= +| Repo | Stars | Forks | Modified | +| --- | --- | --- | --- | +| [floridamandingo/BGOONZ\_BLOG\_2.0](https://github.com/floridamandingo/BGOONZ_BLOG_2.0) | 2 | 1 | 6 days, 18 hours ago | +| [Web-Audio-Tools/BGOONZ\_BLOG\_2.0](https://github.com/Web-Audio-Tools/BGOONZ_BLOG_2.0) | 1 | 0 | 6 months, 1 week ago | +| [hdi200/BGOONZ\_BLOG\_2.0](https://github.com/hdi200/BGOONZ_BLOG_2.0) | 1 | 1 | 2 weeks, 5 days ago | +| [eengineergz/BGOONZ\_BLOG\_2.0](https://github.com/eengineergz/BGOONZ_BLOG_2.0) | 1 | 0 | 6 months, 3 weeks ago | +| [Web-Dev-Collaborative/BGOONZ\_BLOG\_2.0](https://github.com/Web-Dev-Collaborative/BGOONZ_BLOG_2.0) | 1 | 0 | 5 minutes ago | +| [Bryan-Guner-Backup/BGOONZ\_BLOG\_2.0](https://github.com/Bryan-Guner-Backup/BGOONZ_BLOG_2.0) | 1 | 0 | 5 hours ago | +| [impastasyndrome/BGOONZ\_BLOG\_2.0](https://github.com/impastasyndrome/BGOONZ_BLOG_2.0) | 1 | 0 | 1 month, 3 weeks ago | +| [ft-anywherefitness-2/BGOONZ\_BLOG\_2.0](https://github.com/ft-anywherefitness-2/BGOONZ_BLOG_2.0) | 0 | 0 | 2 months, 2 weeks ago | +| [heathermils98/BGOONZ\_BLOG\_2.0](https://github.com/heathermils98/BGOONZ_BLOG_2.0) | 0 | 0 | 2 months, 3 weeks ago | +| [Portfolio-Projects42/BGOONZ\_BLOG\_2.0](https://github.com/Portfolio-Projects42/BGOONZ_BLOG_2.0) | 0 | 0 | 6 months, 3 weeks ago | +| [BGOOONZ-BLOG/BGOONZ\_BLOG\_2.0](https://github.com/BGOOONZ-BLOG/BGOONZ_BLOG_2.0) | 0 | 0 | 5 minutes ago | +| [webdevhub42/BGOONZ\_BLOG\_2.0](https://github.com/webdevhub42/BGOONZ_BLOG_2.0) | 0 | 0 | 2 weeks ago | +| [hartemolly1/BGOONZ\_BLOG\_2.0](https://github.com/hartemolly1/BGOONZ_BLOG_2.0) | 0 | 0 | 3 months ago | +| [techsavvyy/BGOONZ\_BLOG\_2.0](https://github.com/techsavvyy/BGOONZ_BLOG_2.0) | 0 | 0 | 3 months, 1 week ago | +| [TeaganBriggs/BGOONZ\_BLOG\_2.0](https://github.com/TeaganBriggs/BGOONZ_BLOG_2.0) | 0 | 0 | 1 month, 2 weeks ago | +| [Archive-42/BGOONZ\_BLOG\_2.0](https://github.com/Archive-42/BGOONZ_BLOG_2.0) | 0 | 0 | 2 months, 4 weeks ago | +| [whatamidoing24/BGOONZ\_BLOG\_2.0](https://github.com/whatamidoing24/BGOONZ_BLOG_2.0) | 0 | 0 | 5 hours ago | +| [side-projects-42/BGOONZ\_BLOG\_2.0](https://github.com/side-projects-42/BGOONZ_BLOG_2.0) | 0 | 0 | 4 months, 3 weeks ago | +| [DanHefrman/BGOONZ\_BLOG\_2.0](https://github.com/DanHefrman/BGOONZ_BLOG_2.0) | 0 | 0 | 9 months, 3 weeks ago | +| [ladykraken/BGOONZ\_BLOG\_2.0](https://github.com/ladykraken/BGOONZ_BLOG_2.0) | 0 | 0 | 3 months, 3 weeks ago | +| [ArjunBEG/BGOONZ\_BLOG\_2.0](https://github.com/ArjunBEG/BGOONZ_BLOG_2.0) | 0 | 0 | 4 months, 3 weeks ago | +| [permission-squad/BGOONZ\_BLOG\_2.0](https://github.com/permission-squad/BGOONZ_BLOG_2.0) | 0 | 0 | 2 weeks ago | +| [JuanParker1/BGOONZ\_BLOG\_2.0](https://github.com/JuanParker1/BGOONZ_BLOG_2.0) | 0 | 0 | 1 month, 2 weeks ago | +| [web-tools42/BGOONZ\_BLOG\_2.0](https://github.com/web-tools42/BGOONZ_BLOG_2.0) | 0 | 0 | 6 months ago | +| [TheLadyKProject/BGOONZ\_BLOG\_2.0](https://github.com/TheLadyKProject/BGOONZ_BLOG_2.0) | 0 | 0 | 3 months, 1 week ago | +| [bgoonz-duke/BGOONZ\_BLOG\_2.0](https://github.com/bgoonz-duke/BGOONZ_BLOG_2.0) | 0 | 0 | 3 weeks, 6 days ago | +| [RelativeTech/BGOONZ\_BLOG\_2.0](https://github.com/RelativeTech/BGOONZ_BLOG_2.0) | 0 | 1 | 10 months ago | +| [ETS-ReactNative5/BGOONZ\_BLOG\_2.0](https://github.com/ETS-ReactNative5/BGOONZ_BLOG_2.0) | 0 | 0 | 3 weeks ago | +| [webdev-docs/BGOONZ\_BLOG\_2.0](https://github.com/webdev-docs/BGOONZ_BLOG_2.0) | 0 | 0 | 9 months ago | +| [DUKE42web/BGOONZ\_BLOG\_2.0](https://github.com/DUKE42web/BGOONZ_BLOG_2.0) | 0 | 0 | 3 months, 1 week ago | +| [academic-resources/BGOONZ\_BLOG\_2.0](https://github.com/academic-resources/BGOONZ_BLOG_2.0) | 0 | 0 | 6 months, 4 weeks ago | +| [jyoshnakarna/BGOONZ\_BLOG\_2.0](https://github.com/jyoshnakarna/BGOONZ_BLOG_2.0) | 0 | 0 | 2 months, 2 weeks ago | +| [bgoonz/BGOONZ\_BLOG\_2.0](https://github.com/bgoonz/BGOONZ_BLOG_2.0) | 14 | 35 | 5 minutes ago | --- +>>>>>>> f8217ed7da48524eaff0bc59626697fc43dbae4b - -## Deploys - +## Deploys [vercel branch netlify](https://6309792f5c634e0009e7e51b--bgoonz-blog.netlify.app/) --- @@ -149,8 +179,15 @@ Url: [![CI](https://github.com/bgoonz/BGOONZ_BLOG_2.0/actions/workflows/main.yml/badge.svg)](https://github.com/bgoonz/BGOONZ_BLOG_2.0/actions/workflows/main.yml) + + + + --- + + + ![preview](https://github.com/bgoonz/BGOONZ_BLOG_2.0/blob/master/static/images/blog-img.png?raw=true) --- @@ -190,6 +227,10 @@ git push # done, no need to force push! Web Dev Setup (CLICK HERE) + + + + Windows Subsystem for Linux (WSL) and Ubuntu --- @@ -199,7 +240,6 @@ Windows Subsystem for Linux (WSL) and Ubuntu #### Windows Subsystem for Linux (WSL) and Ubuntu Test if you have Ubuntu installed by typing "Ubuntu" in the search box in the bottom app bar that reads "Type here to search". If you see a search result that reads **"Ubuntu 20.04 LTS"** with "App" under it, then you have it installed. - ``` 1. In the application search box in the bottom bar, type "PowerShell" to find the application named "Windows PowerShell" 2. Right-click on "Windows PowerShell" and choose "Run as administrator" from the popup menu @@ -220,7 +260,6 @@ Test if you have Ubuntu installed by typing "Ubuntu" in the search box in the bo 17. You need to update your packages, so type `sudo apt update` (if prompted for your password, enter it) 18. You need to upgrade your packages, so type `sudo apt upgrade` (if prompted for your password, enter it) ``` - ### Git Git comes with Ubuntu, so there's nothing to install. However, you should configure it using the following instructions. @@ -318,6 +357,8 @@ As of the time of writing of this document, WSL has an issue renaming or deletin --- --- + + ## Bash Cheat Sheet (MY COMMANDS)
@@ -3035,92 +3076,495 @@ find . -type f -exec chmod 644 {} \; --- +
+ ↞↠ Getting Started With GatsbyJS ↞↠ +# + +--- + +## 🚀 Quick start +1. **Create a Gatsby site.** + + Use the Gatsby CLI to create a new site, specifying the default starter. + +```bashell + # create a new Gatsby site using the default starter + gatsby new my-default-starter https://github.com/gatsbyjs/gatsby-starter-default +``` + +1. **Start developing.** + + Navigate into your new site's directory and start it up. + +```bashell + cd my-default-starter/ + gatsby develop +``` + +1. **Open the source code and start editing!** + + Your site is now running at `http://localhost:8000`! + + *Note: You'll also see a second link:*`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.com/tutorial/part-five/#introducing-graphiql)._ + + Open the `my-default-starter` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time! + +## 🧐 What's inside? + +A quick look at the top-level files and directories you'll see in a Gatsby project. + + . + ├── node_modules + ├── src + ├── .gitignore + ├── .prettierrc + ├── gatsby-browser.js + ├── gatsby-config.js + ├── gatsby-node.js + ├── gatsby-ssr.js + ├── LICENSE + ├── package-lock.json + ├── package.json + └── README.md + +1. **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed. + +2. **`/src`**: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. `src` is a convention for "source code". + +3. **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for. + +4. **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent. + +5. **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.com/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser. + +6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you'd like to include, etc. (Check out the [config docs](https://www.gatsbyjs.com/docs/gatsby-config/) for more detail). + +7. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.com/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process. + +8. **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.com/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering. + +9. **`LICENSE`**: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license. + +10. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won't change this file directly).** + +11. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project's name, author, etc). This manifest is how npm knows which packages to install for your project. + +12. **`README.md`**: A text file containing useful reference information about your project. + +## 🎓 Learning Gatsby + +Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.com/). Here are some places to start: + +- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby**](https://www.gatsbyjs.com/tutorial/).\*\* It starts with zero assumptions about your level of ability and walks through every step of the process. +- +- **To dive straight into code samples, head [to our documentation**](https://www.gatsbyjs.com/docs/).\*\* In particular, check out the *Guides*, *API Reference*, and *Advanced Tutorials* sections in the sidebar. + +## 💫 Deploy + +[![Deploy to Netlify**](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/BGOONZ_BLOG_2.0.git) + +[![Deploy with Vercel**](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/BGOONZ_BLOG_2.0.git) -## SOURCECODE ->(codebase) --- -### Overview -The **\_.get()** **method** is used to get the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place. +### Gatsby With Netlify CMS + +This tutorial will use [gatsby-personal-starter-blog](https://github.com/thomaswang/gatsby-personal-starter-blog), a Gatsby starter based on the official [gatsby-starter-blog](/starters/gatsbyjs/gatsby-starter-blog/). The differences are that `gatsby-personal-starter-blog` is configured to run the blog on a subdirectory, `/blog`, and comes pre-installed with [Netlify CMS](https://www.netlifycms.org/) for content editing. It also adds VS Code highlighting for code blocks. + +## Prerequisites + +- A GitHub account +- The [Gatsby CLI](/docs/reference/gatsby-cli/) installed + +## Set up a Netlify CMS-managed Gatsby site in 5 steps -**Syntax:** +### Step 1 +Open your Terminal and run the following command from the Gatsby CLI to create a new Gatsby site using [gatsby-personal-starter-blog](https://github.com/thomaswang/gatsby-personal-starter-blog). + +```shell +gatsby new [your-project-name] https://github.com/thomaswangio/gatsby-personal-starter-blog +``` + +### Step 2 + +Once the Gatsby site is finished installing all the packages and dependencies, you can now go into the directory and run the site locally. + +```shell +cd [your-project-name] +gatsby develop ``` -_.get(object, path, [defaultValue]) +Now you can go to `http://localhost:8000` to see your new site, but what's extra cool is that Netlify CMS is pre-installed and you can access it at `http://localhost:8000/admin` + +A CMS, or content management system, is useful because you can add content like blog posts from a dashboard on your site, instead of having to add posts manually with Markdown. However, you'll likely want to be able to access the CMS from a deployed website, not just locally. For that, you'll need to deploy to Netlify through GitHub, set up continuous deployment, and do a few configurations. You'll go over this in [Step-5](#step-5). + +### Step 3 + +Open the project in your code editor and open `static/admin/config.yml`. Replace `your-username/your-repo-name` with your GitHub username and project name. This step is important for managing and deploying the Netlify CMS interface. + +```diff +backend: +- name: test-repo + ++ name: github ++ repo: your-username/your-repo-name +``` + +#### Customizing your site + +Head into `gatsby-config.js` and you can edit your siteMetadata, add a Google Analytics tracking ID, and your app icon/favicon. Test out the edits for the deployed build by quitting the development server and running `gatsby build && gatsby serve`. + +You'll likely also want to edit the `README.md` and `package.json` files to include your own project details. + +### Step 4 +Open [github.com](https://github.com) and create a new repository, with the same name as your project. Push your new Gatsby site's code to GitHub using the following Terminal commands: + +```shell +git init +git add . +git commit -m "initial commit" +git remote add origin https://github.com/[your-username]/[your-repo-name].git +git push -u origin master +``` + +Then, open [app.netlify.com](https://app.netlify.com) and add a "New site from Git". Choose your newly created repo and click on "Deploy site" with the default deployment settings. + +> *Note: if you don't see the correct repo listed, you may need to install or reconfigure the Netlify app on GitHub.* + +![Netlify Dashboard for Creating a new site](netlify-dashboard.png) + +### Step 5 + +To make sure that Netlify CMS has access to your GitHub repo, you need to set up an OAuth application on GitHub. The instructions for that are here: [Netlify's Using an Authorization Provider](https://www.netlify.com/docs/authentication-providers/#using-an-authentication-provider). + +For the "Homepage URL" – you can use your Netlify subdomain, `[name-of-your-site].netlify.com`, or you can use a custom domain. To customize the subdomain, look for the "Edit site name" field under "Domain Management" for your project on the [Netlify app](https://app.netlify.com). To connect your Netlify site to your custom domain instead, see [Netlify’s instructions on custom domains](https://www.netlify.com/docs/custom-domains/). + +Once you've configured an authentication provider then you'll be able to use Netlify CMS at your deployed site to add new posts. + +![Netlify and GitHub Authorization](https://cdn.netlify.com/67edd5b656c432888d736cd40125cb61376905bb/c1cba/img/docs/github-oauth-config.png) + +Copy the credentials of your new app listed on [GitHub OAuth Apps](https://github.com/settings/developers) and install a new auth provider on Netlify using them. + +![Setting up access control](netlify-install-oauth-provider.png) + +#### Benefits of Netlify CMS, GitHub, and Netlify Workflow + +Congrats! Now that Netlify CMS is successfully configured to your project, every time you add a new post, the content will be stored in your repository and versioned on GitHub because Netlify CMS is Git-based. Also, thanks to [Netlify's Continuous Deployment](https://www.netlify.com/docs/continuous-deployment/), a new version will be deployed every time you add or edit a post. + +You can learn more about Netlify CMS and how to configure it further in the [Netlify CMS documentation](https://www.netlifycms.org/docs/intro/) +--- + +--- + +## Gatsby Project Structure | Gatsby + +> ## Excerpt +> +> Inside a Gatsby project, you may see some or all of the following folders and files: Folders /.cache Automatically generated. This folder… + +--- + +Inside a Gatsby project, you may see some or all of the following folders and files: + +``` +/| +-- /.cache +|-- /plugins +|-- /public +|-- /src +|-- /api +|-- /pages +|-- /templates +|-- html.js +|-- /static +|-- gatsby-config.js +|-- gatsby-node.js +|-- gatsby-ssr.js +|-- gatsby-browser.js ``` -**Parameters:** This method accepts three parameters as mentioned above and described below: +[Folders](https://www.gatsbyjs.com/docs/reference/gatsby-project-structure/#folders) -- **object:** This parameter holds the object to query. -- **path:** This parameter holds the path of the property to get. The path will be array or string. -- **defaultValue:** This parameter holds the value returned for undefined resolved values. +- **`/.cache`** *Automatically generated.* This folder is an internal cache created automatically by Gatsby. The files inside this folder are not meant for modification. Should be added to the `.gitignore` file if not added already. +- **`/plugins`** This folder hosts any project-specific ("local") plugins that aren't published as an `npm` package. Check out the [plugin docs](https://www.gatsbyjs.com/docs/plugins/) for more detail. +- **`/public`** *Automatically generated.* The output of the build process will be exposed inside this folder. Should be added to the `.gitignore` file if not added already. +- **`/src`** This directory will contain all of the code related to what you will see on the frontend of your site (what you see in the browser), like your site header, or a page template. "src" is a convention for "source code". -**Return Value:** This method returns the resolved value. + - **`/api`** JavaScript and TypeScript files under `src/api` become functions automatically with paths based on their file name. Check out the [functions guide](https://www.gatsbyjs.com/docs/reference/functions/) for more detail. + - **`/pages`** Components under `src/pages` become pages automatically with paths based on their file name. Check out the [pages recipes](https://www.gatsbyjs.com/docs/recipes/pages-layouts) for more detail. + - **`/templates`** Contains templates for programmatically creating pages. Check out the [templates docs](https://www.gatsbyjs.com/docs/conceptual/building-with-components/#page-template-components) for more detail. + - **`html.js`** For custom configuration of default `.cache/default_html.js`. Check out the [custom HTML docs](https://www.gatsbyjs.com/docs/custom-html/) for more detail. -**Example 1:** +- **`/static`** If you put a file into the static folder, it will not be processed by webpack. Instead it will be copied into the public folder untouched. Check out the [assets docs](https://www.gatsbyjs.com/docs/how-to/images-and-media/static-folder/#adding-assets-outside-of-the-module-system) for more detail. -- Javascript +[Files](https://www.gatsbyjs.com/docs/reference/gatsby-project-structure/#files) -## Javascript +- **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-browser/) (if any). These allow customization/extension of default Gatsby settings affecting the browser. +- **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you'd like to include, etc. Check out the [config docs](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/) for more detail. +- **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby node APIs](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-node/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process. +- **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-ssr/) (if any). These allow customization of default Gatsby settings affecting server-side rendering. -`const _ = require(``"lodash"``);`   +[Misc](https://www.gatsbyjs.com/docs/reference/gatsby-project-structure/#miscellaneous) +[Misc](https://www.gatsbyjs.com/docs/reference/gatsby-project-structure/#miscellaneous) -`var` `object = {` `'c'``: [{` `'python'``: {` `'java'``: 3 } }] };` +The file/folder structure described above reflects Gatsby-specific files and folders. Since Gatsby sites are also React apps, it's common to use standard React code organization patterns such as folders like `/components` and `/utils` inside `/src`. The [React docs](https://reactjs.org/docs/faq-structure.html) have more information on a typical React app folder structure. -`console.log(_.get(object,` `'c[0].python.java'``));`  +--- + +#### Layout Components | Gatsby + +## Excerpt + +> In this guide, you'll learn Gatsby's approach to layouts, how to create and use layout components, and how to prevent layout components from… + +--- + +In this guide, you'll learn Gatsby's approach to layouts, how to create and use layout components, and how to prevent layout components from unmounting. + +[Gatsby's approach to layouts](https://www.gatsbyjs.com/docs/how-to/routing/layout-components/#gatsbys-approach-to-layouts) -**Output:** +Gatsby does not, by default, automatically apply layouts to pages (there are, however, ways to do so which will be covered in a later section). Instead, Gatsby follows React's compositional model of importing and using components. This makes it possible to create multiple levels of layouts, e.g. a global header and footer, and then on some pages, a sidebar menu. It also makes it possible to pass data between layout and page components. +[What are layout components?](https://www.gatsbyjs.com/docs/how-to/routing/layout-components/#what-are-layout-components) + +Layout components are for sections of your site that you want to share across multiple pages. For example, Gatsby sites will commonly have a layout component with a shared header and footer. Other common things to add to layouts are a sidebar and/or navigation menu. On this page for example, the header at the top is part of gatsbyjs.com's layout component. + +[How to create layout components](https://www.gatsbyjs.com/docs/how-to/routing/layout-components/#how-to-create-layout-components) + +It is recommended to create your layout components alongside the rest of your components (e.g. into `src/components/`). + +Here is an example of a very basic layout component at `src/components/layout.js`: + +``` +import React from "react"export default function Layout({ children }) { return (
{children}
)} ``` -3 +[](https://www.gatsbyjs.com/docs/how-to/routing/layout-components/#how-to-import-and-add-layout-components-to-pages)How to import and add layout components to pages + +If you want to apply a layout to a page, you will need to include the `Layout` component and wrap your page in it. For example, here is how you would apply your layout to the front page: ``` +import React from "react"import Layout from "../components/layout"export default function Home() { return (

I'm in a layout!

);} +``` + +Repeat for every page and template that needs this layout. + +[How to prevent layout components from unmounting](https://www.gatsbyjs.com/docs/how-to/routing/layout-components/#how-to-prevent-layout-components-from-unmounting) + +As mentioned earlier, Gatsby does not, by default, automatically wrap pages in a layout component. The "top level" component is the page itself. As a result, when the "top level" component changes between pages, React will re-render all children. This means that shared components like navigations will unmount and remount. This will break CSS transitions or React state within those shared components. -**Example 2:**   +If you need to set a wrapper component around page components that won't get unmounted on page changes, use the **`wrapPageElement`** [browser API](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-browser/#wrapPageElement) and the [SSR equivalent](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-ssr/#wrapPageElement). -- Javascript +Alternatively, you can prevent your layout component from unmounting by using [gatsby-plugin-layout](https://www.gatsbyjs.com/plugins/gatsby-plugin-layout/), which implements the `wrapPageElement` APIs for you. -## Javascript +## Adding Markdown Pages | Gatsby + +> ## Excerpt +> +> Gatsby can use Markdown files to create pages in your site. +> You add plugins to read and understand folders with Markdown files and from them… + +--- -`const _ = require(``"lodash"``);`   +Gatsby can use Markdown files to create pages in your site. You add plugins to read and understand folders with Markdown files and from them create pages automatically. -`var` `object = {` `'c'``: [{` `'python'``: {` `'java'``: 3 } }] };` +Here are the steps Gatsby follows for making this happen. -`console.log(_.get(object, [``'c'``,` `'0'``,` `'python'``,` `'java'``]));`  +1. Read files into Gatsby from the filesystem +2. Transform Markdown to HTML and [frontmatter](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#frontmatter-for-metadata-in-markdown-files) to data +3. Add a Markdown file +4. Create a Collection Route component for the Markdown files -**Output:** +[](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#read-files-into-gatsby-from-the-filesystem)Read files into Gatsby from the filesystem +Use the plugin [`gatsby-source-filesystem`](https://www.gatsbyjs.com/plugins/gatsby-source-filesystem/#gatsby-source-filesystem) to read files. + +[](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#install)Install + +`npm install gatsby-source-filesystem` + +[Add Plugin](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#add-plugin)Add plugin + +Open `gatsby-config.js` to add the `gatsby-source-filesystem` plugin. The `path` option is how you set the directory to search for files. + +``` +module.exports = { siteMetadata: { + title: "My Gatsby Site", }, +plugins: [ { + resolve: `gatsby-source-filesystem`, +options: { + name: `markdown-pages`, + path: `${__dirname}/src/markdown-pages`, +}, + }, +],} ``` -3 +Completing the above step means that you've "sourced" the Markdown files from the filesystem. You can now "transform" the Markdown to HTML and the YAML frontmatter to JSON. + +[Transform Markdown to HTML and frontmatter to data using `gatsby-transformer-remark`](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#transform-markdown-to-html-and-frontmatter-to-data-using-gatsby-transformer-remark) +You'll use the plugin [`gatsby-transformer-remark`](https://www.gatsbyjs.com/plugins/gatsby-transformer-remark/) to recognize files which are Markdown and read their content. The plugin will convert the frontmatter metadata part of your Markdown files as `frontmatter` and the content part as HTML. + +[Install transformer plugin](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#install-transformer-plugin) + +`npm install gatsby-transformer-remark` + +[Configure plugin](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#configure-plugin) + +Add this to `gatsby-config.js` after the previously added `gatsby-source-filesystem`. + +``` +module.exports = { siteMetadata: { + title: "My Gatsby Site", }, +plugins: [ { + resolve: `gatsby-source-filesystem`, +options: { + name: `markdown-pages`, + path: `${__dirname}/src/markdown-pages`, +}, + }, + `gatsby-transformer-remark`, ], +} ``` -**Example 3:**   +[Add a Markdown file](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#add-a-markdown-file) -- Javascript +Create a folder in the `/src` directory of your Gatsby application called `markdown-pages`. Now create a Markdown file inside it with the name `post-1.md`. -## Javascript +[Frontmatter for metadata in Markdown files](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#frontmatter-for-metadata-in-markdown-files) -`const _ = require(``"lodash"``);`   +When you create a Markdown file, you can include a set of key/value pairs that can be used to provide additional data relevant to specific pages in the GraphQL data layer. This data is called "frontmatter" and is denoted by the triple dashes at the start and end of the block. This block will be parsed by `gatsby-transformer-remark` as YAML. You can then query the data through the GraphQL API from your React components. -`var` `object = {` `'c'``: [{` `'python'``: {` `'java'``: 3 } }] };` +src/markdown-pages/post-1.md -`console.log(_.get(object,` `'c.python.java'``,` `'default'``));`  +``` +---slug: "/blog/my-first-post"date: "2019-05-04"title: "My first blog post"--- +``` + +What is important in this step is the key pair `slug`. The value that is assigned to the key `slug` is used in order to navigate to your post. + +[](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#create-a-collection-route-for-the-markdown-files)Create a Collection Route for the Markdown files + +Create `src/pages/{MarkdownRemark.frontmatter__slug}.js` and add the following code: -**Output:** +src/pages/{MarkdownRemark.frontmatter\_\_slug}.js ``` +import React from "react" +import { graphql } from "gatsby"export default function Template({ data, }) { const { markdownRemark } = data const { frontmatter, html } = markdownRemark return (

{frontmatter.title}

{frontmatter.date}

)}export const pageQuery = graphql` query($id: String!) { markdownRemark(id: { + eq: $id }) { html frontmatter { date(formatString: "MMMM DD, YYYY") slug title } } }` +``` + +Two things are important in the file above: + +1. A GraphQL query is made in the second half of the file to get the Markdown data. Gatsby has automagically given you all the Markdown metadata and HTML in this query's result. + + **Note: To learn more about GraphQL, consider this [excellent resource](https://www.howtographql.com/)** + +2. The result of the query is injected by Gatsby into the component as the `data` prop. `props.data.markdownRemark` is the property that has all the details of the Markdown file. + +Next you could create a page component at `src/pages/blog/index.js` to serve as a listing page for all your blog posts. + +This should get you started on some basic Markdown functionality in your Gatsby site. You can further customize the frontmatter and the component file to get desired effects! + +For more information, have a look in the working example `using-markdown-pages`. You can find it in the [Gatsby examples section](https://github.com/gatsbyjs/gatsby/tree/master/examples). + +[Other tutorials](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#other-tutorials)
-'default' +--- + +### Overview + +The **`_.get()` method** in Lodash retrieves the object’s value at a specific path. + +If the value is not present at the object’s specific path, it will be resolved as `undefined`. This method will return the default value if specified in such a case. + +### Syntax +```js +_.get(object, path, defaultValue) ``` + +### Parameters + +This method accepts the following parameters: + +- **`object`**: The object in which the given path will be queried. +- **`path`**: The path used to retrieve the value from the object. +- **`defaultValue`**: The default value that will be returned for resolved values that are undefined. + +### Return value + +This method will return the value at the specified path if found. Otherwise, it will return the default value if specified. + +### Example + +Let’s look at an example of the `_.get()` method in the code snippet below: + +### Explanation + +In the HTML tab: + +- **Line 5**: We import the `lodash` script. + +In the JavaScript tab: + +- **Lines 2 to 15**: We create an object to perform a query. + +- **Line 18**: We define a variable `collegeYopPath` to get the value. + +- **Lines 19**: We use the `_.get()` method and pass the `object`, `collegeYopPath`, and a default value as parameters. + +- **Line 22**: We define a variable `falsyPath` to get the value. + +- **Lines 23**: We use the `_.get()` method and pass the `object`, `falsyPath` and a `default value` as parameters. + +### Output + +- The `_.get()` method at **line 19** contains a valid path, and therefore the expression is resolved, and `2021` is printed on the console. +- The `_.get()` method at **Line 23** contains an invalid path, and therefore the expression is resolved as `undefined`. + +``` +module.exports = { siteMetadata: { + title: "My Gatsby Site", }, +plugins: [ { + resolve: `gatsby-source-filesystem`, +options: { + name: `markdown-pages`, + path: `${__dirname}/src/markdown-pages`, +}, + }, +],} +``` + +Completing the above step means that you've "sourced" the Markdown files from the filesystem. You can now "transform" the Markdown to HTML and the YAML frontmatter to JSON. + +[Transform Markdown to HTML and frontmatter to data using `gatsby-transformer-remark`](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#transform-markdown-to-html-and-frontmatter-to-data-using-gatsby-transformer-remark) + +You'll use the plugin [`gatsby-transformer-remark`](https://www.gatsbyjs.com/plugins/gatsby-transformer-remark/) to recognize files which are Markdown and read their content. The plugin will convert the frontmatter metadata part of your Markdown files as `frontmatter` and the content part as HTML. + +[Install transformer plugin](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#install-transformer-plugin) + +`npm install gatsby-transformer-remark` + +[Configure plugin](https://www.gatsbyjs.com/docs/how-to/routing/adding-markdown-pages/#configure-plugin) + +Add this to `gatsby-config.js` after the previously added `gatsby-source-filesystem`. + +--- + +## SOURCECODE + +--- + +### Overview + The **`_.get()` method** in Lodash retrieves the object’s value at a specific path. If the value is not present at the object’s specific path, it will be resolved as `undefined`. This method will return the default value if specified in such a case. diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000000..e9ac87d0d9 --- /dev/null +++ b/TODO.md @@ -0,0 +1,15 @@ +# To Do + +1. embed this [tool](https://bgoonz.github.io/html-2-md-converter/)✅ +2. Fix broken Links✅ +3. Algolia Search +4. Visitor Content Authoring.✅ +5. Dark Mode +6. {add content repo]() +7. Add vercel and other backups to readme or internal use page if it exists +8. [gh pages](https://bgoonz.github.io/BGOONZ_BLOG_2.0/) ✅ +9. -[Other repo 1](https://github.com/BGOOONZ-BLOG/bgoonz-blog2.0-v-5)✅ +10. Fix blog images and get rid of duplicates +11. add copy to clipboard to codeblocks +12. get prism or some sort of syntax highlighting working +13. diff --git a/bash-commands.md b/bash-commands.md new file mode 100644 index 0000000000..a32954f798 --- /dev/null +++ b/bash-commands.md @@ -0,0 +1,2016 @@ +# My Commands + +
+ + + Bash Cheat Sheet (MY COMMANDS) Notes: + +###### code + +```sh +#!/bin/bash + +## SHORTCUTS and HISTORY + + +CTRL+A # move to beginning of line +CTRL+B # moves backward one character +CTRL+C # halts the current command +CTRL+D # deletes one character backward or logs out of current session, similar to exit +CTRL+E # moves to end of line +CTRL+F # moves forward one character +CTRL+G # aborts the current editing command and ring the terminal bell +CTRL+H # deletes one character under cursor (same as DELETE) +CTRL+J # same as RETURN +CTRL+K # deletes (kill) forward to end of line +CTRL+L # clears screen and redisplay the line +CTRL+M # same as RETURN +CTRL+N # next line in command history +CTRL+O # same as RETURN, then displays next line in history file +CTRL+P # previous line in command history +CTRL+Q # resumes suspended shell output +CTRL+R # searches backward +CTRL+S # searches forward or suspends shell output +CTRL+T # transposes two characters +CTRL+U # kills backward from point to the beginning of line +CTRL+V # makes the next character typed verbatim +CTRL+W # kills the word behind the cursor +CTRL+X # lists the possible filename completions of the current word +CTRL+Y # retrieves (yank) last item killed +CTRL+Z # stops the current command, resume with fg in the foreground or bg in the background + +ALT+B # moves backward one word +ALT+D # deletes next word +ALT+F # moves forward one word +ALT+H # deletes one character backward +ALT+T # transposes two words +ALT+. # pastes last word from the last command. Pressing it repeatedly traverses through command history. +ALT+U # capitalizes every character from the current cursor position to the end of the word +ALT+L # uncapitalizes every character from the current cursor position to the end of the word +ALT+C # capitalizes the letter under the cursor. The cursor then moves to the end of the word. +ALT+R # reverts any changes to a command you've pulled from your history if you've edited it. +ALT+? # list possible completions to what is typed +ALT+^ # expand line to most recent match from history + +CTRL+X then ( # start recording a keyboard macro +CTRL+X then ) # finish recording keyboard macro +CTRL+X then E # recall last recorded keyboard macro +CTRL+X then CTRL+E # invoke text editor (specified by $EDITOR) on current command line then execute resultes as shell commands + +BACKSPACE # deletes one character backward +DELETE # deletes one character under cursor + +history # shows command line history +!! # repeats the last command +! # refers to command line 'n' +! # refers to command starting with 'string' + +exit # logs out of current session + + +## BASH BASICS + + +env # displays all environment variables + +echo $SHELL # displays the shell you're using +echo $BASH_VERSION # displays bash version + +bash # if you want to use bash (type exit to go back to your previously opened shell) +whereis bash # locates the binary, source and manual-page for a command +which bash # finds out which program is executed as 'bash' (default: /bin/bash, can change across environments) + +clear # clears content on window (hide displayed lines) + + +## FILE COMMANDS + + +ls # lists your files in current directory, ls to print files in a specific directory +ls -l # lists your files in 'long format', which contains the exact size of the file, who owns the file and who has the right to look at it, and when it was last modified +ls -a # lists all files in 'long format', including hidden files (name beginning with '.') +ln -s # creates symbolic link to file +readlink # shows where a symbolic links points to +tree # show directories and subdirectories in easilly readable file tree +mc # terminal file explorer (alternative to ncdu) +touch # creates or updates (edit) your file +mktemp -t # make a temp file in /tmp/ which is deleted at next boot (-d to make directory) +cat # prints file raw content (will not be interpreted) +any_command > # '>' is used to perform redirections, it will set any_command's stdout to file instead of "real stdout" (generally /dev/stdout) +more # shows the first part of a file (move with space and type q to quit) +head # outputs the first lines of file (default: 10 lines) +tail # outputs the last lines of file (useful with -f option) (default: 10 lines) +vim # opens a file in VIM (VI iMproved) text editor, will create it if it doesn't exist +mv # moves a file to destination, behavior will change based on 'dest' type (dir: file is placed into dir; file: file will replace dest (tip: useful for renaming)) +cp # copies a file +rm # removes a file +find . -name # searches for a file or a directory in the current directory and all its sub-directories by its name +diff # compares files, and shows where they differ +wc # tells you how many lines, words and characters there are in a file. Use -lwc (lines, word, character) to ouput only 1 of those informations +sort # sorts the contents of a text file line by line in alphabetical order, use -n for numeric sort and -r for reversing order. +sort -t -k # sorts the contents on specific sort key field starting from 1, using the field separator t. +rev # reverse string characters (hello becomes olleh) +chmod -options # lets you change the read, write, and execute permissions on your files (more infos: SUID, GUID) +gzip # compresses files using gzip algorithm +gunzip # uncompresses files compressed by gzip +gzcat # lets you look at gzipped file without actually having to gunzip it +lpr # prints the file +lpq # checks out the printer queue +lprm # removes something from the printer queue +genscript # converts plain text files into postscript for printing and gives you some options for formatting +dvips # prints .dvi files (i.e. files produced by LaTeX) +grep # looks for the string in the files +grep -r # search recursively for pattern in directory +head -n file_name | tail +n # Print nth line from file. +head -y lines.txt | tail +x # want to display all the lines from x to y. This includes the xth and yth lines. + + +## DIRECTORY COMMANDS + + +mkdir # makes a new directory +rmdir # remove an empty directory +rmdir -rf # remove a non-empty directory +mv # rename a directory from to +cd # changes to home +cd .. # changes to the parent directory +cd # changes directory +cp -r # copy into including sub-directories +pwd # tells you where you currently are +cd ~ # changes to home. +cd - # changes to previous working directory + + +## SSH, SYSTEM INFO & NETWORK COMMANDS + + +ssh user@host # connects to host as user +ssh -p user@host # connects to host on specified port as user +ssh-copy-id user@host # adds your ssh key to host for user to enable a keyed or passwordless login + +whoami # returns your username +passwd # lets you change your password +quota -v # shows what your disk quota is +date # shows the current date and time +cal # shows the month's calendar +uptime # shows current uptime +w # displays whois online +finger # displays information about user +uname -a # shows kernel information +man # shows the manual for specified command +df # shows disk usage +du # shows the disk usage of the files and directories in filename (du -s give only a total) +last # lists your last logins +ps -u yourusername # lists your processes +kill # kills the processes with the ID you gave +killall # kill all processes with the name +top # displays your currently active processes +lsof # lists open files +bg # lists stopped or background jobs ; resume a stopped job in the background +fg # brings the most recent job in the foreground +fg # brings job to the foreground + +ping # pings host and outputs results +whois # gets whois information for domain +dig # gets DNS information for domain +dig -x # reverses lookup host +wget # downloads file + +time # report time consumed by command execution + + +## VARIABLES + + +varname=value # defines a variable +varname=value command # defines a variable to be in the environment of a particular subprocess +echo $varname # checks a variable's value +echo $$ # prints process ID of the current shell +echo $! # prints process ID of the most recently invoked background job +echo $? # displays the exit status of the last command +read # reads a string from the input and assigns it to a variable +read -p "prompt" # same as above but outputs a prompt to ask user for value +column -t # display info in pretty columns (often used with pipe) +let = # performs mathematical calculation using operators like +, -, *, /, % +export VARNAME=value # defines an environment variable (will be available in subprocesses) + +array[0]=valA # how to define an array +array[1]=valB +array[2]=valC +array=([2]=valC [0]=valA [1]=valB) # another way +array=(valA valB valC) # and another + +${array[i]} # displays array's value for this index. If no index is supplied, array element 0 is assumed +${#array[i]} # to find out the length of any element in the array +${#array[@]} # to find out how many values there are in the array + +declare -a # the variables are treated as arrays +declare -f # uses function names only +declare -F # displays function names without definitions +declare -i # the variables are treated as integers +declare -r # makes the variables read-only +declare -x # marks the variables for export via the environment + +${varname:-word} # if varname exists and isn't null, return its value; otherwise return word +${varname:word} # if varname exists and isn't null, return its value; otherwise return word +${varname:=word} # if varname exists and isn't null, return its value; otherwise set it word and then return its value +${varname:?message} # if varname exists and isn't null, return its value; otherwise print varname, followed by message and abort the current command or script +${varname:+word} # if varname exists and isn't null, return word; otherwise return null +${varname:offset:length} # performs substring expansion. It returns the substring of $varname starting at offset and up to length characters + +${variable#pattern} # if the pattern matches the beginning of the variable's value, delete the shortest part that matches and return the rest +${variable##pattern} # if the pattern matches the beginning of the variable's value, delete the longest part that matches and return the rest +${variable%pattern} # if the pattern matches the end of the variable's value, delete the shortest part that matches and return the rest +${variable%%pattern} # if the pattern matches the end of the variable's value, delete the longest part that matches and return the rest +${variable/pattern/string} # the longest match to pattern in variable is replaced by string. Only the first match is replaced +${variable//pattern/string} # the longest match to pattern in variable is replaced by string. All matches are replaced + +${#varname} # returns the length of the value of the variable as a character string + +*(patternlist) # matches zero or more occurrences of the given patterns ++(patternlist) # matches one or more occurrences of the given patterns +?(patternlist) # matches zero or one occurrence of the given patterns +@(patternlist) # matches exactly one of the given patterns +!(patternlist) # matches anything except one of the given patterns + +$(UNIX command) # command substitution: runs the command and returns standard output + + +## FUNCTIONS + + +## The function refers to passed arguments by position (as if they were positional parameters), that is, $1, $2, and so forth. +## $@ is equal to "$1" "$2"... "$N", where N is the number of positional parameters. $# holds the number of positional parameters. + +function functname() { + shell commands +} + +unset -f functname # deletes a function definition +declare -f # displays all defined functions in your login session + + +## FLOW CONTROLS + + +statement1 && statement2 # and operator +statement1 || statement2 # or operator + +-a # and operator inside a test conditional expression +-o # or operator inside a test conditional expression + +## STRINGS + +str1 == str2 # str1 matches str2 +str1 != str2 # str1 does not match str2 +str1 < str2 # str1 is less than str2 (alphabetically) +str1 > str2 # str1 is greater than str2 (alphabetically) +str1 \> str2 # str1 is sorted after str2 +str1 \< str2 # str1 is sorted before str2 +-n str1 # str1 is not null (has length greater than 0) +-z str1 # str1 is null (has length 0) + +## FILES + +-a file # file exists or its compilation is successful +-d file # file exists and is a directory +-e file # file exists; same -a +-f file # file exists and is a regular file (i.e., not a directory or other special type of file) +-r file # you have read permission +-s file # file exists and is not empty +-w file # your have write permission +-x file # you have execute permission on file, or directory search permission if it is a directory +-N file # file was modified since it was last read +-O file # you own file +-G file # file's group ID matches yours (or one of yours, if you are in multiple groups) +file1 -nt file2 # file1 is newer than file2 +file1 -ot file2 # file1 is older than file2 + +## NUMBERS + +-lt # less than +-le # less than or equal +-eq # equal +-ge # greater than or equal +-gt # greater than +-ne # not equal + +if condition +then + statements +[elif condition + then statements...] +[else + statements] +fi + +for x in {1..10} +do + statements +done + +for name [in list] +do + statements that can use $name +done + +for (( initialisation ; ending condition ; update )) +do + statements... +done + +case expression in + pattern1 ) + statements ;; + pattern2 ) + statements ;; +esac + +select name [in list] +do + statements that can use $name +done + +while condition; do + statements +done + +until condition; do + statements +done + + +## COMMAND-LINE PROCESSING CYCLE + + +## The default order for command lookup is functions, followed by built-ins, with scripts and executables last. +## There are three built-ins that you can use to override this order: `command`, `builtin` and `enable`. + +command # removes alias and function lookup. Only built-ins and commands found in the search path are executed +builtin # looks up only built-in commands, ignoring functions and commands found in PATH +enable # enables and disables shell built-ins + +eval # takes arguments and run them through the command-line processing steps all over again + + +## INPUT/OUTPUT REDIRECTORS + + +cmd1|cmd2 # pipe; takes standard output of cmd1 as standard input to cmd2 +< file # takes standard input from file +> file # directs standard output to file +>> file # directs standard output to file; append to file if it already exists +>|file # forces standard output to file even if noclobber is set +n>|file # forces output to file from file descriptor n even if noclobber is set +<> file # uses file as both standard input and standard output +n<>file # uses file as both input and output for file descriptor n +n>file # directs file descriptor n to file +n>file # directs file description n to file; append to file if it already exists +n>& # duplicates standard output to file descriptor n +n<& # duplicates standard input from file descriptor n +n>&m # file descriptor n is made to be a copy of the output file descriptor +n<&m # file descriptor n is made to be a copy of the input file descriptor +&>file # directs standard output and standard error to file +<&- # closes the standard input +>&- # closes the standard output +n>&- # closes the ouput from file descriptor n +n<&- # closes the input from file descripor n + +|tee # output command to both terminal and a file (-a to append to file) + + +## PROCESS HANDLING + + +## To suspend a job, type CTRL+Z while it is running. You can also suspend a job with CTRL+Y. +## This is slightly different from CTRL+Z in that the process is only stopped when it attempts to read input from terminal. +## Of course, to interrupt a job, type CTRL+C. + +myCommand & # runs job in the background and prompts back the shell + +jobs # lists all jobs (use with -l to see associated PID) + +fg # brings a background job into the foreground +fg %+ # brings most recently invoked background job +fg %- # brings second most recently invoked background job +fg %N # brings job number N +fg %string # brings job whose command begins with string +fg %?string # brings job whose command contains string + +kill -l # returns a list of all signals on the system, by name and number +kill PID # terminates process with specified PID +kill -s SIGKILL 4500 # sends a signal to force or terminate the process +kill -15 913 # Ending PID 913 process with signal 15 (TERM) +kill %1 # Where %1 is the number of job as read from 'jobs' command. + +ps # prints a line of information about the current running login shell and any processes running under it +ps -a # selects all processes with a tty except session leaders + +trap cmd sig1 sig2 # executes a command when a signal is received by the script +trap "" sig1 sig2 # ignores that signals +trap - sig1 sig2 # resets the action taken when the signal is received to the default + +disown # removes the process from the list of jobs + +wait # waits until all background jobs have finished +sleep # wait # of seconds before continuing + +pv # display progress bar for data handling commands. often used with pipe like |pv +yes # give yes response everytime an input is requested from script/process + + +## TIPS & TRICKS + + +## set an alias +cd; nano .bash_profile +> alias gentlenode='ssh admin@gentlenode.com -p 3404' # add your alias in .bash_profile + +## to quickly go to a specific directory +cd; nano .bashrc +> shopt -s cdable_vars +> export websites="/Users/mac/Documents/websites" + +source .bashrc +cd $websites + + +## DEBUGGING SHELL PROGRAMS + + +bash -n scriptname # don't run commands; check for syntax errors only +set -o noexec # alternative (set option in script) + +bash -v scriptname # echo commands before running them +set -o verbose # alternative (set option in script) + +bash -x scriptname # echo commands after command-line processing +set -o xtrace # alternative (set option in script) + +trap 'echo $varname' EXIT # useful when you want to print out the values of variables at the point that your script exits + +function errtrap { + es=$? + echo "ERROR line $1: Command exited with status $es." +} + +trap 'errtrap $LINENO' ERR # is run whenever a command in the surrounding script or function exits with non-zero status + +function dbgtrap { + echo "badvar is $badvar" +} + +trap dbgtrap DEBUG # causes the trap code to be executed before every statement in a function or script +## ...section of code in which the problem occurs... +trap - DEBUG # turn off the DEBUG trap + +function returntrap { + echo "A return occurred" +} + +trap returntrap RETURN # is executed each time a shell function or a script executed with the . or source commands finishes executing + + +## COLORS AND BACKGROUNDS + +## note: \e or \x1B also work instead of \033 +## Reset +Color_Off='\033[0m' # Text Reset + +## Regular Colors +Black='\033[0;30m' # Black +Red='\033[0;31m' # Red +Green='\033[0;32m' # Green +Yellow='\033[0;33m' # Yellow +Blue='\033[0;34m' # Blue +Purple='\033[0;35m' # Purple +Cyan='\033[0;36m' # Cyan +White='\033[0;97m' # White + +## Additional colors +LGrey='\033[0;37m' # Ligth Gray +DGrey='\033[0;90m' # Dark Gray +LRed='\033[0;91m' # Ligth Red +LGreen='\033[0;92m' # Ligth Green +LYellow='\033[0;93m'# Ligth Yellow +LBlue='\033[0;94m' # Ligth Blue +LPurple='\033[0;95m'# Light Purple +LCyan='\033[0;96m' # Ligth Cyan + +## Bold +BBlack='\033[1;30m' # Black +BRed='\033[1;31m' # Red +BGreen='\033[1;32m' # Green +BYellow='\033[1;33m'# Yellow +BBlue='\033[1;34m' # Blue +BPurple='\033[1;35m'# Purple +BCyan='\033[1;36m' # Cyan +BWhite='\033[1;37m' # White + +## Underline +UBlack='\033[4;30m' # Black +URed='\033[4;31m' # Red +UGreen='\033[4;32m' # Green +UYellow='\033[4;33m'# Yellow +UBlue='\033[4;34m' # Blue +UPurple='\033[4;35m'# Purple +UCyan='\033[4;36m' # Cyan +UWhite='\033[4;37m' # White + +## Background +On_Black='\033[40m' # Black +On_Red='\033[41m' # Red +On_Green='\033[42m' # Green +On_Yellow='\033[43m'# Yellow +On_Blue='\033[44m' # Blue +On_Purple='\033[45m'# Purple +On_Cyan='\033[46m' # Cyan +On_White='\033[47m' # White + +## Example of usage +echo -e "${Green}This is GREEN text${Color_Off} and normal text" +echo -e "${Red}${On_White}This is Red test on White background${Color_Off}" +## option -e is mandatory, it enable interpretation of backslash escapes +printf "${Red} This is red \n" + +``` + +
+ +> + +#### Find + +## To find files by case-insensitive extension (ex: .jpg, .JPG, .jpG) + +find . -iname "\*.jpg" + +## To find directories + +find . -type d + +## To find files + +find . -type f + +## To find files by octal permission + +find . -type f -perm 777 + +## To find files with setuid bit set +```bash +find . -xdev \( -perm -4000 \) -type f -print0 | xargs -0 ls -l +``` +## To find files with extension '.txt' and remove them +```bash +find ./path/ -name '\*.txt' -exec rm '{}' \; +``` +## To find files with extension '.txt' and look for a string into them +```bash +find ./path/ -name '\*.txt' | xargs grep 'string' +``` +## To find files with size bigger than 5 Mebibyte and sort them by size +```bash +find . -size +5M -type f -print0 | xargs -0 ls -Ssh | sort -z +``` +## To find files bigger than 2 Megabyte and list them +```bash +find . -type f -size +200000000c -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' +``` +## To find files modified more than 7 days ago and list file information +```bash +find . -type f -mtime +7d -ls +``` +## To find symlinks owned by a user and list file information +```bash +find . -type l -user -ls +``` +## To search for and delete empty directories +```bash +find . -type d -empty -exec rmdir {} \; +``` +## To search for directories named build at a max depth of 2 directories +```bash +find . -maxdepth 2 -name build -type d +``` +## To search all files who are not in .git directory +```bash +find . ! -iwholename '_.git_' -type f +``` +## To find all files that have the same node (hard link) as MY_FILE_HERE +```bash +find . -type f -samefile MY_FILE_HERE 2>/dev/null +``` +## To find all files in the current directory and modify their permissions +```bash +find . -type f -exec chmod 644 {} \; +``` +--- + +## 1. Remove spaces from file and folder names and then remove numbers from files and folder names + +### Description: need to : `sudo apt install rename` + +> Notes: Issue when renaming file without numbers collides with existing file name... + +###### code + +```sh +find . -name "* *" -type d | rename 's/ /_/g' +find . -name "* *" -type f | rename 's/ /_/g' +``` + +````bash + +```bash +find $dir -type f | sed 's|\(.*/\)[^A-Z]*\([A-Z].*\)|mv \"&\" \"\1\2\"|' | sh + +find $dir -type d | sed 's|\(.*/\)[^A-Z]*\([A-Z].*\)|mv \"&\" \"\1\2\"|' | sh + +for i in *.html; do mv "$i" "${i%-*}.html"; done + +for i in *.*; do mv "$i" "${i%-*}.${i##*.}"; done + +--- +### Description: combine the contents of every file in the contaning directory. + +>Notes: this includes the contents of the file it's self... + +###### code: + +```js +//APPEND-DIR.js +const fs = require('fs'); +let cat = require('child_process') + .execSync('cat *') + .toString('UTF-8'); +fs.writeFile('output.md', cat, err => { + if (err) throw err; +}); + +``` + +--- + +## 2. Download Website Using Wget + +### Description + +> Notes: ==> sudo apt install wget + +###### code + +```sh + +wget --limit-rate=200k --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla https://bootcamp42.gitbook.io/python/ + +``` + +--- + +## 3. Clean Out Messy Git Repo + +### Description: recursively removes git related folders as well as internal use files / attributions in addition to empty folders + +> Notes: To clear up clutter in repositories that only get used on your local machine. + +###### code + +```sh + +find . -empty -type d -print -delete + +find . \( -name ".git" -o -name ".gitignore" -o -name ".gitmodules" -o -name ".gitattributes" \) -exec rm -rf -- {} + + +find . \( -name "*SECURITY.txt" -o -name "*RELEASE.txt" -o -name "*CHANGELOG.txt" -o -name "*LICENSE.txt" -o -name "*CONTRIBUTING.txt" -name "*HISTORY.md" -o -name "*LICENSE" -o -name "*SECURITY.md" -o -name "*RELEASE.md" -o -name "*CHANGELOG.md" -o -name "*LICENSE.md" -o -name "*CODE_OF_CONDUCT.md" -o -name "*CONTRIBUTING.md" \) -exec rm -rf -- {} + + +``` + +--- + +## 4. clone all of a user's git repositories + +### Description: clone all of a user or organization's git repositories + +> Notes: + +###### code + +## Generalized + +```sh + +CNTX={users|orgs}; NAME={username|orgname}; PAGE=1 +curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=100" | + grep -e 'git_url*' | + cut -d \" -f 4 | + xargs -L1 git clone +``` + +## Clone all Git User + +```sh +CNTX={users}; NAME={bgoonz}; PAGE=1 +curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=200"?branch=master | + grep -e 'git_url*' | + cut -d \" -f 4 | + xargs -L1 git clone + +``` + +## Clone all Git Organization + +```sh + +CNTX={organizations}; NAME={TheAlgorithms}; PAGE=1 +curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=200"?branch=master | + grep -e 'git_url*' | + cut -d \" -f 4 | + xargs -L1 git clone + +``` + +--- + +## 5. Git Workflow + +### Description + +###### code + +```sh +git pull +git init +git add . +git commit -m"update" +git push -u origin master +``` + +```sh +git init +git add . +git commit -m"update" +git push -u origin main +``` + +```sh + +git init +git add . +git commit -m"update" +git push -u origin bryan-guner +``` + +```sh +git init +git add . +git commit -m"update" +git push -u origin gh-pages +``` + +```sh +git init +git add . +git commit -m"update" +git push -u origin preview +``` + +--- + +## 6. Recursive Unzip In Place + +### Description: recursively unzips folders and then deletes the zip file by the same name + +> Notes: + +###### code + +```sh + +find . -name "*.zip" | while read filename; do unzip -o -d "`dirname "$filename"`" "$filename"; done; + +find . -name "*.zip" -type f -print -delete + +``` + +--- + +## 7. git pull keeping local changes + +### Description + +> Notes: + +###### code + +```sh + +git stash +git pull +git stash pop + +``` + +--- + +## 8. Prettier Code Formatter + +### Description + +> Notes: + +###### code + +```sh + +sudo npm i prettier -g + +prettier --write . + +``` + +--- + +## 9. Pandoc + +### Description + +> Notes: + +###### code + +```sh + +find ./ -iname "*.md" -type f -exec sh -c 'pandoc --standalone "${0}" -o "${0%.md}.html"' {} \; + +find ./ -iname "*.html" -type f -exec sh -c 'pandoc --wrap=none --from html --to markdown_strict "${0}" -o "${0%.html}.md"' {} \; + +find ./ -iname "*.docx" -type f -exec sh -c 'pandoc "${0}" -o "${0%.docx}.md"' {} \; + +``` + +--- + +## 10. Gitpod Installs + +### Description + +> Notes: + +###### code + +```sh +sudo apt install tree +sudo apt install pandoc -y +sudo apt install rename -y +sudo apt install black -y +sudo apt install wget -y +npm i lebab -g +npm i prettier -g +npm i npm-recursive-install -g + +``` + +```sh +black . + +prettier --write . +npm-recursive-install +``` + +--- + +## 11. Repo Utils Package + +### Description: my standard repo utis package + +> Notes: + +###### code + +```sh +npm i @bgoonz11/repoutils + +``` + +--- + +## 12. Unix Tree Package Usage + +### Description + +> Notes: + +###### code + +```sh +tree -d -I 'node_modules' + +tree -I 'node_modules' + +tree -f -I 'node_modules' >TREE.md + +tree -f -L 2 >README.md + +tree -f -I 'node_modules' >listing-path.md + +tree -f -I 'node_modules' -d >TREE.md + +tree -f >README.md + +``` + +--- + +## 13. Find & Replace string in file & folder names recursively + +### Description + +> Notes: + +###### code + +```sh + +find . -type f -exec rename 's/string1/string2/g' {} + + +find . -type d -exec rename 's/-master//g' {} + + +find . -type f -exec rename 's/\.download//g' {} + + +find . -type d -exec rename 's/-main//g' {} + + +rename 's/\.js\.download$/.js/' *.js\.download + +rename 's/\.html\.markdown$/.md/' *.html\.markdown + +find . -type d -exec rename 's/es6//g' {} + + +``` + +--- + +## 14. Remove double extensions + +### Description + +> Notes: + +###### code + +```sh +#!/bin/bash + +for file in *.md.md +do + mv "${file}" "${file%.md}" +done + +#!/bin/bash + +for file in *.html.html +do + mv "${file}" "${file%.html}" +done +``` + +```sh + +#!/bin/bash + +for file in *.html.png +do + mv "${file}" "${file%.png}" +done + +for file in *.jpg.jpg +do + mv "${file}" "${file%.png}" +done + +``` + +--- + +## 15. Truncate folder names down to 12 characters + +### Description + +> Notes: + +###### code + +```sh + +for d in ./*; do mv $d ${d:0:12}; done + +``` + +--- + +## 16.Appendir.js + +### Description: combine the contents of every file in the contaning directory + +> Notes: this includes the contents of the file it's self... + +###### code + +```js +//APPEND-DIR.js +const fs = require('fs'); +let cat = require('child_process').execSync('cat *').toString('UTF-8'); +fs.writeFile('output.md', cat, (err) => { + if (err) throw err; +}); +``` + +--- + +## 17. Replace space in filename with underscore + +### Description: followed by replace `'#' with '_'` in directory name + +> Notes: Can be re-purposed to find and replace any set of strings in file or folder names. + +###### code + +```sh +find . -name "* *" -type f | rename 's/_//g' + +find . -name "* *" -type d | rename 's/#/_/g' + +``` + +--- + +## 18. Filter & delete files by name and extension + +### Description + +> Notes: + +###### code + +```sh +find . -name '.bin' -type d -prune -exec rm -rf '{}' + + +find . -name '*.html' -type d -prune -exec rm -rf '{}' + + +find . -name 'nav-index' -type d -prune -exec rm -rf '{}' + + +find . -name 'node-gyp' -type d -prune -exec rm -rf '{}' + + +find . -name 'deleteme.txt' -type f -prune -exec rm -rf '{}' + + +find . -name 'right.html' -type f -prune -exec rm -rf '{}' + + +find . -name 'left.html' -type f -prune -exec rm -rf '{}' + + +``` + +--- + +## 19. Remove lines containing string + +### Description + +> Notes: Remove lines not containing `'.js'` + +```sh + +sudo sed -i '/\.js/!d' ./*scrap2.md + +``` + +###### code + +```sh +sudo sed -i '/githubusercontent/d' ./*sandbox.md + +sudo sed -i '/githubusercontent/d' ./*scrap2.md + +sudo sed -i '/github\.com/d' ./*out.md + +sudo sed -i '/author/d' ./* + +``` + +--- + +## 20. Remove duplicate lines from a text file + +### Description + +> Notes: +> //...syntax of uniq...// +> $uniq [OPTION] [INPUT[OUTPUT]] +> The syntax of this is quite easy to understand. Here, INPUT refers to the input file in which repeated lines need to be filtered out and if INPUT isn't specified then uniq reads from the standard input. OUTPUT refers to the output file in which you can store the filtered output generated by uniq command and as in case of INPUT if OUTPUT isn't specified then uniq writes to the standard output. + +Now, let's understand the use of this with the help of an example. Suppose you have a text file named kt.txt which contains repeated lines that needs to be omitted. This can simply be done with uniq. + +###### code + +```sh +sudo apt install uniq +uniq -u input.txt output.txt + +``` + +--- + +## 21. Remove lines containing string + +### Description + +> Notes: + +###### code + +```sh +sudo sed -i '/githubusercontent/d' ./*sandbox.md + +sudo sed -i '/githubusercontent/d' ./*scrap2.md + +sudo sed -i '/github\.com/d' ./*out.md + +--- +title: add_days +tags: date,intermediate +firstSeen: 2020-10-28T16:19:04+02:00 +lastUpdated: 2020-10-28T16:19:04+02:00 +--- + +sudo sed -i '/title:/d' ./*output.md +sudo sed -i '/firstSeen/d' ./*output.md +sudo sed -i '/lastUpdated/d' ./*output.md +sudo sed -i '/tags:/d' ./*output.md + +sudo sed -i '/badstring/d' ./* + +sudo sed -i '/stargazers/d' ./repo.txt +sudo sed -i '/node_modules/d' ./index.html +sudo sed -i '/right\.html/d' ./index.html +sudo sed -i '/right\.html/d' ./right.html + +``` + +--- + +## 22. Zip directory excluding .git and node_modules all the way down (Linux) + +### Description + +> Notes: + +###### code + +```sh + +#!/bin/bash +TSTAMP=`date '+%Y%m%d-%H%M%S'` +zip -r $1.$TSTAMP.zip $1 -x "**.git/*" -x "**node_modules/*" `shift; echo $@;` + +printf "\nCreated: $1.$TSTAMP.zip\n" + +## usage: +## - zipdir thedir +## - zip thedir -x "**anotherexcludedsubdir/*" (important the double quotes to prevent glob expansion) + +## if in windows/git-bash, add 'zip' command this way: +## https://stackoverflow.com/a/55749636/1482990 + +``` + +--- + +## 23. Delete files containing a certain string + +### Description + +> Notes: + +###### code + +```sh +find . | xargs grep -l www.redhat.com | awk '{print "rm "$1}' > doit.sh +vi doit.sh // check for murphy and his law +source doit.sh + +``` + +--- + +## 24 + +### Description + +> Notes: + +###### code + +```sh + +#!/bin/sh + +## find ./ | grep -i "\.*$" >files +find ./ | sed -E -e 's/([^ ]+[ ]+){8}//' | grep -i "\.*$">files +listing="files" + +out="" + +html="sitemap.html" +out="basename $out.html" +html="sitemap.html" +cmd() { + + echo ' ' + echo '' + echo '' + + echo ' ' + + echo ' ' + echo '' + echo ' ' + echo ' ' + + echo " directory " + echo '' + echo '' + echo "" + echo '' + echo '' + + echo '' + + echo "" + + # continue with the HTML stuff + + echo "" + + echo "" + + echo "
    " + + awk '{print "
  • ",$1," 
  • "}' $listing + + # awk '{print "
  • "}; + + # {print " ",$1,"
  •  "}' \ $listing + + echo "" + + echo "
" + + echo "" + + echo "" + +} + +cmd $listing --sort=extension >>$html + +``` + +--- + +## 25. Index of Iframes + +### Description: Creates an index.html file that contains all the files in the working directory or any of it's sub folders as iframes instead of anchor tags + +> Notes: Useful Follow up Code: + +```sh + +``` + +###### code + +```sh + +#!/bin/sh + +## find ./ | grep -i "\.*$" >files +find ./ | sed -E -e 's/([^ ]+[ ]+){8}//' | grep -i "\.*$">files +listing="files" + +out="" + +html="index.html" +out="basename $out.html" +html="index.html" +cmd() { + + echo ' ' + echo '' + echo '' + + echo ' ' + + echo ' ' + echo '' + echo ' ' + echo ' ' + + echo " directory " + + echo "" + echo '' + echo '' + + echo '' + + echo "" + + # continue with the HTML stuff + + echo "" + + echo "" + + echo "
    " + + awk '{print ""}' $listing + + # awk '{print "
  • "}; + + # {print " ",$1,"
  •  "}' \ $listing + + echo "" + + echo "
" + + echo "" + + echo "" + +} + +cmd $listing --sort=extension >>$html + +``` + +--- + +## 26. Filter Corrupted Git Repo For Troublesome File + +### Description + +> Notes: + +###### code + +```sh + +git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch assets/_index.html' HEAD + +``` + +--- + +## 27. OVERWRITE LOCAL CHANGES + +### Description + +Important: If you have any local changes, they will be lost. With or without --hard option, any local commits that haven't been pushed will be lost.[*] +If you have any files that are not tracked by Git (e.g. uploaded user content), these files will not be affected. + +> Notes: +> First, run a fetch to update all origin/ refs to latest: + +###### code + +```sh + +git fetch --all +## Backup your current branch: + +git branch backup-master +## Then, you have two options: + +git reset --hard origin/master +## OR If you are on some other branch: + +git reset --hard origin/ +## Explanation: +## git fetch downloads the latest from remote without trying to merge or rebase anything. + +## Then the git reset resets the master branch to what you just fetched. The --hard option changes all the files in your working tree to match the files in origin/master +git fetch --all +git reset --hard origin/master + +``` + +--- + +## 28. Remove Submodules + +### Description: To remove a submodule you need to + +> Notes: + +> Delete the relevant section from the .gitmodules file. +> Stage the .gitmodules changes git add .gitmodules +> Delete the relevant section from .git/config. +> Run git rm --cached path_to_submodule (no trailing slash). +> Run rm -rf .git/modules/path_to_submodule (no trailing slash). +> Commit git commit -m "Removed submodule " +> Delete the now untracked submodule files rm -rf path_to_submodule + +###### code + +```sh +git submodule deinit +``` + +--- + +## 29. GET GISTS + +### Description + +> Notes: + +###### code + +```sh +sudo apt install wget + +wget -q -O - https://api.github.com/users/bgoonz/gists | grep raw_url | awk -F\" '{print $4}' | xargs -n3 wget + +wget -q -O - https://api.github.com/users/amitness/gists | grep raw_url | awk -F\" '{print $4}' | xargs -n3 wget + +wget -q -O - https://api.github.com/users/drodsou/gists | grep raw_url | awk -F\" '{print $4}' | xargs -n1 wget + +wget -q -O - https://api.github.com/users/thomasmb/gists | grep raw_url | awk -F\" '{print $4}' | xargs -n1 wget + +``` + +--- + +## 30. Remove Remote OriginL + +### Description + +> Notes: + +###### code + +```sh + +git remote remove origin + +``` + +--- + +## 31. just clone .git folder + +### Description + +> Notes: + +###### code + +```sh + +git clone --bare --branch=master --single-branch https://github.com/bgoonz/My-Web-Dev-Archive.git + +``` + +--- + +## 32. Undo recent pull request + +### Description + +> Notes: + +###### code + +```sh + +git reset --hard master@{"10 minutes ago"} + +``` + +--- + +## 33. Lebab + +### Description: ES5 --> ES6 + +> Notes: + +###### code + +```sh +## Safe: + + lebab --replace ./ --transform arrow + lebab --replace ./ --transform arrow-return + lebab --replace ./ --transform for-of + lebab --replace ./ --transform for-each + lebab --replace ./ --transform arg-rest + lebab --replace ./ --transform arg-spread + lebab --replace ./ --transform obj-method + lebab --replace ./ --transform obj-shorthand + lebab --replace ./ --transform multi-var + +## ALL: + +lebab --replace ./ --transform obj-method +lebab --replace ./ --transform class +lebab --replace ./ --transform arrow +lebab --replace ./ --transform let +lebab --replace ./ --transform arg-spread +lebab --replace ./ --transform arg-rest +lebab --replace ./ --transform for-each +lebab --replace ./ --transform for-of +lebab --replace ./ --transform commonjs +lebab --replace ./ --transform exponent +lebab --replace ./ --transform multi-var +lebab --replace ./ --transform template +lebab --replace ./ --transform default-param +lebab --replace ./ --transform destruct-param +lebab --replace ./ --transform includes +lebab --replace ./ --transform obj-method +lebab --replace ./ --transform class +lebab --replace ./ --transform arrow +lebab --replace ./ --transform arg-spread +lebab --replace ./ --transform arg-rest +lebab --replace ./ --transform for-each +lebab --replace ./ --transform for-of +lebab --replace ./ --transform commonjs +lebab --replace ./ --transform exponent +lebab --replace ./ --transform multi-var +lebab --replace ./ --transform template +lebab --replace ./ --transform default-param +lebab --replace ./ --transform destruct-param +lebab --replace ./ --transform includes + +``` + +--- + +## 34. Troubleshoot Ubuntu Input/Output Error + +### Description: Open Powershell as Administrator + +> Notes: + +###### code + +```ps1 + + wsl.exe --shutdown + + Get-Service LxssManager | Restart-Service + +``` + +--- + +## 35. Export Medium as Markdown + +### Description + +> Notes: + +###### code + +```sh +npm i mediumexporter -g + +mediumexporter https://medium.com/codex/fundamental-data-structures-in-javascript-8f9f709c15b4 >ds.md + +``` + +--- + +## 36. Delete files in violation of a given size range (100MB for git) + +### Description + +> Notes: + +###### code + +```sh + +find . -size +75M -a -print -a -exec rm -f {} \; + +find . -size +98M -a -print -a -exec rm -f {} \; + +``` + +--- + +## 37. download all links of given file type + +### Description + +> Notes: + +###### code + +```sh + +wget -r -A.pdf https://overapi.com/git + +``` + +--- + +## 38. Kill all node processes + +### Description + +> Notes: + +###### code + +```sh +killall -s KILL node + +``` + +--- + +## 39. Remove string from file names recursively + +### Description: In the example below I am using this command to remove the string "-master" from all file names in the working directory and all of it's sub directories + +###### code + +```sh +find -type f -exec sed -i 's///g' {} + + +find . -type f -exec rename 's/-master//g' {} + + +``` + +> Notes: The same could be done for folder names by changing the _-type f_ flag (for file) to a _-type d_ flag (for directory) + +```sh +find -type d -exec sed -i 's///g' {} + + +find . -type d -exec rename 's/-master//g' {} + + +``` + +--- + +## 40. Remove spaces from file and folder names recursively + +### Description: replaces spaces in file and folder names with an `_` underscore + +> Notes: need to run `sudo apt install rename` to use this command + +###### code + +```sh + +find . -name "* *" -type d | rename 's/ /_/g' +find . -name "* *" -type f | rename 's/ /_/g' +``` + +--- + +## 41. Zip Each subdirectories in a given directory into their own zip file + +### Description + +> Notes: + +###### code + +```sh +for i in */; do zip -r "${i%/}.zip" "$i"; done + +``` + +--- + +## 42 + +## 43 + +## 44 + +## 45 + +## 46 + +## 47 + +## 48 + +## 49 + +## 50 + +## 51 + +## 52 + +## 53 + +## 54 + +## 55 + +## 56 + +## 57 + +## 58 + +## 59 + +## 60 + +## 61 + +## 62 + +## 63 + +## 64 + +## 65 + +## 66 + +## 67 + +## 68 + +## 69 + +## 70 + +## 71 + +## 72 + +## 73 + +## 74 + +## 75 + +## 76 + +## 77 + +## 78 + +## 79 + +## 80 + +## 81 + +## 82 + +## 83 + +## 84 + +## 85 + +## 86 + +## 87 + +## 88 + +## 89 + +## 90 + +## 91. Unzip PowerShell + +### Description + +> Notes: + +###### code + +```ps1 + +PARAM ( + [string] $ZipFilesPath = "./", + [string] $UnzipPath = "./RESULT" +) + +$Shell = New-Object -com Shell.Application +$Location = $Shell.NameSpace($UnzipPath) + +$ZipFiles = Get-Childitem $ZipFilesPath -Recurse -Include *.ZIP + +$progress = 1 +foreach ($ZipFile in $ZipFiles) { + Write-Progress -Activity "Unzipping to $($UnzipPath)" -PercentComplete (($progress / ($ZipFiles.Count + 1)) * 100) -CurrentOperation $ZipFile.FullName -Status "File $($Progress) of $($ZipFiles.Count)" + $ZipFolder = $Shell.NameSpace($ZipFile.fullname) + + $Location.Copyhere($ZipFolder.items(), 1040) # 1040 - No msgboxes to the user - http://msdn.microsoft.com/en-us/library/bb787866%28VS.85%29.aspx + $progress++ +} + +``` + +--- + +## 92. return to bash from zsh + +### Description + +> Notes: + +###### code + +```sh + sudo apt --purge remove zsh + +``` + +--- + +## 93. Symbolic Link + +### Description: to working directory + +> Notes: + +###### code + +```sh + +ln -s "$(pwd)" ~/NameOfLink + +ln -s "$(pwd)" ~/Downloads + +``` + +--- + +## 94. auto generate readme + +### Description: rename existing readme to blueprint.md + +> Notes: + +###### code + +```sh + +npx @appnest/readme generate + +``` + +--- + +## 95. Log into postgres + +### Description + +> Notes: + +###### code + +```sh +sudo -u postgres psql +``` + +--- + +## 96. URL To Subscribe To YouTube Channel + +### Description + +> Notes: + +###### code + +```txt + +https://www.youtube.com/channel/UC1HDa0wWnIKUf-b4yY9JecQ?sub_confirmation=1 + +``` + +--- + +## 97. Embed Repl.it In Medium Post + +###### code + +```txt + +https://repl.it/@bgoonz/Data-Structures-Algos-Codebase?lite=true&referrer=https%3A%2F%2Fbryanguner.medium.com + +https://repl.it/@bgoonz/node-db1-project?lite=true&referrer=https%3A%2F%2Fbryanguner.medium.com + +https://repl.it/@bgoonz/interview-prac?lite=true&referrer=https%3A%2F%2Fbryanguner.medium.com + +https://repl.it/@bgoonz/Database-Prac?lite=true&referrer=https%3A%2F%2Fbryanguner.medium.com + +``` + +--- + +## 98 + +### Description + +> Notes: + +###### code + +```sh + +find . -name *right.html -type f -exec sed -i 's/target="_parent"//g' {} + + +find . -name *right.html -type f -exec sed -i 's/target="_parent"//g' {} + + +``` + +--- diff --git a/gatsby-browser.js b/gatsby-browser.js index 1892009e01..80165fa012 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -12,37 +12,23 @@ let initialized = false; exports.onInitialClientRender = () => { - initialized = true; - if ( - "onGatsbyInitialClientRender" in window && - typeof window.onGatsbyInitialClientRender === "function" - ) { - window.onGatsbyInitialClientRender(); - } - if ( - "onGatsbyRouteUpdate" in window && - typeof window.onGatsbyRouteUpdate === "function" - ) { - window.onGatsbyRouteUpdate(); - } + initialized = true; + if ('onGatsbyInitialClientRender' in window && typeof window.onGatsbyInitialClientRender === 'function') { + window.onGatsbyInitialClientRender(); + } + if ('onGatsbyRouteUpdate' in window && typeof window.onGatsbyRouteUpdate === 'function') { + window.onGatsbyRouteUpdate(); + } }; exports.onRouteUpdate = () => { - if ( - initialized && - "onGatsbyRouteUpdate" in window && - typeof window.onGatsbyRouteUpdate === "function" - ) { - window.onGatsbyRouteUpdate(); - } + if (initialized && 'onGatsbyRouteUpdate' in window && typeof window.onGatsbyRouteUpdate === 'function') { + window.onGatsbyRouteUpdate(); + } }; exports.onPreRouteUpdate = () => { - if ( - initialized && - "onGatsbyPreRouteUpdate" in window && - typeof window.onGatsbyPreRouteUpdate === "function" - ) { - window.onGatsbyPreRouteUpdate(); - } + if (initialized && 'onGatsbyPreRouteUpdate' in window && typeof window.onGatsbyPreRouteUpdate === 'function') { + window.onGatsbyPreRouteUpdate(); + } }; diff --git a/gatsby-config.js b/gatsby-config.js index 271c6746eb..f7a7442843 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,82 +1,81 @@ -const siteMetadata = require("./site-metadata.json"); - +const siteMetadata = require('./site-metadata.json'); module.exports = { - pathPrefix: "/", - siteMetadata: siteMetadata, - plugins: [ - "gatsby-plugin-react-helmet", - "gatsby-source-data", - "gatsby-transformer-remark", - { - resolve: "gatsby-source-filesystem", - options: { - name: "pages", - path: `${__dirname}/src/pages`, - }, - }, - { - resolve: "gatsby-transformer-remark", - options: { - plugins: ["gatsby-remark-prismjs"], - }, - }, - { - resolve: "gatsby-remark-code-buttons", - options: { - // Optional button container class name. Defaults - // to 'gatsby-code-button-container'. - buttonContainerClass: "customButtonContainerClass", - // Optional button class name. Defaults to 'gatsby-code-button'. - buttonClass: "customButtonClass", - // Optional button text. Defaults to ''. - buttonText: "customButtonText", - // Optional svg icon class name. Defaults to 'gatsby-code-button-icon'. - svgIconClass: "customSvgIconClass", - // Optional svg icon. Defaults to svg string and can be - // replaced with any other valid svg. Use custom classes - // in the svg string and skip `iconClass` option. - svgIcon: "customSvgIcon", - // Optional tooltip text. Defaults to ''. - tooltipText: "customTooltipText", - // Optional toaster class name. Defaults to ''. - toasterClass: "customToasterClass", - // Optional toaster text class name. Defaults to ''. - toasterTextClass: "customToasterTextClass", - // Optional toaster text. Defaults to ''. - toasterText: "customToasterText", - // Optional toaster duration. Defaults to 3500. - toasterDuration: 5000, - }, - }, - { - resolve: "gatsby-plugin-disqus", - options: { - shortname: "webdevhub-1", - }, - }, - { - resolve: "gatsby-plugin-no-sourcemaps", - }, - { - resolve: "gatsby-plugin-sass", - options: {}, - }, - { - resolve: "gatsby-remark-page-creator", - options: {}, - }, - { - resolve: "@stackbit/gatsby-plugin-menus", - options: { - sourceUrlPath: "fields.url", - pageContextProperty: "menus", - }, - }, - { - resolve: "gatsby-plugin-disqus", - options: { - shortname: "webdevhub-1", - }, - }, - ], -}; + pathPrefix: '/', + siteMetadata: siteMetadata, + plugins: [ + 'gatsby-plugin-react-helmet', + 'gatsby-source-data', + 'gatsby-transformer-remark', + { + resolve: 'gatsby-source-filesystem', + options: { + name: 'pages', + path: `${__dirname}/src/pages` + } + }, + { + resolve: 'gatsby-transformer-remark', + options: { + plugins: ['gatsby-remark-prismjs'], + }, + }, + { + resolve: 'gatsby-remark-code-buttons', + options: { + // Optional button container class name. Defaults + // to 'gatsby-code-button-container'. + buttonContainerClass: 'customButtonContainerClass', + // Optional button class name. Defaults to 'gatsby-code-button'. + buttonClass: 'customButtonClass', + // Optional button text. Defaults to ''. + buttonText: 'customButtonText', + // Optional svg icon class name. Defaults to 'gatsby-code-button-icon'. + svgIconClass: 'customSvgIconClass', + // Optional svg icon. Defaults to svg string and can be + // replaced with any other valid svg. Use custom classes + // in the svg string and skip `iconClass` option. + svgIcon: 'customSvgIcon', + // Optional tooltip text. Defaults to ''. + tooltipText: 'customTooltipText', + // Optional toaster class name. Defaults to ''. + toasterClass: 'customToasterClass', + // Optional toaster text class name. Defaults to ''. + toasterTextClass: 'customToasterTextClass', + // Optional toaster text. Defaults to ''. + toasterText: 'customToasterText', + // Optional toaster duration. Defaults to 3500. + toasterDuration: 5000 + }, + }, + { + resolve: 'gatsby-plugin-disqus', + options: { + shortname: 'webdevhub-1', + } + }, + { + resolve: 'gatsby-plugin-no-sourcemaps', + }, + { + resolve: 'gatsby-plugin-sass', + options: {} + }, + { + resolve: 'gatsby-remark-page-creator', + options: {} + }, + { + resolve: '@stackbit/gatsby-plugin-menus', + options: { + sourceUrlPath: 'fields.url', + pageContextProperty: 'menus', + }, + }, + { + resolve: 'gatsby-plugin-disqus', + options: { + shortname: 'webdevhub-1' + } + }, + ] +}; \ No newline at end of file diff --git a/gatsby-ssr.js b/gatsby-ssr.js index 5647a2e6c8..ac7ae347c6 100644 --- a/gatsby-ssr.js +++ b/gatsby-ssr.js @@ -7,21 +7,31 @@ const React = require("react"); const withPrefix = require("./src/utils/withPrefix").default; -exports.onRenderBody = function ({ setHeadComponents, setPostBodyComponents }) { - setHeadComponents([]); +exports.onRenderBody = function({ setHeadComponents, setPostBodyComponents }) { + + setHeadComponents([ + + ]); + + setPostBodyComponents([ + +