scripting_course
sh
scripting_course | sh | |
---|---|---|
16 | 24 | |
1,340 | 6,862 | |
- | - | |
5.9 | 6.8 | |
about 1 month ago | about 2 months ago | |
Vim Script | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scripting_course
-
Whats Your VIMRC Setup For 2023?
I'm still on Vim 8.1 (Ubuntu 20). Most of my settings are available here: https://github.com/learnbyexample/scripting_course/blob/master/.vimrc
-
.vimrc
Here's mine: https://github.com/learnbyexample/scripting_course/blob/master/.vimrc
-
Not Your Grandfather’s Perl
I wrote ebooks on CLI one-liners based on grep/sed/awk/perl/ruby/coreutils/etc. These are free to read online: https://github.com/learnbyexample/scripting_course#ebooks
Plenty of examples and exercises.
-
Ask HN: What are the best open source books?
There are huge lists on freely available books on programming topics here:
* https://ebookfoundation.github.io/free-programming-books/boo...
* https://ebookfoundation.github.io/free-programming-books/boo...
---
All my book are free to read online and markdown source are available on GitHub: https://github.com/learnbyexample/scripting_course#ebooks
-
Show HN: Command line text processing with GNU Coreutils eBook
I did have an option couple of years back, but there were hardly any buyers. So I closed that store instead of spending time in keeping them updated.
All my books are free to read online: https://github.com/learnbyexample/scripting_course#ebooks
Also, you could print to pdf using the markdown source from my GitHub repos or use tools like pandoc to convert markdown to pdf/epub.
-
Ask HN: Anyone prefer a terminal based coding setup?
These might help:
* https://blog.sanctum.geek.nz/series/unix-as-ide/
* https://themouseless.dev/
Personally, I use gvim for all my text editing needs and use a normal terminal (i.e. no tmux, i3, etc). There's not much to share, unless you are interested in my vimrc, aliases, etc: https://github.com/learnbyexample/scripting_course
-
[Giveaway] My books on regexp, cli and scripting are free for a few days
Thanks, do you mean web versions of my books? I made those using mdBook to convert markdown to html (plus js for things like search features).
-
Advice on Getting Better with Regex?
https://github.com/learnbyexample/scripting_course#ebooks - I have several books on regex with plenty of examples/exercises (free to read online)
-
Where can I learn to write Regular Expressions?
I have separate books for Python/Ruby/JS regexp. My books on grep/sed/awk include detailed chapters on regexp. You can read them for free online, see https://github.com/learnbyexample/scripting_course#ebooks for links. I use lots of examples to present a concept and there are plenty of exercises to test your knowledge as well.
-
Can anyone provide any references to learning Bash Scripting for newbs? Preferably with some exercises?
I have a few resources collected here: https://github.com/learnbyexample/scripting_course/blob/master/Linux_curated_resources.md#shell-scripting
sh
- sh: Python Process Launching
-
Acme.sh runs arbitrary commands from a remote server
I usually replace shell scripts with python (using sh module: https://amoffat.github.io/sh/ for calling other scripts/programs).
-
The Right Way to Run Shell Commands from Python
> sh relies on various Unix system calls and only works on Unix-like operating systems - Linux, macOS, BSDs etc. Specifically, Windows is not supported.
from: https://amoffat.github.io/sh/
-
Anyone have any tips for developing on Windows?
You can even run interpreted languages as a shell. See plumbum or sh for ways to make it a more comfortable shell and ipython for a better version of the shell.
- Python “Sh” Module
-
Argbash – Bash Argument Parsing Code Generator
100% agree. There are some libraries like https://amoffat.github.io/sh/ that aim to make that easier, but they always have some quirks that, funnily enough, are often the corner cases you were hitting in your complicated Bash script in the first place.
-
Unix bash scripting versus Python - any resources out there for comparisons?
Another way to make Python scripts nicer is to use https://github.com/amoffat/sh
- Show HN: Clamshell- an experimental Python based shell
-
Useful Python Modules for us
pdbpp: Improved pdb boltons: assorted python addtions twisted: event driven networking framework sorcery: Dark magic in python, things know where+how they are being called, helps reducing boilerplate sh: Better alternative for subprocess module, much more pythonic taskipy: npm run scipt_name like functionality snoop: pdb lite, record+replay function steps birdseye: graphical debugger remote-pdb: easy pdb from inside containers typer: wrapper around click for simpler code for CLIs arrow: Always TZ aware datetimes, plus more features more-itertools: more functions for iterators pydantic: data validation + dataclasses loguru: better logging notifiers: sending notifications from python
-
What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus
Sh sh and outside python, watch watch
What are some alternatives?
bashcrawl
Delegator.py - Subprocesses for Humans 2.0.
awesome-regex - A curated collection of awesome Regex libraries, tools, frameworks and software
envoy
awk-hack-the-planet - Source code repo for Ben Porter (FreedomBen)'s free course on Awk (originally a talk at Linux Fest Northwest 2019 and 2020)
sarge
vimrc - The ultimate Vim configuration (vimrc)
tkterminal - Terminal widget for Tkinter library.
unix-as-ide - The ebook version of Tom Ryder's series on the Unix programming environment
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
.dotfiles - :fireworks: Arch Linux with i3 / nvim / tmux / urxvt / zsh / ...
zx - A tool for writing better scripts