Skip to content

Commit bd50c7f

Browse files
committed
personalization
0 parents  commit bd50c7f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1908
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.hugo_build.lock
2+
themes

archetypes/default.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
3+
date = {{ .Date }}
4+
draft = true
5+
+++

archetypes/post.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "new blog post"
3+
date : {{ .Date }}
4+
tags: ["post"]
5+
author: {{ .Author }}
6+
description: "Enter some description text."
7+
8+
---

config.yml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
baseURL: "https://netops2devops.net/"
2+
title: netops2devops
3+
paginate: 5
4+
theme: PaperModX
5+
6+
enableRobotsTXT: true
7+
buildDrafts: false
8+
buildFuture: false
9+
buildExpired: false
10+
11+
12+
minify:
13+
disableXML: true
14+
minifyOutput: true
15+
16+
params:
17+
env: production # to enable google analytics, opengraph, twitter-cards and schema.
18+
title: netops2devops
19+
description: "All things networking, systems, software and security related"
20+
keywords: [Blog, netops2devops]
21+
author: "Kapil Agrawal"
22+
images: ["<link or path of image for opengraph, twitter-cards>"]
23+
DateFormat: "January 2, 2006"
24+
defaultTheme: auto # dark, light
25+
disableThemeToggle: false
26+
27+
ShowAuthor: true
28+
ShowReadingTime: true
29+
ShowShareButtons: true
30+
ShowPostNavLinks: true
31+
ShowBreadCrumbs: true
32+
ShowCodeCopyButtons: true
33+
disableSpecial1stPost: false
34+
disableScrollToTop: false
35+
ShareButtons: ["x", "linkedin", "mastadon", "facebook"]
36+
comments: false
37+
hidemeta: false
38+
hideSummary: false
39+
showtoc: true
40+
tocopen: true
41+
TocSide: "left"
42+
43+
assets:
44+
# disableFingerprinting: true
45+
favicon: "./assets/"
46+
favicon16x16: "<link / abs url>"
47+
favicon32x32: "<link / abs url>"
48+
apple_touch_icon: "<link / abs url>"
49+
safari_pinned_tab: "<link / abs url>"
50+
51+
label:
52+
text: "Home"
53+
icon: /apple-touch-icon.png
54+
iconHeight: 35
55+
56+
# home-info mode
57+
homeInfoParams:
58+
#Title: "blog"
59+
Content: "**All things networking, systems, software and security**"
60+
61+
socialIcons:
62+
- name: github
63+
url: "https://github.com/netops2devops"
64+
- name: linkedin
65+
url: https://linkedin.com/in/netops2devops
66+
- name: keybase
67+
url: https://keybase.io/netops2devops
68+
- name: mastadon
69+
url: "https://infosec.exchange/@netops2devops"
70+
71+
cover:
72+
hidden: true # hide everywhere but not in structured data
73+
hiddenInList: true # hide on list pages and home
74+
hiddenInSingle: true # hide on single page
75+
76+
# for search
77+
# https://fusejs.io/api/options.html
78+
fuseOpts:
79+
isCaseSensitive: false
80+
shouldSort: true
81+
location: 0
82+
distance: 1000
83+
threshold: 0.4
84+
minMatchCharLength: 0
85+
keys: ["title", "permalink", "summary", "content"]
86+
87+
outputs:
88+
home:
89+
- HTML
90+
- RSS
91+
# required for search
92+
- JSON
93+
94+
menu:
95+
main:
96+
- name: "About"
97+
url: "/about/"
98+
weight: 10
99+
- name: Posts
100+
url: /posts/
101+
weight: 1
102+
- name: Search
103+
url: /search/
104+
weight: 2
105+
- name: Tags
106+
url: /tags/
107+
weight: 3
108+
- name: Archive
109+
url: /archives/
110+
weight: 4
111+
#- name: Newsletter
112+
# url: /newsletter/
113+
# weight: 1
114+
115+
116+
# Read: https://github.com/reorx/hugo-PaperModX/wiki/FAQs#using-hugos-syntax-highlighter-chroma
117+
pygmentsUseClasses: true
118+
pygmentsCodeFences: true
119+
120+
markup:
121+
highlight:
122+
guessSyntax: true
123+
lineNos: true
124+
noClasses: true
125+

content/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
netops2devops.net

content/about.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Hello world
2+
3+
Welcome to my blog. My name is Kapil Agrawal (pronunciation: `cup-ill`) and I am a *Security Engineer* by profession. My current role mostly focuses on Network security, DevSecOps and developing security tools and automating workflows for security operations. Prior to moving into a Cybersecurity role, I was a Network Engineer and had several years of experience working in service provider and HPC data center networking and automation. I have many interests most of which involve Linux, networking, security, software, Infrastucture as code. In my downtime I enjoy hiking, kayaking or working out (HIIT), gaming, traveling or playing with Juniper (my cat).
4+
5+
## Motivation
6+
7+
Since I rely heavily on Open source and the work that others put out online for free, I wanted to do my due diligence and share some of the cool stuff that I get to learn and work on which I usually end up documenting somewhere in my notes anyway. My hope is that someone on the internet could benefit from the information here plus it helps me work on my technical writing skills and also gives me a good reason to finally start using this domain that I have been squatting on for so long.
8+
9+
Thanks for stopping by. I hope you find the articles in this blog helpful.
10+
11+
Ciao! 👋

content/archives.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: Archives
3+
layout: archives
4+
---

content/posts/mikrotik-ipv6.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: IPv6 prefix delegation on Mikrotik
3+
date: 2024-05-26
4+
tags: ["IPv6", "Mikrotik", "Networking"]
5+
author: "Kapil Agrawal"
6+
comments: false
7+
description: "RouterOS config to get IPv6 prefix delegation from your ISP"
8+
---
9+
## Config

content/posts/my-cookiecutter.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Say goodbye to boilerplate code"
3+
date : 2024-05-27
4+
tags: ["cookiecutter", "dev"]
5+
description: "Using cookiecutter & cruft to generate barebones project template"
6+
---
7+
We use `cookiecutter` to generate barebones project template and use `cruft` to keep the template up to date.

content/posts/my-dev-env.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: My development environment
3+
tags: ["dev"]
4+
---
5+
6+
I use Apple M1 max for daily use. Majority of development happens here. Everyonce in a while when I need x86-64 arch for something I create a linux VM on my local proxmox server that I run at home.
7+
8+
## Tools I use
9+
10+
- Git
11+
- VScode
12+
- Docker
13+
- Obsidian
14+
- pre-commit
15+
16+
```python
17+
from pprint import pprint
18+
def show(json):
19+
pprint(json)
20+
```
21+
22+
```golang
23+
package main
24+
import fmt
25+
26+
// main function
27+
func main(){
28+
fmt.Println("Hello World")
29+
}
30+
```

0 commit comments

Comments
 (0)