a python script to archive file hashes

  Рет қаралды 13

Dan Kelley

Dan Kelley

Күн бұрын

When I teach, I often show diagrams, and I tell the students to email me if they want to see what code I used to create those diagrams. If they do it on the day of class, I'll remember which graph they mean. But if they email weeks later, saying something like "the graph with red contours" then I won't remember. So I wrote a utility that makes sha1 hash codes for the source files, so that I can put the first few characters of the code on the graph. That way, they just have to jot down a few characters in their notes, and if they tell me those characters, I can know what file to send them. This utility copies the file (so I don't have to worry about revising it later) and stores the filenames, dates, and comments, in a csv file. In the video I walk through the process. The file is at github.com/dan...

Пікірлер
Accessing lazygit within lunarvim
3:28
Dan Kelley
Рет қаралды 165
10 Crazy Python Operators That I Rarely Use
11:37
Indently
Рет қаралды 19 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 138 МЛН
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 13 МЛН
5 Simple Steps for Solving Dynamic Programming Problems
21:27
Reducible
Рет қаралды 1 МЛН
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,1 МЛН
Postgres just got even faster
26:42
Hussein Nasser
Рет қаралды 32 М.
Meta Has Changed The Game.
10:17
DiscoVR Tetiana
Рет қаралды 6 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,6 МЛН
SHORT: Wilkinson Fire Alarm
5:41
Our Own Devices
Рет қаралды 7 М.
uv IS the Future of Python Packaging 🐍📦
25:16
Hynek Schlawack
Рет қаралды 10 М.
Writing a Python Script to Control my Lights | Five Minute Python Scripts
8:15