Skip to content

Instantly share code, notes, and snippets.

View zoziha's full-sized avatar
🍭
清风徐来,水波不兴。

ZUO Zhihua zoziha

🍭
清风徐来,水波不兴。
View GitHub Profile
!> reference: https://github.com/KT19/automatic_differentiation
module backward
use iso_fortran_env, only: real64
implicit none
type :: node
private
real(kind=real64) :: val
real(kind=real64) :: grad = 0._real64
type(pair), dimension(:), pointer :: parents
@fnky
fnky / ANSI.md
Last active November 1, 2025 10:01
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27