Skip to content

Commit

Permalink
fix (add more categories)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhupesh-V committed Apr 28, 2023
1 parent ac21aa8 commit cf18a2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ class FilterTypeForm(FlaskForm):
"JavaScript": "javascript",
"C++": "cpp",
"C": "c",
"Go": "go",
"Ruby": "ruby",
"SQL": "sql",
"CSS": "css",
"Data Structures & Algorithms": "dsa",
"Machine Learning": "machine-learning",
Expand Down
4 changes: 4 additions & 0 deletions resourcer/resourcer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ class Types(Enum):
"c":"languages/c",
"cpp":"languages/c++",
"css":"languages/css",
"ruby": "languages/ruby",
"sql":"languages/sql",
"git": "tools/git",
"go":"languages/go",
"android": "app-development/android",
"flutter": "app-development/flutter",
"miscellaneous": "miscellaneous",
Expand All @@ -37,6 +40,7 @@ class Types(Enum):
"dsa": "dsa",
"computer-graphics": "computer-graphics",
"computer-science": "computer-science",
"devops": "devops",
}

requests_cache.install_cache("resource_cache", backend="memory", expire_after=180)
Expand Down

0 comments on commit cf18a2b

Please sign in to comment.