diff options
Diffstat (limited to 'public')
76 files changed, 0 insertions, 3332 deletions
diff --git a/public/KumarDamaniCV.pdf b/public/KumarDamaniCV.pdf Binary files differdeleted file mode 100644 index f763f47..0000000 --- a/public/KumarDamaniCV.pdf +++ /dev/null diff --git a/public/articles/index.html b/public/articles/index.html deleted file mode 100644 index 69999ae..0000000 --- a/public/articles/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<html lang="en-us"> - <head> - <title>https://kumardamani.net/post/</title> - <link rel="canonical" href="https://kumardamani.net/post/"> - <meta name="robots" content="noindex"> - <meta charset="utf-8"> - <meta http-equiv="refresh" content="0; url=https://kumardamani.net/post/"> - </head> -</html> diff --git a/public/blog/index.html b/public/blog/index.html deleted file mode 100644 index 69999ae..0000000 --- a/public/blog/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<html lang="en-us"> - <head> - <title>https://kumardamani.net/post/</title> - <link rel="canonical" href="https://kumardamani.net/post/"> - <meta name="robots" content="noindex"> - <meta charset="utf-8"> - <meta http-equiv="refresh" content="0; url=https://kumardamani.net/post/"> - </head> -</html> diff --git a/public/btc.png b/public/btc.png Binary files differdeleted file mode 100644 index d076204..0000000 --- a/public/btc.png +++ /dev/null diff --git a/public/categories/index.html b/public/categories/index.html deleted file mode 100644 index 4f8f552..0000000 --- a/public/categories/index.html +++ /dev/null @@ -1,101 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>Categories – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <h1 id="categories">Categories</h1> - - - - <ul> - - </ul> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/categories/index.xml b/public/categories/index.xml deleted file mode 100644 index 1919463..0000000 --- a/public/categories/index.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>Categories on Kumar Damani - Home</title> - <link>https://kumardamani.net/categories/</link> - <description>Recent content in Categories on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language><atom:link href="https://kumardamani.net/categories/index.xml" rel="self" type="application/rss+xml" /> - </channel> -</rss> diff --git a/public/css/about.css b/public/css/about.css deleted file mode 100644 index 6c12ba4..0000000 --- a/public/css/about.css +++ /dev/null @@ -1,26 +0,0 @@ -/* About/bio section */ -.about__logo { - height: 1.5rem; -} - -.about__title { - display: inline; - vertical-align: top; -} - -.about__title::before { - content: none; -} - -/* Social media links */ -.aside__social-links { - padding: 0; -} - -.aside__social-links li { - display: inline-block; -} - -.aside__social-links li::marker { - content: none; -} diff --git a/public/css/colour/dark-mode.css b/public/css/colour/dark-mode.css deleted file mode 100644 index 386f99d..0000000 --- a/public/css/colour/dark-mode.css +++ /dev/null @@ -1,7 +0,0 @@ -:root { - --bg: var(--black); - --dark-bg: var(--dark-black); - --bright-bg: var(--bright-black); - --fg: var(--white); - --bright-fg: var(--bright-white); -} diff --git a/public/css/colour/gruvbox-dark.css b/public/css/colour/gruvbox-dark.css deleted file mode 100644 index 24c4218..0000000 --- a/public/css/colour/gruvbox-dark.css +++ /dev/null @@ -1,29 +0,0 @@ -/* gruvbox dark mode - * https://github.com/morhetz/gruvbox - */ -:root { - --dark-black: #1d2021; - --black: #282828; - --bright-black: #928374; - - --white: #ebdbb2; - --bright-white: #fbf1c7; - - --red: #cc241d; - --green: #98971a; - --yellow: #d79921; - --blue: #458588; - --magenta: #b16286; - --cyan: #689d6a; - --orange: #d65d0e; - --gray: #928374; - - --bright-red: #fb4934; - --bright-green: #b8bb26; - --bright-yellow: #fabd2f; - --bright-blue: #83a598; - --bright-magenta: #d3869b; - --bright-cyan: #8ec07c; - --bright-orange: #fe8019; - --bright-gray: #a89984; -} diff --git a/public/css/colour/gruvbox-light.css b/public/css/colour/gruvbox-light.css deleted file mode 100644 index cff8fa3..0000000 --- a/public/css/colour/gruvbox-light.css +++ /dev/null @@ -1,30 +0,0 @@ -/* gruvbox light mode - * https://github.com/morhetz/gruvbox - */ -:root { - --dark-black: #282828; - --black: #3c3836; - --bright-black: #928374; - - --white: #fbf1c7; - --bright-white: #f9f5d7; - - --red: #9d0006; - --green: #79740e; - --yellow: #b57614; - --blue: #076678; - --magenta: #8f3f71; - --cyan: #427b58; - --orange: #af3a03; - --gray: #7c6f64; - - --dark-white: #f2e5bc; - --bright-red: #cc241d; - --bright-green: #98971a; - --bright-yellow: #d79921; - --bright-blue: #458588; - --bright-magenta: #b16286; - --bright-cyan: #689d6a; - --bright-orange: #d65d0e; - --bright-gray: #928374; -} diff --git a/public/css/colour/light-mode.css b/public/css/colour/light-mode.css deleted file mode 100644 index 3ac2827..0000000 --- a/public/css/colour/light-mode.css +++ /dev/null @@ -1,7 +0,0 @@ -:root { - --bg: var(--white); - --dark-bg: var(--dark-white); - --bright-bg: var(--bright-black); - --fg: var(--black); - --bright-fg: var(--bright-black); -} diff --git a/public/css/colours.css b/public/css/colours.css deleted file mode 100644 index 4326985..0000000 --- a/public/css/colours.css +++ /dev/null @@ -1,17 +0,0 @@ -:root { - /* Background */ - --bg: var(--base00); - --off-bg: var(--base01); - --inner-bg: var(--base02); - - /* Text */ - --fg: var(--base05); - --off-fg: var(--base04); - --muted: var(--base03); - --link: var(--base0D); - --hover: var(--base0C); - --highlight: var(--base0A); - - /* Logo */ - --logo: var(--base0B); -} diff --git a/public/css/custom.css b/public/css/custom.css deleted file mode 100644 index 71949ed..0000000 --- a/public/css/custom.css +++ /dev/null @@ -1 +0,0 @@ -/* Override this file to customise the theme's CSS for your site */ diff --git a/public/css/footer.css b/public/css/footer.css deleted file mode 100644 index 3e84188..0000000 --- a/public/css/footer.css +++ /dev/null @@ -1,7 +0,0 @@ -.page__footer { - color: var(--off-fg); -} - -.page__footer p { - margin: 0; -} diff --git a/public/css/header.css b/public/css/header.css deleted file mode 100644 index cab735b..0000000 --- a/public/css/header.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Main menu */ -.main-nav ul { - display: flex; - flex-flow: row wrap; - justify-content: flex-start; - margin: 0; - padding: 0 0 0.25rem 0; - gap: 0rem 1.5rem; -} - -.main-nav li { - padding-top: 0.25rem; - margin-left: 1rem; - text-transform: lowercase; -} - -.main-nav li::marker { - content: "./"; -} - diff --git a/public/css/layout.css b/public/css/layout.css deleted file mode 100644 index d249166..0000000 --- a/public/css/layout.css +++ /dev/null @@ -1,57 +0,0 @@ -/* 1rem = 16px by default */ - -.page { - max-width: 64rem; - margin: 1rem auto; - display: grid; - grid-template-areas: - "header" - "body" - "aside" - "footer"; - grid-template-columns: minmax(0, 1fr); /* https://css-tricks.com/preventing-a-grid-blowout/ */ - grid-row-gap: 2rem; -} - -@media (min-width: 45rem) { - .page { - grid-template-areas: - "header header" - "body aside" - "footer footer"; - grid-template-columns: minmax(0, 1fr) 15rem; - grid-column-gap: 2rem; - } -} - -/* Header */ -.page__header { - grid-area: header; - display: flex; -} - -.page__logo { - flex-shrink: 0; -} - -.page__nav { - flex-grow: 1; -} - -/* Body + aside */ -.page__body { - grid-area: body; - background-color: var(--off-bg); - box-shadow: 0 0 0 1rem var(--off-bg); - overflow-wrap: break-word; -} - -.page__aside { - grid-area: aside; - color: var(--off-fg); -} - -/* Footer */ -.page__footer { - grid-area: footer; -} diff --git a/public/css/logo.css b/public/css/logo.css deleted file mode 100644 index 368fff4..0000000 --- a/public/css/logo.css +++ /dev/null @@ -1,37 +0,0 @@ -.page__logo { - padding: 0; - margin: 0; - font-weight: inherit; - color: var(--bg); -} - -.page__logo:before { - content: none; -} - -.page__logo-inner { - display: block; - background: var(--logo); - opacity: 0.90; - padding: 0.25rem; -} - -a.page__logo-inner:link, a.page__logo-inner:visited { - color: inherit; - text-decoration: inherit; -} - -a.page__logo-inner:hover, -a.page__logo-inner:active { - opacity: 1; -} - -.page__logo-inner:before { - content: "["; - color: var(--bg); -} - -.page__logo-inner:after { - content: "] $"; - color: var(--bg); -} diff --git a/public/css/palettes/apprentice.css b/public/css/palettes/apprentice.css deleted file mode 100644 index 303d1c7..0000000 --- a/public/css/palettes/apprentice.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Apprentice by romainl */ - -:root { - --base00: #262626; - --base01: #AF5F5F; - --base02: #5F875F; - --base03: #87875F; - --base04: #5F87AF; - --base05: #5F5F87; - --base06: #5F8787; - --base07: #6C6C6C; - --base08: #444444; - --base09: #FF8700; - --base0A: #87AF87; - --base0B: #FFFFAF; - --base0C: #87AFD7; - --base0D: #8787AF; - --base0E: #5FAFAF; - --base0F: #BCBCBC; -}
\ No newline at end of file diff --git a/public/css/palettes/base16-dark.css b/public/css/palettes/base16-dark.css deleted file mode 100644 index cb1ec1d..0000000 --- a/public/css/palettes/base16-dark.css +++ /dev/null @@ -1,22 +0,0 @@ -/* base16 default dark - * https://github.com/chriskempson/base16-default-schemes - */ - -:root { - --base00: #181818; - --base01: #282828; - --base02: #383838; - --base03: #585858; - --base04: #b8b8b8; - --base05: #d8d8d8; - --base06: #e8e8e8; - --base07: #f8f8f8; - --base08: #ab4642; - --base09: #dc9656; - --base0A: #f7ca88; - --base0B: #a1b56c; - --base0C: #86c1b9; - --base0D: #7cafc2; - --base0E: #ba8baf; - --base0F: #a16946; -} diff --git a/public/css/palettes/base16-light.css b/public/css/palettes/base16-light.css deleted file mode 100644 index bcbbb5a..0000000 --- a/public/css/palettes/base16-light.css +++ /dev/null @@ -1,22 +0,0 @@ -/* base16 default light - * https://github.com/chriskempson/base16-default-schemes - */ - -:root { - --base00: #f8f8f8; - --base01: #e8e8e8; - --base02: #d8d8d8; - --base03: #b8b8b8; - --base04: #585858; - --base05: #383838; - --base06: #282828; - --base07: #181818; - --base08: #ab4642; - --base09: #dc9656; - --base0A: #f7ca88; - --base0B: #a1b56c; - --base0C: #86c1b9; - --base0D: #7cafc2; - --base0E: #ba8baf; - --base0F: #a16946; -} diff --git a/public/css/palettes/dracula.css b/public/css/palettes/dracula.css deleted file mode 100644 index 66f1abc..0000000 --- a/public/css/palettes/dracula.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Dracula by Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula) */ - -:root { - --base00: #282936; - --base01: #3a3c4e; - --base02: #4d4f68; - --base03: #626483; - --base04: #62d6e8; - --base05: #e9e9f4; - --base06: #f1f2f8; - --base07: #f7f7fb; - --base08: #ea51b2; - --base09: #b45bcf; - --base0A: #00f769; - --base0B: #ebff87; - --base0C: #a1efe4; - --base0D: #62d6e8; - --base0E: #b45bcf; - --base0F: #00f769; -}
\ No newline at end of file diff --git a/public/css/palettes/gruvbox-dark.css b/public/css/palettes/gruvbox-dark.css deleted file mode 100644 index 1d60bd9..0000000 --- a/public/css/palettes/gruvbox-dark.css +++ /dev/null @@ -1,23 +0,0 @@ -/* gruvbox dark - * https://github.com/morhetz/gruvbox - * base16: https://github.com/dawikur/base16-gruvbox-scheme - */ - -:root { - --base00: #282828; - --base01: #3c3836; - --base02: #504945; - --base03: #665c54; - --base04: #bdae93; - --base05: #d5c4a1; - --base06: #ebdbb2; - --base07: #fbf1c7; - --base08: #fb4934; - --base09: #fe8019; - --base0A: #fabd2f; - --base0B: #b8bb26; - --base0C: #8ec07c; - --base0D: #83a598; - --base0E: #d3869b; - --base0F: #d65d0e; -} diff --git a/public/css/palettes/gruvbox-light.css b/public/css/palettes/gruvbox-light.css deleted file mode 100644 index f786cf0..0000000 --- a/public/css/palettes/gruvbox-light.css +++ /dev/null @@ -1,23 +0,0 @@ -/* gruvbox light - * https://github.com/morhetz/gruvbox - * base16: https://github.com/dawikur/base16-gruvbox-scheme - */ - -:root { - --base00: #fbf1c7; - --base01: #ebdbb2; - --base02: #d5c4a1; - --base03: #bdae93; - --base04: #665c54; - --base05: #504945; - --base06: #3c3836; - --base07: #282828; - --base08: #9d0006; - --base09: #af3a03; - --base0A: #b57614; - --base0B: #79740e; - --base0C: #427b58; - --base0D: #076678; - --base0E: #8f3f71; - --base0F: #d65d0e; -} diff --git a/public/css/palettes/material.css b/public/css/palettes/material.css deleted file mode 100644 index 60bfafb..0000000 --- a/public/css/palettes/material.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Material by Nate Peterson */ - -:root { - --base00: #263238; - --base01: #2E3C43; - --base02: #314549; - --base03: #546E7A; - --base04: #B2CCD6; - --base05: #EEFFFF; - --base06: #EEFFFF; - --base07: #FFFFFF; - --base08: #F07178; - --base09: #F78C6C; - --base0A: #FFCB6B; - --base0B: #C3E88D; - --base0C: #89DDFF; - --base0D: #82AAFF; - --base0E: #C792EA; - --base0F: #FF5370; -}
\ No newline at end of file diff --git a/public/css/palettes/papercolor-dark.css b/public/css/palettes/papercolor-dark.css deleted file mode 100644 index d289932..0000000 --- a/public/css/palettes/papercolor-dark.css +++ /dev/null @@ -1,20 +0,0 @@ -/* PaperColor Dark by Jon Leopard (http://github.com/jonleopard) based on PaperColor Theme (https://github.com/NLKNguyen/papercolor-theme) */ - -:root { - --base00: #1c1c1c; - --base01: #af005f; - --base02: #5faf00; - --base03: #d7af5f; - --base04: #5fafd7; - --base05: #808080; - --base06: #d7875f; - --base07: #d0d0d0; - --base08: #585858; - --base09: #5faf5f; - --base0A: #afd700; - --base0B: #af87d7; - --base0C: #ffaf00; - --base0D: #ff5faf; - --base0E: #00afaf; - --base0F: #5f8787; -}
\ No newline at end of file diff --git a/public/css/palettes/papercolor-light.css b/public/css/palettes/papercolor-light.css deleted file mode 100644 index 7eeb7f5..0000000 --- a/public/css/palettes/papercolor-light.css +++ /dev/null @@ -1,20 +0,0 @@ -/* PaperColor Light by Jon Leopard (http://github.com/jonleopard) based on PaperColor Theme (https://github.com/NLKNguyen/papercolor-theme) */ - -:root { - --base00: #eeeeee; - --base01: #af0000; - --base02: #008700; - --base03: #5f8700; - --base04: #0087af; - --base05: #444444; - --base06: #005f87; - --base07: #878787; - --base08: #bcbcbc; - --base09: #d70000; - --base0A: #d70087; - --base0B: #8700af; - --base0C: #d75f00; - --base0D: #d75f00; - --base0E: #005faf; - --base0F: #005f87; -}
\ No newline at end of file diff --git a/public/css/palettes/solarized-dark.css b/public/css/palettes/solarized-dark.css deleted file mode 100644 index a646595..0000000 --- a/public/css/palettes/solarized-dark.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Solarized Dark by Ethan Schoonover (modified by aramisgithub) */ - -:root { - --base00: #002b36; - --base01: #073642; - --base02: #586e75; - --base03: #657b83; - --base04: #839496; - --base05: #93a1a1; - --base06: #eee8d5; - --base07: #fdf6e3; - --base08: #dc322f; - --base09: #cb4b16; - --base0A: #b58900; - --base0B: #859900; - --base0C: #2aa198; - --base0D: #268bd2; - --base0E: #6c71c4; - --base0F: #d33682; -}
\ No newline at end of file diff --git a/public/css/palettes/solarized-light.css b/public/css/palettes/solarized-light.css deleted file mode 100644 index dfb92c1..0000000 --- a/public/css/palettes/solarized-light.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Solarized Light by Ethan Schoonover (modified by aramisgithub) */ - -:root { - --base00: #fdf6e3; - --base01: #eee8d5; - --base02: #93a1a1; - --base03: #839496; - --base04: #657b83; - --base05: #586e75; - --base06: #073642; - --base07: #002b36; - --base08: #dc322f; - --base09: #cb4b16; - --base0A: #b58900; - --base0B: #859900; - --base0C: #2aa198; - --base0D: #268bd2; - --base0E: #6c71c4; - --base0F: #d33682; -}
\ No newline at end of file diff --git a/public/css/palettes/tender.css b/public/css/palettes/tender.css deleted file mode 100644 index 77fbe87..0000000 --- a/public/css/palettes/tender.css +++ /dev/null @@ -1,20 +0,0 @@ -/* tender by Jacobo Tabernero (https://github/com/jacoborus/tender.vim) */ - -:root { - --base00: #282828; - --base01: #383838; - --base02: #484848; - --base03: #4c4c4c; - --base04: #b8b8b8; - --base05: #eeeeee; - --base06: #e8e8e8; - --base07: #feffff; - --base08: #f43753; - --base09: #dc9656; - --base0A: #ffc24b; - --base0B: #c9d05c; - --base0C: #73cef4; - --base0D: #b3deef; - --base0E: #d3b987; - --base0F: #a16946; -}
\ No newline at end of file diff --git a/public/css/palettes/tokyo-night-dark.css b/public/css/palettes/tokyo-night-dark.css deleted file mode 100644 index 760d2fe..0000000 --- a/public/css/palettes/tokyo-night-dark.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Tokyo Night Dark by Michaël Ball */ - -:root { - --base00: #1A1B26; - --base01: #16161E; - --base02: #2F3549; - --base03: #444B6A; - --base04: #787C99; - --base05: #A9B1D6; - --base06: #CBCCD1; - --base07: #D5D6DB; - --base08: #C0CAF5; - --base09: #A9B1D6; - --base0A: #0DB9D7; - --base0B: #9ECE6A; - --base0C: #B4F9F8; - --base0D: #2AC3DE; - --base0E: #BB9AF7; - --base0F: #F7768E; -}
\ No newline at end of file diff --git a/public/css/palettes/tokyo-night-light.css b/public/css/palettes/tokyo-night-light.css deleted file mode 100644 index 66e73c8..0000000 --- a/public/css/palettes/tokyo-night-light.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Tokyo Night Light by Michaël Ball */ - -:root { - --base00: #D5D6DB; - --base01: #CBCCD1; - --base02: #DFE0E5; - --base03: #9699A3; - --base04: #4C505E; - --base05: #343B59; - --base06: #1A1B26; - --base07: #1A1B26; - --base08: #343B58; - --base09: #965027; - --base0A: #166775; - --base0B: #485E30; - --base0C: #3E6968; - --base0D: #34548A; - --base0E: #5A4A78; - --base0F: #8C4351; -}
\ No newline at end of file diff --git a/public/css/palettes/windows-95-light.css b/public/css/palettes/windows-95-light.css deleted file mode 100644 index 70cfeeb..0000000 --- a/public/css/palettes/windows-95-light.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Windows 95 Light by Fergus Collins (https://github.com/C-Fergus) */ - -:root { - --base00: #fcfcfc; - --base01: #e0e0e0; - --base02: #c4c4c4; - --base03: #a8a8a8; - --base04: #7e7e7e; - --base05: #545454; - --base06: #2a2a2a; - --base07: #000000; - --base08: #a80000; - --base09: #fcfc54; - --base0A: #a85400; - --base0B: #00a800; - --base0C: #00a8a8; - --base0D: #0000a8; - --base0E: #a800a8; - --base0F: #54fc54; -}
\ No newline at end of file diff --git a/public/css/palettes/windows-95.css b/public/css/palettes/windows-95.css deleted file mode 100644 index 5b44cf8..0000000 --- a/public/css/palettes/windows-95.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Windows 95 by Fergus Collins (https://github.com/C-Fergus) */ - -:root { - --base00: #000000; - --base01: #1C1C1C; - --base02: #383838; - --base03: #545454; - --base04: #7e7e7e; - --base05: #a8a8a8; - --base06: #d2d2d2; - --base07: #fcfcfc; - --base08: #fc5454; - --base09: #a85400; - --base0A: #fcfc54; - --base0B: #54fc54; - --base0C: #54fcfc; - --base0D: #5454fc; - --base0E: #fc54fc; - --base0F: #00a800; -}
\ No newline at end of file diff --git a/public/css/risotto.css b/public/css/risotto.css deleted file mode 100644 index dcb5a96..0000000 --- a/public/css/risotto.css +++ /dev/null @@ -1,12 +0,0 @@ -@import 'colours.css'; -@import 'typography.css'; -@import 'layout.css'; -@import 'header.css'; -@import 'logo.css'; -@import 'about.css'; -@import 'footer.css'; - -body { - background-color: var(--bg); - color: var(--fg); -} diff --git a/public/css/typography.css b/public/css/typography.css deleted file mode 100644 index 6369cf0..0000000 --- a/public/css/typography.css +++ /dev/null @@ -1,215 +0,0 @@ -/* Fonts */ -:root { - --font-monospace: "Fira Mono", monospace; -} - -body { - font-family: var(--font-monospace); - font-size: 16px; - line-height: 1.5rem; -} - -/* Headings */ -h1, -h2, -h3, -h4, -h5, -h6 { - font-size: 1rem; - margin: 1.5rem 0 0 0; - font-weight: 600; -} - -h1+h2, -h1+h3, -h1+h4, -h1+h5, -h1+h6, -h2+h3, -h2+h4, -h2+h5, -h2+h6, -h3+h4, -h3+h5, -h3+h6, -h4+h5, -h4+h6, -h5+h6 { - margin: 0; -} - -h1:before { content: "# "; } -h2:before { content: "## "; } -h3:before { content: "### "; } -h4:before { content: "#### "; } -h5:before { content: "##### "; } -h6:before { content: "###### "; } - -h1:before, -h2:before, -h3:before, -h4:before, -h5:before, -h6:before { - color: var(--muted); -} - -h1:first-child { - margin-top: 0; -} - -/* Paragraphs */ -p { - margin: 0 0 1.5rem 0; -} - -/* Links */ - -a:link, a:visited { - color: var(--link); -} - -a:hover, a:active, a.active { - color: var(--hover); -} - -/* Lists */ -ul { - margin: 0 0 1.5rem 0; - padding-left: 1.25rem; -} - -ol { - margin: 0 0 1.5rem 0; - padding-left: 1.75rem; -} - -ul ul, -ul ol, -ol ul, -ol ol { - margin: 0; -} - -ul li::marker { - content: '∗\00A0'; - color: var(--muted); -} - -ol li::marker { - color: var(--muted); -} - -dt { - margin: 0; - font-weight: bold; -} - -dd { - margin: 0 0 0 1.5rem; - font-style: italic; -} - -dd + dt { - margin-top: 1.5rem; -} - -dl { - margin: 0 0 1.5rem 0; -} - -/* Blockquotes */ -blockquote { - position: relative; - margin: 0 0 1.5rem 1.5rem; -} - -blockquote::before { - position: absolute; - left: -1.5rem; - content: ">"; - color: var(--muted); -} - -.twitter-tweet::before { - content: "\f099"; - font-family: "Font Awesome 5 Brands"; - font-weight: 400; -} - -/* Code */ -pre, -code, -kbd, -samp { - background: var(--inner-bg) !important; - font-family: var(--font-monospace); - color: var(--off-fg); -} - -pre { - overflow-x: auto; - padding: 1.5rem; - margin: 0 0 1.5rem 0; -} - -/* Emphasis */ -b, -strong { - font-weight: 600; -} - -/* Highlighting */ -::selection, -mark { - background-color: var(--highlight); - color: var(--bg); -} - -/* Other typographic elements */ -hr { - border: 0; - margin-bottom: 1.5rem; -} - -hr:after { - content: '---'; - color: var(--muted); -} - - -/* Prevent super/sub from affecting line height */ -sup, sub { - vertical-align: baseline; - position: relative; - top: -0.25rem; - font-size: unset; -} -sub { - top: 0.25rem; -} - -/* Tables */ -table { - border-spacing: 0; - margin: 0 0 1.5rem 0; - overflow-wrap: anywhere; -} -th, td { - padding: 0 .75rem; - vertical-align: top; -} -th:first-child, td:first-child { - padding-left: 0; -} -th { - text-align: inherit; -} - -/* Figures */ -img { - max-width: 100%; - height: auto; -} - diff --git a/public/docs/index.html b/public/docs/index.html deleted file mode 100644 index 69999ae..0000000 --- a/public/docs/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<html lang="en-us"> - <head> - <title>https://kumardamani.net/post/</title> - <link rel="canonical" href="https://kumardamani.net/post/"> - <meta name="robots" content="noindex"> - <meta charset="utf-8"> - <meta http-equiv="refresh" content="0; url=https://kumardamani.net/post/"> - </head> -</html> diff --git a/public/images/rice.svg b/public/images/rice.svg deleted file mode 100644 index 53e480c..0000000 --- a/public/images/rice.svg +++ /dev/null @@ -1 +0,0 @@ -<svg height='100px' width='100px' fill="#000000" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 80.944" enable-background="new 0 0 100 80.944" xml:space="preserve"><path d="M49.674,40.911c-2.018-6.836,8.971-10.963,8.841-4.075c1.016,3.678,1.302,5.808-2.448,6.511 C52.754,43.964,50.684,44.329,49.674,40.911z"></path><path d="M57.63,18.274c-1.094,3.718,4.311,4.251,2.91,8.359c2.819,0,1.999-2.246,3.054-4.095c1.523-2.656,5.052-3.301,4.792-6.96 c0.267,6.726,4.004-0.495,6.523-0.762c0.137-1.256-0.449-2.819-0.586-3.665c-1.237-2.656-1.127-5.248-4.531-3.379 c-2.429,1.321-5.547,3.88-2.507,6.185C64.206,14.407,58.763,14.381,57.63,18.274z"></path><path d="M49.74,8.586c-1.4,0.794-2.129,3.861-2.448,5.312c-0.586,2.689-0.41,11.211,4.108,9.824 c2.558-0.774,2.103-4.674,3.092-6.719c0.671-1.36,1.634-1.139,1.992-2.584c0.261-1.061-0.345-2.721-0.508-3.802 c1.719,4.427,8.366,2.429,6.731-2.031c-1.341-1.224-3.965-1.985-5.696-1.074c-2.52,1.335-0.222,2.793-2.148,2.865 C53.542,10.416,52.487,7.037,49.74,8.586z"></path><path d="M57.012,27.454c-1.843-6.126-12.884,2.767-10.768,6.576c1.543,2.793,4.056-1.959,5.612-2.76 C53.991,30.175,57.474,31.158,57.012,27.454z"></path><path d="M61.179,4.993c1.692,0.697,3.633,0.599,3.053-1.907C61.726,1.061,54.7,0.5,54.929,5.117 C56.888,4.869,59.258,4.192,61.179,4.993z"></path><path d="M65.925,28.938c1.861-1.282,4.961-1.087,4.466-4.192c-3.093-7.058-8.854,6.973-9.343,9.381 C63.269,33.176,63.913,30.312,65.925,28.938z"></path><path d="M79.069,38.092c1.061,2.057,5.67,0.749,7.994-0.41c3.041-1.498,3.75-3.529,3.034-6.934 C88.008,22.115,76.165,32.467,79.069,38.092z"></path><path d="M71.973,41.536c2.571-2.161,1.96-9.167,1.536-12.024c-2.682-0.423-5.924,0.749-7.832,2.682 c-1.38,1.419-5.286,8.08-3.73,10.04C62.995,43.554,71.042,42.331,71.973,41.536z"></path><path d="M86.979,24.596c2.076-0.423,1.295-3.691,0.95-5.586c-0.163-5.026-5.527-0.996-4.577,2.617 C83.73,23.04,85.247,24.947,86.979,24.596z"></path><path d="M72.949,24.622c0.808,1.511,2.864,1.523,3.405,4.193c0.618,3.014-0.71,6.198-0.312,9.264 c1.939-1.582,1.621-7.285,3.326-9.941c0.99-1.556,2.155-1.784,2.188-3.613c0.026-1.276-1.224-2.942-1.861-3.991 c1.973-0.091,3.965-7.135,1.172-6.999c-1.433-2.097-3.054-2.422-3.764-0.137c-0.742,2.396,2.155,4.713,2.891,6.712 C76.556,18.15,70.319,19.674,72.949,24.622z"></path><path d="M31.172,23.834c1.374-0.072,1.152,1.224,2.506,0.651c1.374-0.573,2.331-3.079,3.21-4.225 c1.432-6.348-11.517-5.365-10.404,2.142C26.927,25.383,28.229,24.01,31.172,23.834z"></path><path d="M25.319,16.438c-0.352-2.656-4.29-3.405-5.391-0.833C19.121,17.486,24.844,22.779,25.319,16.438z"></path><path d="M23.945,31.992c-0.866,1.797-1.185,4.017-1.029,6.002c0.28,3.502,0.684,2.715,3.171,3.516 c1.354,0.423,3.613,1.705,5.039,1.484c2.91-0.476,1.569-1.322,1.022-3.354c-0.449-1.686-1.517-3.47-1.498-5.254 c0.026-2.454,2.097-4.127,1.855-6.647C30.586,22.167,25.02,29.726,23.945,31.992z"></path><path d="M13.366,25.019c1.302,0.553,1.784,2.786,3.027,3.105c1.087,0.267,2.312-1.309,4.102-1.022 c1.537,0.254,1.816,3.119,3.418,0.677c0.964-1.484,0.664-3.119,0.104-4.727c-3.281-3.197-7.409-4.844-11.589-2.708 c-0.872,0.449-4.453,1.445-2.799,2.956C11.367,24.882,11.881,24.387,13.366,25.019z"></path><path d="M52.259,2.773C50.13-1.082,39.557-1.368,41.595,4.804C42.91,8.782,52.969,7.675,52.259,2.773z"></path><path d="M12.845,26.803c-2.396,1.348-4.876,3.607-3.503,6.712c2.461,5.54,3.379,2.493,4.902-0.996 c0.417,2.317-0.091,4.739,2.351,5.898c2.649,1.243,3.737-0.078,4.017-2.78c0.189-1.784,1.387-6.289-0.957-6.862 c-1.673-0.397-3.561,2.467-5.137,2.904c0.267-0.794,0.41-1.758,0.833-2.48C14.876,28.04,13.854,27.454,12.845,26.803z"></path><path d="M40.176,17.089c0.508,2.454-2.838,5.963-4.037,7.793c0.97-0.449,0.931-0.098,1.693-0.859 c0.098,1.25,0.195,2.493,0.299,3.743c3.425-0.475,4.316,3.19,6.999-1.159c2.513-4.056-0.072-5.924-4.193-5.377 c0.794-2.331,2.956-0.163,3.49-2.708c0.527-2.494,0.514-5.039,1.028-7.533c-1.048-1.23-3.574-2.891-5.149-2.428 c-1.12,0.345-3.809,3.705-3.659,4.688C36.947,15.195,39.72,14.921,40.176,17.089z"></path><path d="M34.023,34.211c-2.474,3.418,0.912,3.457,2.201,4.916c1.341,1.51,0.866,3.62,2.624,3.939 c1.302,0.228,4.049,1.36,5.326,0.403c2.604-1.946-0.697-7.35-1.953-9.557C40.566,31.542,35.729,31.868,34.023,34.211z"></path><path d="M100,34.075c0-3.613-2.07-6.973-5.605-9.974c-1.491,0.983-3.093,1.842-4.739,2.532c2.291,1.719,3.574,3.613,3.574,5.612 c0,7.806-19.355,14.128-43.229,14.128c-23.874,0-43.229-6.322-43.229-14.128c0-2.201,1.614-4.291,4.388-6.152l-4.492-2.891 C2.455,26.406,0,30.11,0,34.075c0,0.215,0.013,0.437,0.026,0.651H0c0.326,8.444,2.943,17.298,7.259,25.579 c0,0,10.462,20.639,42.741,20.639c32.278,0,42.565-20.814,42.565-20.814c4.303-8.242,7.109-17.174,7.422-25.403h-0.014 C99.987,34.511,100,34.29,100,34.075z"></path><path d="M38.027,7.122c1.68-5.872-12.305-0.124-9.863,5.99C29.948,17.564,36.706,9.205,38.027,7.122z"></path></svg>
\ No newline at end of file diff --git a/public/index.html b/public/index.html deleted file mode 100644 index f417dd2..0000000 --- a/public/index.html +++ /dev/null @@ -1,260 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head> - <meta name="generator" content="Hugo 0.111.3"><title>Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <h1 id="about-me">About me</h1> -<p>Hi. This is me: -<figure><img src="/kd.jpeg" - alt="my pic" width="100"/> -</figure> -</p> -<p>My name is Kumar. Some people call me <em>kd</em>, or <em>ku-band-mar</em>, I’m known for being…</p> -<ul> -<li>that guy who hosts his own website, dropbox, search-engine etc. -<a href="https://gitlab.com/kdam0/vps">DIY?</a> <a href="post/self-host">Why?</a></li> -<li>a programming purist, and linguistic enthusiast.</li> -<li>👎 down on social-media. I think they lead to dystopia. <a href="post/self-host#privacy">Read more</a>.</li> -<li>a B.Sc in CS. at U of T with a focus in NLP 😌</li> -</ul> -<h1 id="projects">Projects</h1> -<table> -<thead> -<tr> -<th>Name</th> -<th>Active</th> -<th>Description</th> -<th>Tools</th> -</tr> -</thead> -<tbody> -<tr> -<td><a href="https://gitlab.com/kdam0/vps">vps</a></td> -<td>yes</td> -<td>My Ansible repository for self-hosting.</td> -<td>Ansible</td> -</tr> -<tr> -<td><a href="https://gitlab.com/kdam0/nccli">nccli</a></td> -<td>yes</td> -<td>A Docker-ized CLI for CRUD ops with Namecheap.</td> -<td>Go</td> -</tr> -<tr> -<td><a href="https://gitlab.com/kdam0/dotfiles-nix">nixdots</a></td> -<td>yes</td> -<td>My dotfiles for the Nix ecosystem.</td> -<td>Nix</td> -</tr> -<tr> -<td><a href="https://gitlab.com/kdam0/dotfiles">dots</a></td> -<td>no</td> -<td>My dotfiles for general Linux home mgmt.</td> -<td>-</td> -</tr> -</tbody> -</table> -<blockquote> -<p>If you found something above to be useful, consider <a href="#donate">sending</a> a few coins my way!</p> -</blockquote> -<hr> -<h1 id="professional-life">Professional Life</h1> -<p><em>Treat this section as an extension of my resume.</em></p> -<h2 id="2020---now">2020 - now</h2> -<p>Currently working as a <strong>DevOps</strong> at <a href="https://kepler.space">Kepler</a> 🛰️. -This is mostly a software (infrastructure) dev gig for a start-up, which is a bit new to me -coming from a more traditional DevOps role with a mature company. -There is a ton of specialized <em>space</em> -related equipment here that present interesting problems in DevOps.</p> -<p>I’ve learned a ton about embedded computers, networking and network automation, -which has opened my world up to all sorts of home projects for which I am very grateful for. -So far, I’ve been responsible for the following:</p> -<ul> -<li>Establishing Infrastructure as Code (IaC) as standard practice with Ansible.</li> -<li>Implementing a netboot infrastructure for our development servers - RPis - -using Packer, PXE, Awx (Ansible Tower) to keep them synced, predictable, and up-to-date.</li> -<li>Built a custom Linux router to support our unique hardware testing requirements -for on-demand subnet generation/teardown for isolated tests.</li> -<li>Automated our Lab network infrastructure with Ansible.</li> -<li>Devised a test-automation framework using Django to facilitate reservation, -as well as <a href="https://en.wikipedia.org/wiki/Hardware-in-the-loop_simulation">HIL</a> -(Hardware-In-the-Loop) testing to allow us to more reliably, and frequently test our HW.</li> -<li>Designed and deployed our highly-available Kubernetes cluster to be our software -platform going forward.</li> -</ul> -<p>Beyond my work as an Individual Contributor (IC), I’ve also been responsible for instilling DevOps -<em>principles</em> within the team on our journey to maturity.</p> -<h2 id="2019---2020">2019 - 2020</h2> -<p>Worked as a <strong>DevOps Engineer</strong> at <a href="https://acuityads.com">AcuityAds</a> in Toronto. -The main selling point for me to work here is that Acuity does not use -AWS, GCP or Azure etc. to host its infrastructure, it has its own on-prem ‘cloud’. -This presents substantial challenges for us as DevOps Engineers that would normally be handled by a -public cloud provider.</p> -<p>Apart from this, due to the nature of adtech, we deal with massive amounts of data, which forces -us to be very careful about the types of technologies we use (scale). -Here is a subset of what I’ve gained experience with during my time:</p> -<ul> -<li>Infrastructure: VMWare, Physical</li> -<li>Provisioning: Ansible, Terraform, Cobbler</li> -<li>Containerization: Docker, Kubernetes</li> -<li>CI/CD: Git, BitBucket, Bamboo (we host the entire Atlassian suite in-house)</li> -<li>Monitoring: -<ul> -<li>TICK (Telegraf, Influxdb, Chronograf, Kapacitor)</li> -<li>ELK (Elasticsearch, Logstash, Kibana), with filebeat and metricbeat beats</li> -<li>Prometheus</li> -<li>Grafana</li> -<li>Nagios, Pagerduty, Pingdom</li> -</ul> -</li> -<li>Data: MySql, Aerospike, Kafka, HDFS, Druid</li> -<li>Scripting: Golang, Bash, Python. <em>Some</em> of my work can be on my Gitlab profile: -<ul> -<li>Golang: -<ul> -<li>a fast, containerized <a href="https://gitlab.com/kdam0/go-druid-mysql-influx">cron script</a> -that interacts with Druid, MySql, and Influxdb written in Go. -Basic unit testing. -This is a job that powers one of our major alerting dashboards.</li> -<li>a containerized highly modular <a href="https://gitlab.com/kdam0/devops-api">Rest Api</a> -that writes to Influxdb. -This is something we run in K8S as a Service to monitor Cronjobs that run in K8S.</li> -</ul> -</li> -<li>Python: a <a href="https://gitlab.com/kdam0/slack-to-teams">script</a> to migrate -Slack exports to MS Teams messages. -This is something we used when we gave up on Slack.</li> -<li>Bash: a small <a href="https://gitlab.com/kdam0/random-shell-helpers">collection</a> of helper -scripts that I used frequently for random things.</li> -</ul> -</li> -</ul> -<h2 id="2016---2017">2016 - 2017</h2> -<p>I worked at <a href="https://achiga.io">Achiga</a> (formerly <em>WebCanada</em>) as -part of my <a href="https://web.cs.toronto.edu/undergraduate/pey">PEY</a> (internship) -program from U of T for 12 months. As part of this, I was involved in:</p> -<ul> -<li>A fast paced Agile environment where I was a Full Stack Developer working with -<strong>PHP (Zend), MySql, and JavaScript</strong>.</li> -<li>Git + BitBucket + JIRA (basically the whole Atlassian suite), with Vagrant</li> -<li>The Pipeline team working on day to day features and bugs in the CMS powering thousands of -local hotel sites around the world for Starwood Hotels.</li> -<li>Debugging and optimizing cronjobs responsible for storing hotel rates in -our database which is critical to hotel revenue.</li> -<li>Contributing to the Gallery Page (CMS as well as user facing UI). -See <a href="https://designhotels.com/gallery">Design Hotels Gallery Page</a> -towards the end of my tenure.</li> -</ul> -<h2 id="2014---2016">2014 - 2016</h2> -<p>I’ve worked on several other small-buisness type projects involving website designing, -and scripting over the years in between semesters.</p> -<hr> -<h1 id="donate">Donate</h1> -<details> -<summary> Monero (XMR) </summary> -<br> -<pre tabindex="0"><code>42hFshxmNoFZfAkDJTjSx9MUruMHdLTiDTE4efpP7xZTYwHMjwDZ6eJea2EnyBGGr5ab81cAovBxxT6KSvpUY5roUdkP1Qj -</code></pre><figure><img src="/xmr.png" - alt="xmr wallet qr code" width="100"/> -</figure> - -</details> -<details> -<summary> Bitcoin (BC) </summary> -<br> -<pre tabindex="0"><code>bc1q4em7f7mvl6wkzc8uyq4365td7w5n02uh64z2za -</code></pre><figure><img src="/btc.png" - alt="btc wallet qr code" width="100"/> -</figure> - -</details> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/index.xml b/public/index.xml deleted file mode 100644 index 9539b2c..0000000 --- a/public/index.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>Kumar Damani - Home</title> - <link>https://kumardamani.net/</link> - <description>Recent content on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language> - <lastBuildDate>Fri, 24 Mar 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://kumardamani.net/index.xml" rel="self" type="application/rss+xml" /> - <item> - <title>Adventures in NixOS - Part 1</title> - <link>https://kumardamani.net/post/nixos-p1/</link> - <pubDate>Fri, 24 Mar 2023 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/nixos-p1/</guid> - <description><p>Almost a guide to getting started with NixOS the modern (2023) way.</p></description> - </item> - - <item> - <title>Romanticism in Programming</title> - <link>https://kumardamani.net/post/programming-as-art/</link> - <pubDate>Tue, 29 Nov 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/programming-as-art/</guid> - <description><p>Why there is art in programming.</p></description> - </item> - - <item> - <title>Why do I self-host?</title> - <link>https://kumardamani.net/post/self-host/</link> - <pubDate>Mon, 12 Sep 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/self-host/</guid> - <description><p>My reasons for self-hosting.</p></description> - </item> - - <item> - <title>Programs and Equipment</title> - <link>https://kumardamani.net/post/programs/</link> - <pubDate>Fri, 12 Nov 2021 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/programs/</guid> - <description><p>The programs and equipment I use on a daily basis.</p></description> - </item> - - </channel> -</rss> diff --git a/public/kd.jpeg b/public/kd.jpeg Binary files differdeleted file mode 100644 index 2613ece..0000000 --- a/public/kd.jpeg +++ /dev/null diff --git a/public/post/index.html b/public/post/index.html deleted file mode 100644 index fbaa589..0000000 --- a/public/post/index.html +++ /dev/null @@ -1,157 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>Posts – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item active" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <header class="content__header"> - <h1>Posts</h1> - - </header> - - - <article class="post"> - <header class="post__header"> - <h1><a href="https://kumardamani.net/post/nixos-p1/">Adventures in NixOS - Part 1</a></h1> - <p class="post__meta"> - Kumar Damani, - <span class="date">24 March 2023</span> - </p> - </header> - - <section class="post__summary"> - <p>Almost a guide to getting started with NixOS the modern (2023) way.</p> - </section> - </article> - - <article class="post"> - <header class="post__header"> - <h1><a href="https://kumardamani.net/post/programming-as-art/">Romanticism in Programming</a></h1> - <p class="post__meta"> - Kumar Damani, - <span class="date">29 November 2022</span> - </p> - </header> - - <section class="post__summary"> - <p>Why there is art in programming.</p> - </section> - </article> - - <article class="post"> - <header class="post__header"> - <h1><a href="https://kumardamani.net/post/self-host/">Why do I self-host?</a></h1> - <p class="post__meta"> - Kumar Damani, - <span class="date">12 September 2022</span> - </p> - </header> - - <section class="post__summary"> - <p>My reasons for self-hosting.</p> - </section> - </article> - - <article class="post"> - <header class="post__header"> - <h1><a href="https://kumardamani.net/post/programs/">Programs and Equipment</a></h1> - <p class="post__meta"> - Kumar Damani, - <span class="date">12 November 2021</span> - </p> - </header> - - <section class="post__summary"> - <p>The programs and equipment I use on a daily basis.</p> - </section> - </article> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/post/index.xml b/public/post/index.xml deleted file mode 100644 index be7d5ab..0000000 --- a/public/post/index.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>Posts on Kumar Damani - Home</title> - <link>https://kumardamani.net/post/</link> - <description>Recent content in Posts on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language> - <lastBuildDate>Fri, 24 Mar 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://kumardamani.net/post/index.xml" rel="self" type="application/rss+xml" /> - <item> - <title>Adventures in NixOS - Part 1</title> - <link>https://kumardamani.net/post/nixos-p1/</link> - <pubDate>Fri, 24 Mar 2023 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/nixos-p1/</guid> - <description><p>Almost a guide to getting started with NixOS the modern (2023) way.</p></description> - </item> - - <item> - <title>Romanticism in Programming</title> - <link>https://kumardamani.net/post/programming-as-art/</link> - <pubDate>Tue, 29 Nov 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/programming-as-art/</guid> - <description><p>Why there is art in programming.</p></description> - </item> - - <item> - <title>Why do I self-host?</title> - <link>https://kumardamani.net/post/self-host/</link> - <pubDate>Mon, 12 Sep 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/self-host/</guid> - <description><p>My reasons for self-hosting.</p></description> - </item> - - <item> - <title>Programs and Equipment</title> - <link>https://kumardamani.net/post/programs/</link> - <pubDate>Fri, 12 Nov 2021 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/programs/</guid> - <description><p>The programs and equipment I use on a daily basis.</p></description> - </item> - - </channel> -</rss> diff --git a/public/post/nixos-p1/boot.png b/public/post/nixos-p1/boot.png Binary files differdeleted file mode 100644 index 4e3d972..0000000 --- a/public/post/nixos-p1/boot.png +++ /dev/null diff --git a/public/post/nixos-p1/dwl.png b/public/post/nixos-p1/dwl.png Binary files differdeleted file mode 100644 index 8ecbe4d..0000000 --- a/public/post/nixos-p1/dwl.png +++ /dev/null diff --git a/public/post/nixos-p1/fox.jpg b/public/post/nixos-p1/fox.jpg Binary files differdeleted file mode 100644 index 3ace57f..0000000 --- a/public/post/nixos-p1/fox.jpg +++ /dev/null diff --git a/public/post/nixos-p1/index.html b/public/post/nixos-p1/index.html deleted file mode 100644 index 54c7ccb..0000000 --- a/public/post/nixos-p1/index.html +++ /dev/null @@ -1,434 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>Adventures in NixOS - Part 1 – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item active" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <header class="content__header"> - <h1>Adventures in NixOS - Part 1</h1> - </header> - - <div class="content__body"> - <p>Almost a guide to getting started with NixOS the modern (2023) way.</p> -<p>There seems to be a shortage of written guides on the Internet for setting up NixOS -the “modern” way - Flakes + Home Manager. It doesn’t help that Nix’s official -docs are very disjointed so hopefully this will fill in some gaps that I observed -when setting it all up.</p> -<p><img src="fox.jpg" alt="meme"></p> -<blockquote> -<p>Warning: NixOS is not exactly beginner friendly - -you should have familiarity installing Linux distros before trying this.</p> -</blockquote> -<h2 id="but-why-nixos">But Why NixOS?</h2> -<p>Eh… FOMO regarding all the <a href="https://www.google.com/search?q=nixos+memes&tbm=isch">memes</a>.</p> -<p>There is one particular feature that is intriguing - -the ability to roll-back your entire system (not incl. BIOS) in case of a -misconfiguration or a broken update. <strong>You can’t do this with Ansible.</strong> -This allows you (in theory) to get the benefits of a rolling release as well as the -stability benefits of a traditional distro.</p> -<blockquote> -<p>It takes the idea of reproducible builds, and extends it to the OS.</p> -</blockquote> -<p>For example, NixOS will present you with all previous “builds” at boot time -for you to revert to in case something gets messed up. -<img src="boot.png" alt="boot prompt"></p> -<h2 id="things-i-want-to-explore-as-part-of-this-exercise">Things I want to explore as part of this exercise:</h2> -<ol> -<li>How hard is it to go from a minimal install to productive? -At minimum I need a graphical environment with working vol, mic, camera, wifi, -and hibernation. -Is it harder than doing the same in something like Manjaro?</li> -<li>Is Wayland truly ready?</li> -<li>Try out <a href="https://github.com/djpohly/dwl"><code>dwl</code></a> (the Wayland port of <code>dwm</code> by the <a href="https://suckless.org">suckless</a> folks)</li> -</ol> -<h2 id="constraints">Constraints</h2> -<ol> -<li>I want to stick to the “Nix” way of doing things as much as possible -<em>where it makes sense to me</em>.</li> -<li>Stick to Wayland only applications as much as possible.</li> -</ol> -<h2 id="spoilers-end-result">Spoilers! (End result)</h2> -<p><img src="rice.png" alt="my rice"> -(Probably too ugly for r/unixporn, but works for me :)</p> -<h2 id="installation">Installation</h2> -<h3 id="getting-a-live-usb-going">Getting a Live USB going</h3> -<ul> -<li>I used the <a href="https://nixos.org/download.html#nixos-iso">minimal iso</a>.</li> -<li>Create a bootable USB with the usual - <code>sudo dd if=/path/to/iso of=/dev/sdX bs=4M</code>.</li> -<li>Boot up.</li> -<li>Then start following the steps for <a href="https://nixos.org/manual/nixos/stable/index.html#sec-installation-manual">manual installation</a> -from the official guide to complete the install.</li> -</ul> -<blockquote> -<p>Make sure to give SWAP as much space as your memory capacity for hibernation to work properly.</p> -</blockquote> -<blockquote> -<p>Wifi did not work for me out of the box. So I used my phone to tether via USB.</p> -</blockquote> -<h2 id="first-boot">First boot</h2> -<p>If everything went well, you should be presented with a TTY prompting you to login:</p> -<pre tabindex="0"><code>NixOS ... -Login: <your username> -Password: <your password> -</code></pre><p>Once you login, you will still just have a TTY, but we can now go ahead and start -installing our graphical environment.</p> -<h2 id="housekeeping">Housekeeping</h2> -<ul> -<li>You should have two NixOS config files in <code>/etc/nixos/</code>:</li> -</ul> -<pre tabindex="0"><code>configuration.nix -hardware-configuration.nix -</code></pre><ul> -<li> -<p>Edit the <code>configuration.nix</code> file by setting the correct values for hostname, networking, timezone and users. I also add a few basic system-wide packages here such as <code>git, rsync, neovim, htop</code> etc.</p> -</li> -<li> -<p>To <em>apply and use</em> your changes to any of these files you need to run:</p> -</li> -</ul> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo nixos-rebuild switch -</span></span></code></pre></div><ul> -<li>Since we want all our configuration to be version controlled, -I copied these files to live under my user’s config: -<code>~/.config/{nix, nixpkgs}/</code>:</li> -</ul> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>cp /etc/nix/nix.conf ~/.config/nix/nix.conf -</span></span><span style="display:flex;"><span>cp /etc/nixos/configuration.nix ~/.config/nixpkgs/configuration.nix -</span></span></code></pre></div><p>Nix will now use these user-specific files to read its config :)</p> -<h3 id="flakes-support">Flakes Support</h3> -<p>Nix (the pkg mgr) does not come with Flakes support out-of-the-box. -So we need to enable it:</p> -<ol> -<li>In <code>~/.config/nix/nix.conf</code> add:</li> -</ol> -<pre tabindex="0"><code>experimental-features = nix-command flakes -</code></pre><ol start="2"> -<li>Apply it:</li> -</ol> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo nixos-rebuild switch -</span></span></code></pre></div><p>Read about <a href="https://nixos.wiki/wiki/Flakes">Flakes</a>.</p> -<h3 id="home-manager-support">Home Manager Support</h3> -<p>Now we can install the Home-Manager flake.</p> -<ol> -<li>Init our base flake:</li> -</ol> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>cd ~/.config/nixpkgs -</span></span><span style="display:flex;"><span>nix flake init -</span></span></code></pre></div><p>This should generate two files:</p> -<pre tabindex="0"><code>flake.nix -flake.lock -</code></pre><ol start="2"> -<li>Next we tell <code>flake.nix</code> to manage all our configuration (system + home) for our system:</li> -</ol> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-nix" data-lang="nix"><span style="display:flex;"><span>{ -</span></span><span style="display:flex;"><span> description <span style="color:#f92672">=</span> <span style="color:#e6db74">"NixOS configuration"</span>; -</span></span><span style="display:flex;"><span> -</span></span><span style="display:flex;"><span> inputs <span style="color:#f92672">=</span> { -</span></span><span style="display:flex;"><span> nixpkgs<span style="color:#f92672">.</span>url <span style="color:#f92672">=</span> <span style="color:#e6db74">"github:nixos/nixpkgs/nixos-unstable"</span>; -</span></span><span style="display:flex;"><span> home-manager<span style="color:#f92672">.</span>url <span style="color:#f92672">=</span> <span style="color:#e6db74">"github:nix-community/home-manager"</span>; -</span></span><span style="display:flex;"><span> home-manager<span style="color:#f92672">.</span>inputs<span style="color:#f92672">.</span>nixpkgs<span style="color:#f92672">.</span>follows <span style="color:#f92672">=</span> <span style="color:#e6db74">"nixpkgs"</span>; -</span></span><span style="display:flex;"><span> nixos-hardware<span style="color:#f92672">.</span>url <span style="color:#f92672">=</span> <span style="color:#e6db74">"github:NixOS/nixos-hardware/master"</span>; -</span></span><span style="display:flex;"><span> }; -</span></span><span style="display:flex;"><span> -</span></span><span style="display:flex;"><span> outputs <span style="color:#f92672">=</span> inputs<span style="color:#f92672">@</span>{ nixpkgs<span style="color:#f92672">,</span> home-manager<span style="color:#f92672">,</span> nixos-hardware<span style="color:#f92672">,</span> <span style="color:#f92672">...</span> }: { -</span></span><span style="display:flex;"><span> nixosConfigurations <span style="color:#f92672">=</span> { -</span></span><span style="display:flex;"><span> <span style="color:#75715e"># Change below to use your hostname from configuration.nix</span> -</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"art-sr"</span> <span style="color:#f92672">=</span> nixpkgs<span style="color:#f92672">.</span>lib<span style="color:#f92672">.</span>nixosSystem { -</span></span><span style="display:flex;"><span> system <span style="color:#f92672">=</span> <span style="color:#e6db74">"x86_64-linux"</span>; -</span></span><span style="display:flex;"><span> modules <span style="color:#f92672">=</span> [ -</span></span><span style="display:flex;"><span> <span style="color:#e6db74">./configuration.nix</span> -</span></span><span style="display:flex;"><span> nixos-hardware<span style="color:#f92672">.</span>nixosModules<span style="color:#f92672">.</span>framework -</span></span><span style="display:flex;"><span> home-manager<span style="color:#f92672">.</span>nixosModules<span style="color:#f92672">.</span>home-manager -</span></span><span style="display:flex;"><span> { -</span></span><span style="display:flex;"><span> home-manager<span style="color:#f92672">.</span>useGlobalPkgs <span style="color:#f92672">=</span> <span style="color:#66d9ef">true</span>; -</span></span><span style="display:flex;"><span> home-manager<span style="color:#f92672">.</span>useUserPackages <span style="color:#f92672">=</span> <span style="color:#66d9ef">true</span>; -</span></span><span style="display:flex;"><span> <span style="color:#75715e"># Change below to use your username from configuration.nix</span> -</span></span><span style="display:flex;"><span> home-manager<span style="color:#f92672">.</span>users<span style="color:#f92672">.</span>kdam0 <span style="color:#f92672">=</span> <span style="color:#f92672">import</span> <span style="color:#e6db74">./home.nix</span>; -</span></span><span style="display:flex;"><span> -</span></span><span style="display:flex;"><span> <span style="color:#75715e"># Optionally, use home-manager.extraSpecialArgs to pass</span> -</span></span><span style="display:flex;"><span> <span style="color:#75715e"># arguments to home.nix</span> -</span></span><span style="display:flex;"><span> } -</span></span><span style="display:flex;"><span> ]; -</span></span><span style="display:flex;"><span> }; -</span></span><span style="display:flex;"><span> }; -</span></span><span style="display:flex;"><span> }; -</span></span><span style="display:flex;"><span>} -</span></span></code></pre></div><blockquote> -<p>“art-sr” is my hostname for this machine.</p> -</blockquote> -<p>In my case, I also have the following two lines specifically to load settings for my hardware:</p> -<pre tabindex="0"><code> nixos-hardware.url = "github:NixOS/nixos-hardware/master"; - ... - nixos-hardware.nixosModules.framework -</code></pre><p>you will need to modify these values based on your <a href="https://github.com/NixOS/nixos-hardware">hardware support</a>.</p> -<ol start="3"> -<li>Create a <code>~/.config/nixpkgs/home.nix</code> file with your values:</li> -</ol> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-nix" data-lang="nix"><span style="display:flex;"><span>{ config<span style="color:#f92672">,</span> pkgs<span style="color:#f92672">,</span> <span style="color:#f92672">...</span>}: -</span></span><span style="display:flex;"><span>{ -</span></span><span style="display:flex;"><span> home<span style="color:#f92672">.</span>username <span style="color:#f92672">=</span> <span style="color:#e6db74">"kdam0"</span>; -</span></span><span style="display:flex;"><span> home<span style="color:#f92672">.</span>homeDirectory <span style="color:#f92672">=</span> <span style="color:#e6db74">"/home/kdam0"</span>; -</span></span><span style="display:flex;"><span> -</span></span><span style="display:flex;"><span> programs<span style="color:#f92672">.</span>home-manager<span style="color:#f92672">.</span>enable <span style="color:#f92672">=</span> <span style="color:#66d9ef">true</span>; -</span></span><span style="display:flex;"><span> home<span style="color:#f92672">.</span>stateVersion <span style="color:#f92672">=</span> <span style="color:#e6db74">"22.11"</span>; -</span></span><span style="display:flex;"><span> -</span></span><span style="display:flex;"><span> services<span style="color:#f92672">.</span>gpg-agent <span style="color:#f92672">=</span> { -</span></span><span style="display:flex;"><span> enable <span style="color:#f92672">=</span> <span style="color:#66d9ef">true</span>; -</span></span><span style="display:flex;"><span> defaultCacheTtl <span style="color:#f92672">=</span> <span style="color:#ae81ff">1800</span>; -</span></span><span style="display:flex;"><span> enableSshSupport <span style="color:#f92672">=</span> <span style="color:#66d9ef">true</span>; -</span></span><span style="display:flex;"><span> }; -</span></span><span style="display:flex;"><span>} -</span></span></code></pre></div><ol start="4"> -<li>Apply:</li> -</ol> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo nixos-rebuild switch -</span></span></code></pre></div><blockquote> -<p>It took a few attempts to get NixOS to re-build successfully. -I ran into a few different issues involving users, and hostnames -while following the official docs until I arrived at the configs above which worked.</p> -</blockquote> -<p>Read about <a href="https://nix-community.github.io/home-manager/index.html#ch-nix-flakes">Home Manager flake</a>.</p> -<p><strong>This would be a good time init a git repo in <code>~/.config/nixpkgs/</code> and publish your progress.</strong></p> -<h2 id="setting-up-the-gui">Setting up the GUI</h2> -<h3 id="window-manager--bar--system-info">Window Manager + bar + system info.</h3> -<p>Getting <code>dwl</code> is easy enough. In my <code>home.nix</code>:</p> -<pre tabindex="0"><code> home.packages = [ - pkgs.dwl - ... - ]; -</code></pre><p>This will install <code>dwl</code> on a rebuild. -Then I can run it with <code>dwl</code>.</p> -<p>Oh it fails…something about permissions… -In <code>~/.config/nixpkgs/configuration.nix</code> make sure you have:</p> -<pre tabindex="0"><code> security.polkit.enable = true; -</code></pre><p>Oh it fails again with GLE errors :( Add:</p> -<pre tabindex="0"><code> hardware.opengl = { - enable = true; - driSupport = true; - }; -</code></pre><p><strong>Sweet now it launches!</strong></p> -<p>But of course I need to configure the keys - that’s the whole point of a WM. -Additionally, <code>dwl</code> requires a re-build on every config change…</p> -<p><strong>How do I tell Nix to use my config file while installing/building <code>dwl</code>?</strong></p> -<p>Lucking all packages (<code>pkgs.*</code>) build files are defined on their GitHub. -We can see that we are allowed to pass in a <code>conf</code> argument to -<a href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/dwl/default.nix">this</a> -file.</p> -<p>After a bit of digging around, I arrived at how to do it:</p> -<ol> -<li>First copy your <code>config.h</code> to <code>~/.config/nixpkgs/dwl/config.h</code>.</li> -<li>Then point to it in your <code>home.nix</code>:</li> -</ol> -<pre tabindex="0"><code> home.packages = [ - (pkgs.dwl.override { - # trying to supply config.home.homeDirectory here leads to "impure" usage. - # so disabling it for now. - # conf = (builtins.readFile "${config.home.homeDirectory}/.config/dwl/config.h"); - conf = ./dwl/config.h; - }) - ... - ]; -</code></pre><blockquote> -<p>I know I can just clone the source myself and build it, but I like to use the default -package manager whenever possible to manage packages.</p> -</blockquote> -<p>Of course since <code>dwl</code> is as minimal as it gets, it does not ship with a bar. -We have many options for which bar to use, -I have very little use for a bar, so I kept it very simple and went with <code>somebar</code>:</p> -<pre tabindex="0"><code> home.packages = [ - ... - pkgs.somebar - ... - ]; -</code></pre><p>If you want status info on your bar you can use something like <code>someblocks</code> - which will -let you script simple scripts with text output you want displayed in each block. -This will need to be cloned and built manually as it is not available in the Nix repos.</p> -<p>Oh but you probably don’t have <code>make</code> or any requirements to actually build it…fear not:</p> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>nix-shell -p gnumake -</span></span></code></pre></div><p>which put you in a temporary environment with all the common build tools available. -Now you can:</p> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo make install -</span></span></code></pre></div><p><code>wbg</code> is a simple background setter for Wayland……aaaand BAM!</p> -<p><img src="dwl.png" alt="dwl pic"></p> -<h3 id="terminal">Terminal</h3> -<p>I use <a href="https://codeberg.org/dnkl/foot"><code>foot</code></a>.</p> -<p>Create the config file in <code>~/.config/nixpkgs/foot/foot.ini</code>:</p> -<pre tabindex="0"><code># for transparency # -[colors] -alpha=0.7 -</code></pre><p>Use it in <code>home.nix</code>:</p> -<pre tabindex="0"><code> home.file.".config/foot/foot.ini".source = ../../common/foot/foot.ini; -</code></pre><blockquote> -<p>I use this pattern for pretty much all my <em>dotfiles</em>:</p> -</blockquote> -<pre tabindex="0"><code> # script that sets a bg. - home.file."bg.sh".source = common/bg.sh; - # script that starts my gui env. - home.file."start.sh".source = common/start.sh; - # foot config - home.file.".config/foot/foot.ini".source = common/foot/foot.ini; - # wofi config (app launcher) - home.file.".config/wofi/style.css".source = common/wofi/style.css; - # mako config (notifications) - home.file.".config/mako/config".source = common/mako/config; -</code></pre><h3 id="sound">Sound</h3> -<p>In my <code>configuration.nix</code>:</p> -<pre tabindex="0"><code> security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - wireplumber.enable = true; - media-session.enable = false; - jack.enable = true; - systemWide = false; - }; -</code></pre><h3 id="nextcloud">Nextcloud</h3> -<p>I want a purely CLI way to handle this, and a periodic sync is sufficient for me. -We do this with <code>systemd-timers</code> (Nix advises against <code>cron</code>). -In my <code>home.nix</code>:</p> -<pre tabindex="0"><code> systemd.user.services = { - nextcloud-sync = { - Unit = { - Description = "Auto sync Nextcloud"; - After = "network-online.target"; - }; - Service = { - Type = "simple"; - EnvironmentFile = "${config.home.homeDirectory}/.nextcloud.env"; - ExecStart = '' - ${pkgs.nextcloud-client}/bin/nextcloudcmd \ - -h --non-interactive \ - --user "''${NEXTCLOUD_USER}" \ - --password "''${NEXTCLOUD_PASSWORD}" \ - ''${NEXTCLOUD_DIR} \ - ''${NEXTCLOUD_URL} - ''; - TimeoutStopSec = "180"; - KillMode = "process"; - KillSignal = "SIGINT"; - }; - Install.WantedBy = ["multi-user.target"]; - }; - }; - systemd.user.timers = { - nextcloud-sync = { - Unit.Description = "Automatic sync files with Nextcloud when booted up after 5 minutes then rerun every 10 minutes"; - Timer.OnUnitActiveSec = "10min"; - Install.WantedBy = ["multi-user.target" "timers.target"]; - }; - }; - systemd.user.startServices = true; -</code></pre><h2 id="conclusions">Conclusions</h2> -<ol> -<li>Yes setting things up from a minimal iso is harder than in Manjaro. -Although I got everything I wanted working, there were many times I felt -like giving up. (Aside: I am <em>so grateful</em> for Manjaro, and Arch wikis). -That said, I expect this friction is a one-time cost for building familiarity with Nix, -and well worth the benefits that come with it.</li> -<li>You bet Wayland is ready. Multi-monitor works out-of-the-box, -all my apps support it, and things just <em>feel</em> more polished than I have ever felt with Xorg.</li> -<li><code>dwl</code> is as awesome as I had hoped! This is my daily driver now.</li> -</ol> -<h2 id="my-configs">My configs</h2> -<p>All the configs discussed (and more) are in my <a href="https://gitlab.com/kdam0/dotfiles-nix">nixdotfiles repo</a>.</p> - </div> - <footer class="content__footer"></footer> - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - <p>Guide to getting started with NixOS the modern way.</p> - - <p> - By Kumar Damani, - 2023-03-24 - </p> - - - - - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/post/nixos-p1/rice.png b/public/post/nixos-p1/rice.png Binary files differdeleted file mode 100644 index 4fd97cf..0000000 --- a/public/post/nixos-p1/rice.png +++ /dev/null diff --git a/public/post/programming-as-art/code.png b/public/post/programming-as-art/code.png Binary files differdeleted file mode 100644 index 30c3522..0000000 --- a/public/post/programming-as-art/code.png +++ /dev/null diff --git a/public/post/programming-as-art/index.html b/public/post/programming-as-art/index.html deleted file mode 100644 index 32ff96c..0000000 --- a/public/post/programming-as-art/index.html +++ /dev/null @@ -1,179 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>Romanticism in Programming – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - -<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.4/dist/katex.min.css" integrity="sha384-vKruj+a13U8yHIkAyGgK1J3ArTLzrFGBbBc0tDp4ad/EyewESeXE/Iv67Aj8gKZ0" crossorigin="anonymous"> -<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.4/dist/katex.min.js" integrity="sha384-PwRUT/YqbnEjkZO0zZxNqcxACrXe+j766U2amXcgMg5457rve2Y7I6ZJSm2A0mS4" crossorigin="anonymous"></script> -<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.4/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous" - onload="renderMathInElement(document.body);"></script> -<script> - document.addEventListener("DOMContentLoaded", function() { - renderMathInElement(document.body, { - delimiters: [ - {left: "$$", right: "$$", display: true}, - {left: "$", right: "$", display: false} - ] - }); - }); -</script> - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item active" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <header class="content__header"> - <h1>Romanticism in Programming</h1> - </header> - - <div class="content__body"> - <p>Why there is art in programming.</p> -<p>During my early days as a CS student, one of the first mind-blowing moments was -watching <code>Hello World!</code> getting printed out to the console thousands of times -in just two functional lines of code.</p> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-python" data-lang="python"><span style="display:flex;"><span><span style="color:#66d9ef">for</span> _ <span style="color:#f92672">in</span> range(<span style="color:#ae81ff">1</span>, <span style="color:#ae81ff">1001</span>): -</span></span><span style="display:flex;"><span> print(<span style="color:#e6db74">"Hello World!"</span>) -</span></span></code></pre></div><p>At the time it felt like having the <a href="https://harry-potter-compendium.fandom.com/wiki/Elder_Wand">Elder Wand</a>. -<img src="wand.png" alt="Dumbledore with Elder Wand pic"></p> -<p>But there was more to our lesson. -The TA then asks us to put our newly found power to use by computing the -sum of 1 to 100. Of course, it was a natural application of what we had just done earlier:</p> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-python" data-lang="python"><span style="display:flex;"><span>sum <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span> -</span></span><span style="display:flex;"><span><span style="color:#66d9ef">for</span> i <span style="color:#f92672">in</span> range(<span style="color:#ae81ff">1</span>, <span style="color:#ae81ff">100</span><span style="color:#f92672">+</span><span style="color:#ae81ff">1</span>): -</span></span><span style="display:flex;"><span> sum <span style="color:#f92672">=</span> sum <span style="color:#f92672">+</span> i -</span></span></code></pre></div><p>Sure enough we saw the answer <code>5050</code> in the console. -But then the TA reminds us that we are making our computers <strong>work too hard</strong>. -In other words, the computer needs to do one-hundred ADD instructions in order to make this computation happen.</p> -<p>What if the number was a million? How well would our method scale?</p> -<p>Well then it would take a million ADD instructions. -We call this scaling <em>linearly</em> with the input size. -Later we would formalize this to $\mathcal{O}(n)$ (pronounced: <em>Big Oh of N</em>).</p> -<p>The TA hinted that there is a better way, and that we already know of the better way in math.</p> -<p><img src="teaching.png" alt="Teaching meme"></p> -<p>$\displaystyle S_n = \sum\limits_{i=1}^n i = 1 + 2 + … + n = \frac{n (n + 1)}{2}$</p> -<p>With this we are no longer using loops, but a known mathematical fact about sequences. -If you don’t belive me, see the <a href="https://letstalkscience.ca/educational-resources/backgrounders/gauss-summation">proof</a>.</p> -<p>Written as code:</p> -<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-python" data-lang="python"><span style="display:flex;"><span>sum <span style="color:#f92672">=</span> n (n <span style="color:#f92672">+</span> <span style="color:#ae81ff">1</span>) <span style="color:#f92672">/</span> <span style="color:#ae81ff">2</span> -</span></span></code></pre></div><p>This one-liner solves our problem with just 3 (ADD, MULTIPLY, DIVIDE) instructions. -Crucially, it does not depend on the size of the input like our previous solution, thus -<strong>no matter the input, it always takes 3 instructions to compute!</strong> -This is a HUGE win!</p> -<p><img src="math.png" alt="Math meme"></p> -<p>Later we would formalize this to $\mathcal{O}(1)$, or <em>constant</em> scaling.</p> -<blockquote> -<p>Yes, yes I know IRL the complier would optimize the loop solution -such that it does not take N instructions but for the purposes of -learning we were not allowed to depend on that.</p> -</blockquote> -<p>Looking back at it now, -both solutions are equally correct, and modern compilers would optimize the first solution -in the final instructions sent to the cpu, such that any performance differences would be negligible. -In other words, the computer wouldn’t acutally be <em>working so hard</em>.</p> -<p>Objectively, the first solution is more readable, and friendly to a new observer than the second.</p> -<p><em>Why then am I still so drawn to the second solution?</em></p> -<p>The first solution reminds me of the saying “to a hammer, eveything looks like a nail”. -Its a brute force approach. -In comparison, the second solution is using the exact tool for our particular problem. -It somehow feels personalized and dare I say <em>romantic</em>.</p> -<p>When I reflect on moments like this, it reminds me that there is emergent elegance and beauty -even in the seemingly arbitrary sequence of symbols that is <code>code</code>. -<img src="code.png" alt="The Matrix code going by image"></p> -<p>Programming is not quite as <em>objective</em> as people would have you believe. -There are trade-offs to each solution, and which solution you prefer relect on the trade-offs -you are willing to accept, which varies by the observer: much like <em>art</em>.</p> - </div> - <footer class="content__footer"></footer> - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - <p>How programming is romantic.</p> - - <p> - By Kumar Damani, - 2022-11-29 - </p> - - - - - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/post/programming-as-art/math.png b/public/post/programming-as-art/math.png Binary files differdeleted file mode 100644 index bbdc372..0000000 --- a/public/post/programming-as-art/math.png +++ /dev/null diff --git a/public/post/programming-as-art/teaching.png b/public/post/programming-as-art/teaching.png Binary files differdeleted file mode 100644 index 9bf5dce..0000000 --- a/public/post/programming-as-art/teaching.png +++ /dev/null diff --git a/public/post/programming-as-art/wand.png b/public/post/programming-as-art/wand.png Binary files differdeleted file mode 100644 index 5eefc9c..0000000 --- a/public/post/programming-as-art/wand.png +++ /dev/null diff --git a/public/post/programs/index.html b/public/post/programs/index.html deleted file mode 100644 index 067706d..0000000 --- a/public/post/programs/index.html +++ /dev/null @@ -1,167 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>Programs and Equipment – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item active" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <header class="content__header"> - <h1>Programs and Equipment</h1> - </header> - - <div class="content__body"> - <p>The programs and equipment I use on a daily basis.</p> -<h1 id="programs-and-equipment-i-use">Programs and Equipment I Use</h1> -<p>I’m about getting things done quickly and having as little space between -my thoughts and actions on the computer.</p> -<p>I like having vim-like bindings and prefer running programs in the terminal for simplicity’s sake. -That said, I’m very much against the cringe meme that things in the terminal are “cooler” or “nerdier” XD. -Terminals are good for most tasks, but useless for others, for example, browsing the web -(I admit this unfortunate fact with much consternation) or looking at maps.</p> -<h2 id="software-i-use">Software I Use</h2> -<h3 id="os-distribution">OS Distribution</h3> -<p><a href="https://manjaro.org/">Manjaro</a> (stable) though this is a bit of a moot point since there’s been a lot of convergence among the -popular distros recently especially since they all offer some dedicated channel for getting up-to-date -software. The real day-to-day difference to workflow comes from the choice of desktop environment. -I do like Debian, and Fedora as well.</p> -<h3 id="desktop-environment">Desktop Environment</h3> -<p>I’ve settled on <a href="https://kde.org/plasma-desktop/">KDE Plasma</a> w/ Wayland after many years of hopping. -Plasma comes with all the tools you’d expect to see in a modern desktop, -and for the most part these tools are perfectly capable of doing the task they are meant to do. -Prior to KDE, I’ve used Dwm/Bsmpw + Sxhkd, i3 etc. I’m glad these exist and people get -use out of it, but for now I do not miss it - I’m sure that will eventually change too.</p> -<p><img src="https://upload.wikimedia.org/wikipedia/commons/d/d8/KDE_Plasma_5.25_screenshot.png" alt="KDE Plasma"></p> -<h3 id="text-editor">Text Editor</h3> -<p><a href="https://neovim.io/">(neo)vim</a>. Less of a text editor and more of a lifestyle. Check out my dotfiles for this. -No, I’m not going to ever switch to emacs.</p> -<p><img src="https://neovim.io/images/showcase/telescope_helptags.png" alt="Neovim"></p> -<h3 id="web-browser">Web Browser</h3> -<p><a href="https://www.mozilla.org/en-US/firefox/features/">Firefox</a> / -<a href="https://brave.com">Brave</a> / -<a href="https://vivaldi.com">Vivaldi</a>. -I have tried, Chromium, Qutebrowser in the past.</p> -<h3 id="file-manager">File Manager</h3> -<p><a href="https://github.com/jarun/nnn">nnn</a>. Yes, I have used ranger.</p> -<p><img src="http://i.imgur.com/kOld6HT.gif" alt="nnn"></p> -<h2 id="where-can-i-find-good-software-options">Where can I find good software options?</h2> -<p>The program of your dreams is probably listed below:</p> -<ul> -<li>The <a href="https://suckless.org/rocks/">suckless</a> website’s list of programs that “rock”. -Generally minimalist programs.</li> -<li>A more comprehensive <a href="https://github.com/mayfrost/guides/blob/master/ALTERNATIVES.md">list</a> -of minimalist software.</li> -<li><a href="https://directory.fsf.org/wiki/Main_Page">FSF’s Free Software Directory</a>. -Emphasis on libre software (although most software in the links above will have free licenses as well).</li> -<li><a href="https://wiki.installgentoo.com/index.php/List_of_recommended_GNU/Linux_software">Gentoo Wiki Recommendations</a> -A good mix of programs for novices and advanced users.</li> -</ul> -<h2 id="hardware-i-use">Hardware I Use</h2> -<h3 id="laptop">Laptop</h3> -<p>The main laptop I use is the <a href="https://frame.work/">Framework laptop</a>. -I’m a huge fan of the whole upgradability concept coming from a few generations of ThinkPads.</p> -<h2 id="what-i-dont-use">What I don’t use</h2> -<p>Proprietary software.</p> -<p>I’m not going to endorse proprietary services that have gone out of their way to spy on or politically -suppress their users, just as Facebook, Discord etc. -One of the many take-aways you should get from me is that the use of libre/free software, -by its nature, is more constructive and extensible; and <strong>that’s the point</strong>.</p> -<p>There are philosophical reasons for this I’ll talk about in time, but for now, -suffice it to say I will not endorse the usage of proprietary software.</p> - </div> - <footer class="content__footer"></footer> - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - <p>Overview for the programs and equipment I use day-to-day.</p> - - <p> - By Kumar Damani, - 2021-11-12 - </p> - - - - - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/post/self-host/6imv05.jpg b/public/post/self-host/6imv05.jpg Binary files differdeleted file mode 100644 index d042d7a..0000000 --- a/public/post/self-host/6imv05.jpg +++ /dev/null diff --git a/public/post/self-host/elections.jpg b/public/post/self-host/elections.jpg Binary files differdeleted file mode 100644 index ac4ac96..0000000 --- a/public/post/self-host/elections.jpg +++ /dev/null diff --git a/public/post/self-host/freedom.jpg b/public/post/self-host/freedom.jpg Binary files differdeleted file mode 100644 index d62048a..0000000 --- a/public/post/self-host/freedom.jpg +++ /dev/null diff --git a/public/post/self-host/index.html b/public/post/self-host/index.html deleted file mode 100644 index f1ec3b7..0000000 --- a/public/post/self-host/index.html +++ /dev/null @@ -1,240 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>Why do I self-host? – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item active" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <header class="content__header"> - <h1>Why do I self-host?</h1> - </header> - - <div class="content__body"> - <p>My reasons for self-hosting.</p> -<h2 id="digital-freedomindependence">Digital freedom/independence</h2> -<p><img src="freedom.jpg" alt="Freedeom pic"></p> -<p>To put it simply, if you use a service such as Lastpass, iCloud, Dropbox, GDrive, OneDrive, etc. -to store your data, <strong>you do not own it</strong>.</p> -<p>You are <em>trusting</em> corp. X to store it, secure it, and make it available to you. -Beyond the obvious privacy pitfalls with this, there are many other things that -could go wrong with your data being stored this way:</p> -<ul> -<li>Corp. X could vanish/close/“declare bankruptcy” (as with many crypto corps. lately), and you lose your data.</li> -<li>Corp. X could make a policy change and lock you out from accessing your account.</li> -<li>Or you could “forget” to pay the bills a few times and get locked out.</li> -<li>Corp. X could get hacked, and your data gets stolen. This is the latest trend!</li> -<li>Many other doomsday 💀 scenarios.</li> -</ul> -<p>Personally, I don’t feel comfortable depending on the existence of corp. X <em>for data that is important to -me</em> i.e. a lifetime’s worth of documents, memories, and passwords etc. -I 💤 much better at night knowing I am avoiding most if not all of the risks above.</p> -<h2 id="privacy">Privacy</h2> -<p>Normies often ask me some variation of:</p> -<ul> -<li>Why do I care if corp. X has my data? I have nothing to hide!</li> -<li>Since I’m aware of targeted advertising, it won’t work on me, -so why should I care if corp. X has my data?</li> -</ul> -<figure><img src="why.jpg" - alt="my pic" width="75%"/> -</figure> - -<p>To such questions, I follow-up with:</p> -<blockquote> -<p><strong>Do you want to contribute to a dystopian (<a href="https://en.wikipedia.org/wiki/Orwellian">Orwellian</a> future?</strong></p> -</blockquote> -<figure><img src="police.jpg" - alt="thought police" width="75%"/> -</figure> - -<p>If your answer is <em>yes</em>, then no need to read further, the following will not change your mind.</p> -<p>If your answer is <em>no</em>, but you aren’t convinced that/how these are related, -then the <em>argument goes something like this…</em></p> -<ul> -<li>We live in a world of mass data-collection/surveillance.</li> -<li>This enables corp. X to use techniques such as ML (Machine Learning) to build/train models (or “AI” - -Artificial Intelligence)that aim to predict human behaviour.</li> -<li>That by itself is not a problem here.</li> -<li>The problems arise when corp. X use these techniques for profit without -regard for the harm they cause at a <em>population level</em>.</li> -</ul> -<p>I have unfortunately lived through enough of these cases to be able to cite a few recent examples:</p> -<ul> -<li> -<p>Instagram (etc.) designs its apps/products optimizing for maximum <cite> addiction<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></cite>. -Think slot-machines. -You might think you are “too smart” to fall for these tricks, and you might be right, -but what about the millions of adolescents using these platforms who aren’t as wise as you? -The data collected, and techniques developed from <em>your usage</em> enables platforms -to target not only you, but <em>all</em> users on the platform, including the most vulnerable.</p> -<p>Unfortunately, many of these kids will end up suffering from mental-health, -body-image, self-esteem <cite>issues<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup></cite>, -and for some it <strong>will be fatal</strong>. -I do not think this is morally acceptable, and is primary reason I refuse -to participate in social-media platforms.</p> -<p><img src="6imv05.jpg" alt="Depression"></p> -</li> -</ul> -<p>You could say “well that’s due to bad parenting”, but the point remains that -more and more of the digital world is having <em>real world</em> negative consequences regardless of -your individual participation level. Another example:</p> -<ul> -<li> -<p>By now its well known that Facebook’s (etc.) targeted advertising -played a significant a role in the 2016 US <cite>Elections<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup></cite>. -Facebook was able to do this thanks to its users voluntarily giving personal information for two decades. -However, the policies that come out of this election has real world consequences to millions -(if not billions) of people, regardless of their <em>individual</em> Facebook usage, which -undermines the very purpose of a democratic republic. -Regardless of your political affiliation, it should worry you that this <em>can</em> happen.</p> -<p><img src="elections.jpg" alt="Elections"></p> -</li> -</ul> -<p>To summarize, it might not be a problem if individuals disregard their -privacy at the individual level, but in aggregate, a <em>population-wide</em> disregard -has dystopian consequences.</p> -<p>So the question you have to ask yourself is:</p> -<blockquote> -<p><strong>What can I do?</strong></p> -</blockquote> -<p>Start by <strong>valuing your privacy</strong>. -Then, follow some of these tips to <em>say no…</em></p> -<ul> -<li><strong>Limit your exposure to these services.</strong> If a friend stops talking to you because -of this, then congratulations, you’ve just gotten rid of a fake friend. You’re welcome.</li> -<li><a href="https://wiki.r-selfhosted.com/getting-started/what-is-self-hosting/">Self-host</a> -as much as you can. -You can see how I <a href="https://gitlab.com/kdam0/vps">implement</a> this and replicate it yourself, -though it is a bit involved for normies.</li> -<li>If neither of the above work for you, then you’ll need to do some research to -find an alternative source that you can trust isn’t doing the same thing. -Use <a href="https://github.com/awesome-selfhosted/awesome-selfhosted">this</a> -as a starting point and try to search (Ctrl+f) for your service. For eg. Twitter, and -Instagram both have popular options available.</li> -<li><strong>Stop using Chrome.</strong> If you must use it, use <a href="https://brave.com/">Brave</a> instead. -I advocate for <a href="https://www.mozilla.org/en-US/firefox/new/?redirect_source=firefox-com">Firefox</a>. -Neither are perfect, but both offer privacy respecting options in their settings. -Specifically disabling cross-site tracking is important. -Beyond that, install an ad-blocker extension such as <a href="https://ublockorigin.com/">UBlock Origin</a> -on both of them. Don’t forget to do the same on your mobile device!</li> -<li>Things get more complicated on cell-phones. -I suggest switching to a privacy respecting operating-system such as <a href="https://grapheneos.org/">GrapheneOS</a> -Short of this, you can only limit your usage.</li> -<li>Support government policies that respect user-privacy.</li> -</ul> -<figure><img src="office.png" - alt="office pic" width="75%"/> -</figure> - -<div class="footnotes" role="doc-endnotes"> -<hr> -<ol> -<li id="fn:1"> -<p><a href="https://sitn.hms.harvard.edu/flash/2018/dopamine-smartphones-battle-time/">Smartphones and dopamine</a> <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p> -</li> -<li id="fn:2"> -<p><a href="https://onlinedegrees.unr.edu/online-master-of-public-health/impact-of-social-media-on-youth-mental-health/">Mental health and social media</a> <a href="#fnref:2" class="footnote-backref" role="doc-backlink">↩︎</a></p> -</li> -<li id="fn:3"> -<p><a href="https://www.theverge.com/2017/12/11/16761016/former-facebook-exec-ripping-apart-society">Excerpt from Facebook ex-exec</a> <a href="#fnref:3" class="footnote-backref" role="doc-backlink">↩︎</a></p> -</li> -</ol> -</div> - </div> - <footer class="content__footer"></footer> - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - <p>Overview of why I self-host.</p> - - <p> - By Kumar Damani, - 2022-09-12 - </p> - - - - - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/post/self-host/office.png b/public/post/self-host/office.png Binary files differdeleted file mode 100644 index 9cff3ce..0000000 --- a/public/post/self-host/office.png +++ /dev/null diff --git a/public/post/self-host/police.jpg b/public/post/self-host/police.jpg Binary files differdeleted file mode 100644 index dde2b44..0000000 --- a/public/post/self-host/police.jpg +++ /dev/null diff --git a/public/post/self-host/why.jpg b/public/post/self-host/why.jpg Binary files differdeleted file mode 100644 index eda5402..0000000 --- a/public/post/self-host/why.jpg +++ /dev/null diff --git a/public/posts/index.html b/public/posts/index.html deleted file mode 100644 index 69999ae..0000000 --- a/public/posts/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<html lang="en-us"> - <head> - <title>https://kumardamani.net/post/</title> - <link rel="canonical" href="https://kumardamani.net/post/"> - <meta name="robots" content="noindex"> - <meta charset="utf-8"> - <meta http-equiv="refresh" content="0; url=https://kumardamani.net/post/"> - </head> -</html> diff --git a/public/series/index.html b/public/series/index.html deleted file mode 100644 index 5b5816d..0000000 --- a/public/series/index.html +++ /dev/null @@ -1,101 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>Series – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <h1 id="series">Series</h1> - - - - <ul> - - </ul> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/series/index.xml b/public/series/index.xml deleted file mode 100644 index 76263b3..0000000 --- a/public/series/index.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>Series on Kumar Damani - Home</title> - <link>https://kumardamani.net/series/</link> - <description>Recent content in Series on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language><atom:link href="https://kumardamani.net/series/index.xml" rel="self" type="application/rss+xml" /> - </channel> -</rss> diff --git a/public/showcase/index.html b/public/showcase/index.html deleted file mode 100644 index 69999ae..0000000 --- a/public/showcase/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE html> -<html lang="en-us"> - <head> - <title>https://kumardamani.net/post/</title> - <link rel="canonical" href="https://kumardamani.net/post/"> - <meta name="robots" content="noindex"> - <meta charset="utf-8"> - <meta http-equiv="refresh" content="0; url=https://kumardamani.net/post/"> - </head> -</html> diff --git a/public/sitemap.xml b/public/sitemap.xml deleted file mode 100644 index f644f02..0000000 --- a/public/sitemap.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" - xmlns:xhtml="http://www.w3.org/1999/xhtml"> - <url> - <loc>https://kumardamani.net/</loc> - <lastmod>2023-03-24T00:00:00+00:00</lastmod> - <priority>0</priority> - </url><url> - <loc>https://kumardamani.net/post/nixos-p1/</loc> - <lastmod>2023-03-24T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/post/</loc> - <lastmod>2023-03-24T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/tags/</loc> - <lastmod>2023-03-24T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/tags/technology/</loc> - <lastmod>2023-03-24T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/tags/personal/</loc> - <lastmod>2022-11-29T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/post/programming-as-art/</loc> - <lastmod>2022-11-29T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/tags/tech/</loc> - <lastmod>2022-09-12T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/post/self-host/</loc> - <lastmod>2022-09-12T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/post/programs/</loc> - <lastmod>2021-11-12T00:00:00+00:00</lastmod> - </url><url> - <loc>https://kumardamani.net/categories/</loc> - </url><url> - <loc>https://kumardamani.net/tags/index/</loc> - </url><url> - <loc>https://kumardamani.net/series/</loc> - </url> -</urlset> diff --git a/public/tags/index.html b/public/tags/index.html deleted file mode 100644 index e273dff..0000000 --- a/public/tags/index.html +++ /dev/null @@ -1,113 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>Tags – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <h1 id="tags">Tags</h1> - - - - <ul> - - <li><a href="https://kumardamani.net/tags/technology/">technology</a></li> - - - <li><a href="https://kumardamani.net/tags/personal/">personal</a></li> - - - <li><a href="https://kumardamani.net/tags/tech/">tech</a></li> - - - <li><a href="https://kumardamani.net/tags/index/">index</a></li> - - - </ul> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/tags/index.xml b/public/tags/index.xml deleted file mode 100644 index e0708be..0000000 --- a/public/tags/index.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>Tags on Kumar Damani - Home</title> - <link>https://kumardamani.net/tags/</link> - <description>Recent content in Tags on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language> - <lastBuildDate>Fri, 24 Mar 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://kumardamani.net/tags/index.xml" rel="self" type="application/rss+xml" /> - <item> - <title>technology</title> - <link>https://kumardamani.net/tags/technology/</link> - <pubDate>Fri, 24 Mar 2023 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/tags/technology/</guid> - <description></description> - </item> - - <item> - <title>personal</title> - <link>https://kumardamani.net/tags/personal/</link> - <pubDate>Tue, 29 Nov 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/tags/personal/</guid> - <description></description> - </item> - - <item> - <title>tech</title> - <link>https://kumardamani.net/tags/tech/</link> - <pubDate>Mon, 12 Sep 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/tags/tech/</guid> - <description></description> - </item> - - <item> - <title>index</title> - <link>https://kumardamani.net/tags/index/</link> - <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/tags/index/</guid> - <description></description> - </item> - - </channel> -</rss> diff --git a/public/tags/index/index.html b/public/tags/index/index.html deleted file mode 100644 index fce8d04..0000000 --- a/public/tags/index/index.html +++ /dev/null @@ -1,104 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>index – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <h1 id="index">index</h1> - - - - <ul> - - <li><a href="https://kumardamani.net/post/">Posts</a></li> - - - </ul> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/tags/index/index.xml b/public/tags/index/index.xml deleted file mode 100644 index fa04209..0000000 --- a/public/tags/index/index.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>index on Kumar Damani - Home</title> - <link>https://kumardamani.net/tags/index/</link> - <description>Recent content in index on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language><atom:link href="https://kumardamani.net/tags/index/index.xml" rel="self" type="application/rss+xml" /> - <item> - <title>Posts</title> - <link>https://kumardamani.net/post/</link> - <pubDate>Fri, 24 Mar 2023 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/</guid> - <description></description> - </item> - - </channel> -</rss> diff --git a/public/tags/personal/index.html b/public/tags/personal/index.html deleted file mode 100644 index 2309ae8..0000000 --- a/public/tags/personal/index.html +++ /dev/null @@ -1,110 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>personal – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <h1 id="personal">personal</h1> - - - - <ul> - - <li><a href="https://kumardamani.net/post/programming-as-art/">Romanticism in Programming</a></li> - - - <li><a href="https://kumardamani.net/post/self-host/">Why do I self-host?</a></li> - - - <li><a href="https://kumardamani.net/post/programs/">Programs and Equipment</a></li> - - - </ul> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/tags/personal/index.xml b/public/tags/personal/index.xml deleted file mode 100644 index 9b28685..0000000 --- a/public/tags/personal/index.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>personal on Kumar Damani - Home</title> - <link>https://kumardamani.net/tags/personal/</link> - <description>Recent content in personal on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language> - <lastBuildDate>Tue, 29 Nov 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://kumardamani.net/tags/personal/index.xml" rel="self" type="application/rss+xml" /> - <item> - <title>Romanticism in Programming</title> - <link>https://kumardamani.net/post/programming-as-art/</link> - <pubDate>Tue, 29 Nov 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/programming-as-art/</guid> - <description><p>Why there is art in programming.</p></description> - </item> - - <item> - <title>Why do I self-host?</title> - <link>https://kumardamani.net/post/self-host/</link> - <pubDate>Mon, 12 Sep 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/self-host/</guid> - <description><p>My reasons for self-hosting.</p></description> - </item> - - <item> - <title>Programs and Equipment</title> - <link>https://kumardamani.net/post/programs/</link> - <pubDate>Fri, 12 Nov 2021 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/programs/</guid> - <description><p>The programs and equipment I use on a daily basis.</p></description> - </item> - - </channel> -</rss> diff --git a/public/tags/tech/index.html b/public/tags/tech/index.html deleted file mode 100644 index 98cf424..0000000 --- a/public/tags/tech/index.html +++ /dev/null @@ -1,107 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>tech – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <h1 id="tech">tech</h1> - - - - <ul> - - <li><a href="https://kumardamani.net/post/self-host/">Why do I self-host?</a></li> - - - <li><a href="https://kumardamani.net/post/programs/">Programs and Equipment</a></li> - - - </ul> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/tags/tech/index.xml b/public/tags/tech/index.xml deleted file mode 100644 index 7bf143b..0000000 --- a/public/tags/tech/index.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>tech on Kumar Damani - Home</title> - <link>https://kumardamani.net/tags/tech/</link> - <description>Recent content in tech on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language> - <lastBuildDate>Mon, 12 Sep 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://kumardamani.net/tags/tech/index.xml" rel="self" type="application/rss+xml" /> - <item> - <title>Why do I self-host?</title> - <link>https://kumardamani.net/post/self-host/</link> - <pubDate>Mon, 12 Sep 2022 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/self-host/</guid> - <description><p>My reasons for self-hosting.</p></description> - </item> - - <item> - <title>Programs and Equipment</title> - <link>https://kumardamani.net/post/programs/</link> - <pubDate>Fri, 12 Nov 2021 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/programs/</guid> - <description><p>The programs and equipment I use on a daily basis.</p></description> - </item> - - </channel> -</rss> diff --git a/public/tags/technology/index.html b/public/tags/technology/index.html deleted file mode 100644 index 3e841d0..0000000 --- a/public/tags/technology/index.html +++ /dev/null @@ -1,104 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - - <head><title>technology – Kumar Damani - Home</title> -<meta name="description" content="Git, email, and resume"> - -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta charset="UTF-8"/> - - - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" /> - - -<link rel="stylesheet" href="https://kumardamani.net/css/palettes/tokyo-night-dark.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css"> -<link rel="stylesheet" href="https://kumardamani.net/css/custom.css"> -</head> - - <body> - <div class="page"> - - <header class="page__header"><nav class="page__nav main-nav"> - <ul> - <h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1> - - - <li class="main-nav__item"><a class="nav-main-item" href="https://kumardamani.net/post/" title="Posts">Posts</a></li> - - </ul> -</nav> - -</header> - - <section class="page__body"> - <h1 id="technology">technology</h1> - - - - <ul> - - <li><a href="https://kumardamani.net/post/nixos-p1/">Adventures in NixOS - Part 1</a></li> - - - </ul> - - - </section> - - <section class="page__aside"> - <div class="aside__about"> -<div class="aside__about"> - <img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo"> -<h1 class="about__title">Links</h1> -<p class="about__description">Git, email, and resume</p> -</div> - - -<ul class="aside__social-links"> - - <li> - <a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a> - </li> - - <li> - <a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a> - </li> - - <li> - <a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a> - </li> - -</ul> -</div> - <hr> - <div class="aside__content"> - </div> - </section> - - <footer class="page__footer"><p> - - - - - - - - - - -</p> -<br /><br /> -<p class="copyright"></p> -<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p> -</footer> - - </div> - </body> - -</html> diff --git a/public/tags/technology/index.xml b/public/tags/technology/index.xml deleted file mode 100644 index 93f60cf..0000000 --- a/public/tags/technology/index.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>technology on Kumar Damani - Home</title> - <link>https://kumardamani.net/tags/technology/</link> - <description>Recent content in technology on Kumar Damani - Home</description> - <generator>Hugo -- gohugo.io</generator> - <language>en-us</language> - <lastBuildDate>Fri, 24 Mar 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://kumardamani.net/tags/technology/index.xml" rel="self" type="application/rss+xml" /> - <item> - <title>Adventures in NixOS - Part 1</title> - <link>https://kumardamani.net/post/nixos-p1/</link> - <pubDate>Fri, 24 Mar 2023 00:00:00 +0000</pubDate> - - <guid>https://kumardamani.net/post/nixos-p1/</guid> - <description><p>Almost a guide to getting started with NixOS the modern (2023) way.</p></description> - </item> - - </channel> -</rss> diff --git a/public/xmr.png b/public/xmr.png Binary files differdeleted file mode 100644 index 6f78ca0..0000000 --- a/public/xmr.png +++ /dev/null |
