lilfluff: On of my RP characters, a mouse who happens to be a student librarian. (Default)
lilfluff ([personal profile] lilfluff) wrote2023-01-05 10:37 am
Entry tags:

Who has two thumbs and definitely remembers to use their tools?

Well, the first half of that question would be me. But since I just thought to myself, "Hey, I should use git on this collection of files," and discovered that I did in fact already initialize git for this thing. All the way back in January of 2016 and then promptly forgot to commit changes after March of 2016... Oops? I did at least get around to adding a README file so I can more easily remind myself, "Hey, Fluff, you set up Python invoke to simplify working with this thing. Seriously, here are the two tasks, use them!"

Anyway, if you use python and you have something that you regularly run one or more sets of commands on, but with just enough time between each run that you're prone to forgetting the commands? Take a look at Invoke. The thing I'm using it with here is simple enough it could be a simple shell script, but with Invoke get easy help text for each task by adding a simple docstring. If you're a Ruby person then yeah, it's kind of like Rake. And if you're a C person it's kind of like Make but without the near half century of pent up hatred at its own existence taken out on those who use it.
thewayne: (Default)

[personal profile] thewayne 2023-03-17 10:04 pm (UTC)(link)
Can you point me to a good tutorial on a basic Git installation? I'm a casual Python programmer, my IT background is mainly relational database design/reporting and SQL Server DBA. I have LOTS of programming experience, but now I'm semi-retired and programming for my own use and amusement.

I want it mainly for simple version control. I used a source control system, but it was standalone and back in the '90s. It was called Sourcerer's Apprentice and it integrated beautifully with the BRIEF editor, which I loved dearly but it was killed by GUIs.

The bit that might be a little tricky is I work on both Mac and a PC platforms, mainly Macs. I'm putting my source code on a OneDrive share that's common to my (currently) three computers. I use Microsoft's Visual Studio Code editor so that I have a common editor between the two platforms.

Any suggestion would be wonderful!
thewayne: (Default)

[personal profile] thewayne 2023-07-10 11:46 pm (UTC)(link)

Thanks!  I'll download these and look 'em over.  I have some web site hosting that I could probably deploy something on if I wanted: I really need to get ahold of them and resolve two of my sites being dow.