Skip to content

H-Wol/algorithmStudyTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OverView

This project is a template project to help solve various algorithm problems.

Beakjoon

  • Auto commit
  • Auto Notion post

Setup

  1. Fork this repository

  2. From your new fork, go to Settings > Secrets

  3. Add the following secret using the New secret button:

    • NOTION_TOKEN: Token for using Notion API
    • DATABASE_ID: The database ID of the Notion to record the problem solving.
    • NOTION_SELF_ID: The personal ID of the Notion to record the problem solving.
  4. Go to the Actions tab of your fork and click the "enable" button

  5. Check the "Read repository content and packages permissions" in Settings > Actions > General > Workflow permissions

  6. Create a new repo using your fork

    • first, start your repo that created
    • second, try this command
    git remote add upstream [fork repo url]
    git fetch --all
    git pull upstream [your branch]
    
    • When merging the template repo into your existing repo, conflicts may arise. We recommend creating a local branch that tracks the upstream and merging the changes locally to resolve any conflicts

How to Use

Auto commit

  1. After solving the beakjoon problem, save the code inside the beakjoon folder.
  2. Set the file name to the name that contains the problem number.
  3. Run "python autoCommit.py"
  4. Check the commit history.

Auto Notion post

  1. After SetUp, this workflow runs only when the push event that commits the file is in the "beakjoon" folder.
  2. Check Notion

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages