Skip to content

Latest commit

 

History

History
102 lines (101 loc) · 9.44 KB

File metadata and controls

102 lines (101 loc) · 9.44 KB

Learning rust, one program at the time!

  1. words, split stdin on words
  2. align, center lines on regex
  3. count, keeps counting, like perpetual seq!
  4. distinct, uniq -- but keeps order
  5. (reservoir) sample, "Algorithm R"
  6. hist, histogram of numbers on stdin
  7. rand, generate random numbers
  8. stats, calculate descriptive statistics for numbers on stdin
  9. prefix, prefixes [argument] to all lines on stdin, with placeholders
  10. lorem, generates dummy text
  11. pace, paces std-stdout flow
  12. dbg, (pipe)-debugger, like pv, but with samples
  13. pick, pick (and optionally permute) columns
  14. ascii, print ascii table -- or convert "queries"
  15. groupby, groups lines by field 1
  16. cumsum, cumulative sum
  17. tld, top-level domains (country)
  18. ends, "ends", head and tail in one pass
  19. jwtdec, decodes JWT and prints header and payload
  20. base64url, base64 -- but for base64 URL encodings
  21. urldecode, url decoder
  22. urlencode, url encoder
  23. rule, ported ruler to rust (and renamed it rule)
  24. clock, ascii-clock
  25. magnifying-glass, old-school magnifying-glass effect
  26. llen, line lengths
  27. ddiff, ddiff (date-difference)
  28. scatter, scatter-plot of numbers from stdin
  29. stars, screensaver-like stars
  30. gen-strs, generate strings matching regex
  31. news, read and display news feeds (RSS)
  32. word-chain, http://codekata.com/kata/kata19-word-chains/
  33. pulsating-heart, animated heart shape using Bevy
  34. hex2dec, convert #HEXCOL to decimals (and fractions)
  35. snake, did some snake thing in Bevy
  36. particle-system, small particle system
  37. animated-shader, 2d rectangle with custom fragment shader
  38. mini_gl_fb-still-image, drawing random walk to a mini_gl_fb buffer
  39. mini_gl_fb-animation, drawing random walk -- animated
  40. bouncing_pixel, bounce a pixel (with trail) around with winit + Pixel
  41. animated-sine-wav, animated sine wave with nannou
  42. mandelbrot, drew the mandelbrot fractal with minifb. Best so far!
  43. map-range, map-range shell filter
  44. breakthrough, break-out-ish
  45. metaballs, a green metaball!
  46. rainbow, spectrum-to-cie-to-rgb mapping
  47. raycaster, wolfenstein-style raycaster
  48. ripples, some sine-ripples
  49. filter-speed-comparison, comparing basic unix filter in various languages
  50. interactive-fractal, zoomable mandelbrot
  51. bevy-crash-course-tutorial, followed some tutorial. Physics + sounds.
  52. shooter-poc, some basic shooter mechanics PoC
  53. ued, micro-ed, for editing a single line in a file. WIP.
  54. beep, generating some noise with rodio
  55. rotating-cube, old-school rotating cube!
  56. interer-sort, integer-sort and criterion-comparison
  57. voronoi, animated voronoi tesselation
  58. sirenpinski-triangle, animated sierpinksi triangle
  59. rgb-palette, (0)rgb colors in bit order
  60. merge, merge already sorted files, like sort -m
  61. bgrep, binary search text file for line beginning with pattern
  62. num-to-bin, parse number from ascii to binary
  63. bin-to-num, convert binary to ascii. Only LE u32 for now.
  64. roll, bunch of unix filters inspired by APL
  65. ceiling, added monadic upstile (ceiling) and started on input-parsing as lib
  66. maximum, added dyadic upstile (maximum), no scalar extension yet
  67. plus, added plus, but with monadic to be inc rather than conjugate
  68. lcm, added lcm, least common multiplier
  69. bang, added bang/exclamation mark (factorial vs binomial)
  70. deal, added dyadic roll (deal)
  71. decode, added decode
  72. multiply, added multiply
  73. divide, added divide
  74. encode, added encode
  75. circle, added monadic circle
  76. circle, added dyadic circle
  77. equal, added equal
  78. maze-generator, maze-generator
  79. not, added monadic not
  80. not, added dyadic not
  81. power, added power (e** / x ** y)
  82. drunken-bishop, (animated) drunken bishop
  83. casey-circle, ported Casey's circle drawing algo
  84. casey-circle, Casey's Circle, animated
  85. actix-proto, Protobuf vs JSON in Actix Web
  86. ping-server-comparison, ping server comparison
  87. bresenham+unsafe, bresenham + unsafe static mutation
  88. rust-collections-performance, some collection comparions + criterion
  89. macro-rules, tried macro_rules
  90. perlin-noise, 2d perlin noise
  91. matrix, matrix-like animation (ascii)
  92. drop, drop
  93. floor, floor
  94. ge, ge
  95. residue, residue
  96. value-noise, some cosine interpolated value noise
  97. value-noise, added octaves
  98. cave-crawl, ascii cave game
  99. toy-redis, mini-redis with SET and GET
  100. shadercanvas, vanilla winit/wgpu shader