Skip to content

Latest commit

 

History

70 Commits

Folders and files

Repository files navigation

snippets

A collection of my miscellaneous code

Layout

  • study/ — following someone else's material (a book or a course) to learn something, rather than self-directed work.
  • algorithm/ — self-directed problem-solving practice in C++ and Python (sort, graph, union-find, BST, coordinate compression, etc.) — not tied to any one project, just individual algorithm snippets.
  • project/ — personal projects with real scope, built and iterated on over time (as opposed to misc/ below).
    • project/2020-c-data_structure — an attempt at building a reusable data-structure library in C (trees, hashing, search, graphs, sorting). Not coursework, and not the same kind of thing as algorithm/ above — the goal here was the library itself, not practicing individual problems.
    • project/2020-c-oop — OOP-style C (list/queue/dict).
  • misc/ — one-off standalone scripts/tools, each built in a single sitting rather than iterated on: an infix-expression calculator in Python (20160430-py-inorder_calc, 2016), a duty-roster calculator in HTML/JS (20180130-js-duty_calc, 2018), a random grid generator in C (20220908-c-random_grid_generator), and running a shell script from Java (20231028-java-execute_shell_script).
  • experiment/ — small standalone experiments, not tied to a particular project or language.
    • experiment/os — OS-level C calls (fork, pipe, brk, setjmp/longjmp).
  • undergrad_coursework/ — actual assigned coursework from Ajou University, graded/evaluated deliverables rather than self-chosen study material. Organized by semester and course: 2019-fall-os, 2020-fall-embedded_systems_lab (AVR firmware for a multi-node electric-kickboard controller over CAN bus, Dec 2020), 2020-fall-system_programming, 2020-spring-computer_organization, 2020-fall-data_analysis.
  • web/react — React component and MobX practice snippets.

Naming convention

Top-level category folders stay singular (project/, experiment/, misc/, study/, undergrad_coursework/) — a folder holding many things doesn't need a plural name.

For dated/course folders, the pattern is <year>-<semester>-<course_name> (e.g. 2020-fall-system_programming): - separates structural/metadata fields (year, semester, course), _ separates words within a single field.

About

A collection of my miscellaneous code

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages