Skip to content

Commit

Permalink
adjust custom style
Browse files Browse the repository at this point in the history
  • Loading branch information
koneko096 committed Jan 14, 2024
1 parent 5dc8a44 commit 6404bc5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/BuildPage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
run: cp config.toml.${{ steps.extract_branch.outputs.branch }} config.toml

- name: Build Page
run: npm run build
run: |
mv static/css/app.css themes/paper/assets/custom.css
npm run build
- name: Deploy to Staging
uses: peaceiris/actions-gh-pages@v3
Expand Down
3 changes: 3 additions & 0 deletions config.toml.source
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ disqusShortname = "postmortem-1"
googleAnalytics = "UA-111769411-1"

[params]
env = "production"

name = "Afrizal Fikri"
bio = "Best outcomes come from trials"
avatar = "https://avatars.githubusercontent.com/u/9217338"
Expand All @@ -24,3 +26,4 @@ googleAnalytics = "UA-111769411-1"
gitlab = "icalF"
linkedin = "afrizalf"
facebook = "icalFikr"
rss = true
4 changes: 3 additions & 1 deletion config.toml.staging
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ draft = true
paginate = 4

[params]
env = "staging"

name = "Afrizal Fikri"
bio = "Best outcomes come from trials"
avatar = "https://avatars.githubusercontent.com/u/9217338"
Expand All @@ -22,4 +24,4 @@ paginate = 4
gitlab = "icalF"
linkedin = "afrizalf"
facebook = "icalFikr"

rss = true
4 changes: 2 additions & 2 deletions content/posts/kickstart-2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Even though this is the least solved problem in this round, the problem itself a

Kick Start is one of Google annual coding tests beside Code Jam and Hash Code. But this contest is a bit different. The prizes for the top contestants are job opportunity at Google, not money.

Complete description can be viewed [here](https://codingcompetitions.withgoogle.com/kickstart/round/00000000008caa74/0000000000acf318). Given a N x M terrain with obstacles, each cell consists of 2x2 minicells. You start from top left corner (1,1). You have to find a way to visit each minicell *exactly once* and come back to initial corner, if any. You can only move into four true neighbors (no diagonal move).
Complete description can be viewed [here](https://github.com/google/coding-competitions-archive/blob/main/kickstart/2022/round_b/hamiltonian_tour/statement.pdf). Given a N x M terrain with obstacles, each cell consists of 2x2 minicells. You start from top left corner (1,1). You have to find a way to visit each minicell *exactly once* and come back to initial corner, if any. You can only move into four true neighbors (no diagonal move).

{{< figure src="https://codejam.googleapis.com/dashboard/get_file/AQj_6U32_0J5YBAoNnQ3fGCopyxBqak78IdIxW1-INgCDqKp65LFlrrPgjKzBFwegZ6aVOcOwnqLdOM/case2.png" >}}
{{< figure src="/img/hamilton.png" >}}

Google has released the official analysis. But I found it too difficult to understand. So, here I try to simplifying things for you guys with more intuitive way.

Expand Down
Binary file added static/img/hamilton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6404bc5

Please sign in to comment.