Skip to content

Commit

Permalink
Python notebook added support, better project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-sharma committed Nov 3, 2024
1 parent 9a1377e commit bfff0ef
Show file tree
Hide file tree
Showing 14 changed files with 571 additions and 269 deletions.
5 changes: 5 additions & 0 deletions content/nav.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ type: nav
date: 2023-05-26 14:11
---

### 📑 Pages

- Python notebooks [Link](/notebooks)
- Microblog [Link](/microblog)

### 🌞 Personal

| | | | | |
Expand Down
4 changes: 4 additions & 0 deletions content/notebooks/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Notebooks"
type: "notebooks"
---
13 changes: 13 additions & 0 deletions content/notebooks/blog-time-spent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "Total time spent while working on something"
type: "notebooks"
layout: "single"
notebook: "blog-time-spent"
date: 2024-10-25
time: 18:30
categories:
- notebook
tags:
- productivity
- tool
---
13 changes: 13 additions & 0 deletions content/notebooks/dota2-player-analysis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "Dota 2 Player Analysis"
type: "notebooks"
layout: "single"
notebook: "dota2-player-analysis"
date: 2024-10-24
time: 19:00
categories:
- notebook
tags:
- gaming
- matplotlib
---
4 changes: 4 additions & 0 deletions content/posts/building-live-device-feed/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ Doing all this does give you satisfaction of seeing all your activity in one pla
3. Which application I have been using a lot lately, is it zoom for meetings, or slack for async communication
4. And the one which I am actually interested is in LLM understanding or finding any anomaly which is difficult to find just by a SQL query/filters.

## Bonus

I have been able to create mountain graph which you can see at bottom because of these data itself, I have python notebook for fetching and generating the data, which can be found [here](/notebooks/blog-time-spent)


{{< time-mountain data="[{\"date\": \"05 Aug\", \"hours\": 0.81, \"position\": 10}, {\"date\": \"06 Aug\", \"hours\": 0.25, \"position\": 16}, {\"date\": \"07 Aug\", \"hours\": 3.85, \"position\": 22}, {\"date\": \"08 Aug\", \"hours\": 4.42, \"position\": 28}, {\"date\": \"09 Aug\", \"hours\": 1.13, \"position\": 34}, {\"date\": \"10 Aug\", \"hours\": 3.89, \"position\": 40}, {\"date\": \"11 Aug\", \"hours\": 4.19, \"position\": 46}, {\"date\": \"12 Aug\", \"hours\": 0.85, \"position\": 52}, {\"date\": \"13 Aug\", \"hours\": 0.05, \"position\": 58}, {\"date\": \"14 Aug\", \"hours\": 3.04, \"position\": 64}, {\"date\": \"15 Aug\", \"hours\": 1.53, \"position\": 70}, {\"date\": \"16 Aug\", \"hours\": 1.41, \"position\": 76}, {\"date\": \"17 Aug\", \"hours\": 3.79, \"position\": 82}, {\"date\": \"18 Aug\", \"hours\": 1.55, \"position\": 88}]" >}}

Expand Down
2 changes: 1 addition & 1 deletion content/posts/dota-compendium-2024-quest/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ My first-ever game of Dota 2 was at around May 2022, where I had no idea what I

<aside>
<h4>Source Code</h2>
<p>All the visualization/animation is done via Python, you can have a look at notebook with all the code present: <a href="https://github.com/shashank-sharma/shashank-sharma.github.io/tree/master/content/posts/dota-compendium-2024-quest/data/dota2-player-analysis.ipynb">Link</a></p>
<p>All the visualization/animation is done via Python, you can have a look at notebook with all the code present: [dota2-player-analysis.ipynb](/notebooks/dota2-player-analysis)</p>
</aside>

### Overall winrate progression
Expand Down
17 changes: 14 additions & 3 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ignoreFiles = ['\\.obsidian/*']

[params]
author = 'Shashank'
version = 'v.2024.10'
version = 'v.2024.11'
slogan = 'Just a guy, who is engineer for fun'
description = 'Backend Engineer | Anime Lover | Artist'
startDate = 2020
Expand Down Expand Up @@ -96,8 +96,19 @@ ignoreFiles = ['\\.obsidian/*']
[markup.asciidocExt]
preserveTOC = true
[markup.highlight]
style = "github"
lineNos = true
anchorLineNos = false
codeFences = true
guessSyntax = false
hl_Lines = ''
hl_inline = false
lineAnchors = ''
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
noHl = false
style = 'emacs'
tabWidth = 4
[markup.tableOfContents]
endLevel = 3
ordered = false
Expand Down
17 changes: 0 additions & 17 deletions layouts/shortcodes/image-container.html

This file was deleted.

114 changes: 0 additions & 114 deletions layouts/shortcodes/image-scroll-captions.html

This file was deleted.

2 changes: 0 additions & 2 deletions layouts/shortcodes/rawhtml.html

This file was deleted.

131 changes: 0 additions & 131 deletions layouts/shortcodes/time-mountain.html

This file was deleted.

Loading

0 comments on commit bfff0ef

Please sign in to comment.