mirror of
https://github.com/olehomelchenko/olehomelchenko.com.git
synced 2026-02-04 18:44:36 +00:00
refactor: remove move docs to quarto, remove hugo artifacts
This commit is contained in:
10
.claude/settings.local.json
Normal file
10
.claude/settings.local.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(grep:*)",
|
||||
"Bash(cat:*)",
|
||||
"Bash(find:*)"
|
||||
]
|
||||
},
|
||||
"outputStyle": "default"
|
||||
}
|
||||
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -1,6 +0,0 @@
|
||||
[submodule "themes/ananke"]
|
||||
path = themes/ananke
|
||||
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git
|
||||
[submodule "themes/PaperMod"]
|
||||
path = themes/PaperMod
|
||||
url = https://github.com/adityatelange/hugo-PaperMod.git
|
||||
@@ -18,22 +18,19 @@ Add your background, education, and experience here.
|
||||
::: {.g-col-12 .g-col-md-4}
|
||||
**Data Visualization**
|
||||
- Vega-Lite
|
||||
- Python (Altair, Matplotlib)
|
||||
- R (ggplot2)
|
||||
- Tableau
|
||||
- Looker Studio
|
||||
:::
|
||||
|
||||
::: {.g-col-12 .g-col-md-4}
|
||||
**Analysis & Tools**
|
||||
- SQL (BigQuery)
|
||||
- Python (pandas, numpy)
|
||||
- R
|
||||
- SQL
|
||||
:::
|
||||
|
||||
::: {.g-col-12 .g-col-md-4}
|
||||
**Communication**
|
||||
- Quarto
|
||||
- Jupyter Notebooks
|
||||
- Technical Writing
|
||||
- Data Storytelling
|
||||
:::
|
||||
|
||||
:::
|
||||
@@ -46,8 +43,6 @@ Check out my [portfolio](/portfolio/) and [projects](/projects/) pages to see ex
|
||||
|
||||
- GitHub: [github.com/olehomelchenko](https://github.com/olehomelchenko)
|
||||
- Email: [your-email@example.com](mailto:your-email@example.com)
|
||||
- LinkedIn: [Add your LinkedIn URL]
|
||||
- LinkedIn: [olehomelchenko](https://linkedin.com/in/olehomelchenko)
|
||||
|
||||
---
|
||||
|
||||
*Replace this template with your actual information, accomplishments, and links.*
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
+++
|
||||
title = 'Main Page'
|
||||
date = 2024-05-21T20:20:24+03:00
|
||||
draft = false
|
||||
load_vega = true
|
||||
+++
|
||||
|
||||
Привіт! Я Олег, ви можете знати мене як аналітика в MacPaw та/або викладача в Київській школі економіки.
|
||||
|
||||
Цей сайт - сховище моїх знахідок в інтернеті, а також подекуди статей за темою аналізу та візуалізації даних.
|
||||
|
||||
|
||||

|
||||
50
hugo.yaml
50
hugo.yaml
@@ -1,50 +0,0 @@
|
||||
baseURL: https://olehomelchenko.com/
|
||||
title: Олег Омельченко
|
||||
theme: PaperMod
|
||||
|
||||
taxonomies:
|
||||
category: categories
|
||||
tag: tags
|
||||
language: languages
|
||||
|
||||
params:
|
||||
disableThemeToggle: true
|
||||
defaultTheme: light
|
||||
env: production
|
||||
author: Олег Омельченко
|
||||
|
||||
defaultContentLanguage: uk
|
||||
languages:
|
||||
uk:
|
||||
disabled: false
|
||||
languageCode: uk-UA
|
||||
languageName: Українська
|
||||
title: Олег Омельченко
|
||||
weight: 1
|
||||
en:
|
||||
disabled: false
|
||||
languageCode: en-US
|
||||
languageName: English
|
||||
params:
|
||||
author: Oleh Omelchenko
|
||||
title: Oleh Omelchenko
|
||||
weight: 2
|
||||
|
||||
menu:
|
||||
main:
|
||||
- identifier: posts
|
||||
name: posts
|
||||
url: /posts/
|
||||
weight: 50
|
||||
- identifier: tils
|
||||
name: TILs
|
||||
url: /til/
|
||||
weight: 10
|
||||
- identifier: categories
|
||||
name: Categories
|
||||
url: /categories/
|
||||
weight: 10
|
||||
- identifier: tags
|
||||
name: tags
|
||||
url: /tags/
|
||||
weight: 20
|
||||
13
index.qmd
13
index.qmd
@@ -3,17 +3,10 @@ title: "Oleh Omelchenko"
|
||||
page-layout: full
|
||||
---
|
||||
|
||||
## Welcome
|
||||
My name is Oleh, you may know me as an analyst at MacPaw and/or a teacher at Kyiv School of Economics.
|
||||
This website is a stash of my findings on the web, as well as some articles mostly related to data analysis and visualization.
|
||||
|
||||
|
||||
Привіт! Я Олег, ви можете знати мене як аналітика в MacPaw та/або викладача в Київській школі економіки.
|
||||
|
||||
Цей сайт - сховище моїх знахідок в інтернеті, а також подекуди статей за темою аналізу та візуалізації даних.
|
||||
|
||||
|
||||

|
||||
|
||||
Data visualization enthusiast and analyst. This site showcases my work in data analysis, visualization, and storytelling with data.
|
||||
{width=300}
|
||||
|
||||
### Recent Posts
|
||||
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
<script defer data-domain="olehomelchenko.com" src="https://plausible.io/js/script.file-downloads.outbound-links.tagged-events.js"></script>
|
||||
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
||||
|
||||
<!-- Matomo -->
|
||||
<script>
|
||||
var _paq = window._paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function () {
|
||||
var u = "//matomo.olehomelchenko.com/";
|
||||
_paq.push(['setTrackerUrl', u + 'matomo.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
||||
g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s);
|
||||
})();
|
||||
</script>
|
||||
{{ if .Params.load_vega }}
|
||||
<script src="https://cdn.jsdelivr.net/npm/vega@5"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/vega-lite@5"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>
|
||||
{{ end }}
|
||||
<style>
|
||||
.vega-container {
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
}
|
||||
canvas.marks {
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.19);
|
||||
margin: 10px;
|
||||
}
|
||||
</style>
|
||||
<!-- End Matomo Code -->
|
||||
@@ -1,16 +0,0 @@
|
||||
<!-- Create a unique ID for the div where the Vega-Lite visualization will be rendered -->
|
||||
<div class="vega-container">
|
||||
<div class="vegaVis" id="{{ .Get "id" | default "vega-lite-vis" }}"></div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
|
||||
let spec = {{ .Inner | safeJS }};
|
||||
let actions = {{ .Get "actions" | default false}};
|
||||
spec['width'] = spec['width']? spec['width'] : {{ .Get "width" | default 700}};
|
||||
spec['height'] = spec['height']? spec['height'] : {{ .Get "height" | default 300}};
|
||||
vegaEmbed('#{{ .Get "id" | default "vega-lite-vis" }}', spec, {"actions": actions}).catch(console.error);
|
||||
})();
|
||||
|
||||
</script>
|
||||
@@ -1,2 +0,0 @@
|
||||
# Shared metadata for all posts
|
||||
freeze: auto
|
||||
@@ -1,25 +0,0 @@
|
||||
---
|
||||
title: "Sample English Post"
|
||||
date: "2024-02-20"
|
||||
lang: en
|
||||
categories:
|
||||
- dataviz
|
||||
- tutorial
|
||||
description: "Example structure for an English post"
|
||||
---
|
||||
|
||||
## Introduction
|
||||
|
||||
This is a sample English post. Replace this with your actual content from Hugo.
|
||||
|
||||
### Main Content
|
||||
|
||||
When you migrate your posts from Hugo, they will have this structure:
|
||||
|
||||
- Frontmatter with metadata (title, date, language, categories)
|
||||
- Markdown content
|
||||
- Support for Vega-Lite visualizations
|
||||
|
||||
## Conclusion
|
||||
|
||||
Replace this file with your actual Hugo posts.
|
||||
@@ -1,25 +0,0 @@
|
||||
---
|
||||
title: "Зразок Української Статті"
|
||||
date: "2024-01-15"
|
||||
lang: uk
|
||||
categories:
|
||||
- dataviz
|
||||
- example
|
||||
description: "Приклад структури для української статті"
|
||||
---
|
||||
|
||||
## Вступ
|
||||
|
||||
Це зразок статті українською мовою. Тут ви можете додати свій контент.
|
||||
|
||||
### Основний зміст
|
||||
|
||||
Коли ви перенесете свої статті з Hugo, вони матимуть таку структуру:
|
||||
|
||||
- Frontmatter з метаданими (title, date, language, categories)
|
||||
- Markdown контент
|
||||
- Підтримка Vega-Lite візуалізацій
|
||||
|
||||
## Висновки
|
||||
|
||||
Замініть цей файл своїми реальними статтями з Hugo.
|
||||
@@ -1,55 +0,0 @@
|
||||
---
|
||||
title: "Sample Visualization Post"
|
||||
date: "2024-03-10"
|
||||
lang: en
|
||||
categories:
|
||||
- dataviz
|
||||
- showcase
|
||||
- vega-lite
|
||||
description: "Example post with Vega-Lite visualization"
|
||||
---
|
||||
|
||||
## Vega-Lite Example
|
||||
|
||||
This post demonstrates how to include Vega-Lite visualizations in Quarto. Note the `showcase` category - posts with this category will appear in your Portfolio.
|
||||
|
||||
### Simple Bar Chart
|
||||
|
||||
```{vega-lite}
|
||||
//| label: fig-simple-bar
|
||||
//| fig-cap: "A simple bar chart"
|
||||
{
|
||||
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
|
||||
"description": "A simple bar chart with embedded data.",
|
||||
"data": {
|
||||
"values": [
|
||||
{"category": "A", "value": 28},
|
||||
{"category": "B", "value": 55},
|
||||
{"category": "C", "value": 43},
|
||||
{"category": "D", "value": 91},
|
||||
{"category": "E", "value": 81}
|
||||
]
|
||||
},
|
||||
"mark": "bar",
|
||||
"encoding": {
|
||||
"x": {"field": "category", "type": "nominal", "axis": {"labelAngle": 0}},
|
||||
"y": {"field": "value", "type": "quantitative"}
|
||||
},
|
||||
"width": 400,
|
||||
"height": 300
|
||||
}
|
||||
```
|
||||
|
||||
### Migration Notes
|
||||
|
||||
When migrating from Hugo:
|
||||
|
||||
1. **Remove the Hugo shortcode**:
|
||||
- Old: `{{</* vega-lite id="chart1" */>}}...{{</* /vega-lite */>}}`
|
||||
|
||||
2. **Use Quarto code fence**:
|
||||
- New: ````{vega-lite}` with `//| label: chart-name`
|
||||
|
||||
3. **The visualization JSON stays the same** - just change the wrapper!
|
||||
|
||||
Replace this with your actual visualization posts from Hugo.
|
||||
38
readme.md
38
readme.md
@@ -1,38 +0,0 @@
|
||||
# Olehomelchenko.com
|
||||
|
||||
## Installation
|
||||
|
||||
1. Clone the repository:
|
||||
```sh
|
||||
git clone https://github.com/olehomelchenko/olehomelchenko.com.git
|
||||
cd olehomelchenko.com
|
||||
```
|
||||
|
||||
2. Install Hugo:
|
||||
```sh
|
||||
brew install hugo
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
To start the development server, run:
|
||||
```sh
|
||||
hugo server
|
||||
```
|
||||
This will start the server at `http://localhost:1313`.
|
||||
|
||||
## Build
|
||||
|
||||
To build the project for production, run:
|
||||
```sh
|
||||
hugo
|
||||
```
|
||||
The output will be in the `public` directory.
|
||||
|
||||
## Create New Content
|
||||
|
||||
To create new content, use the following command:
|
||||
```sh
|
||||
hugo new posts/your-new-post.md
|
||||
```
|
||||
This will create a new markdown file in the `content/posts` directory.
|
||||
Submodule themes/PaperMod deleted from 5a4651783f
Reference in New Issue
Block a user