sharpliner
cheat
sharpliner | cheat | |
---|---|---|
15 | 32 | |
282 | 11,963 | |
1.1% | 1.0% | |
7.1 | 5.2 | |
9 days ago | 13 days ago | |
C# | Go | |
MIT License | 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.
sharpliner
-
Ask HN: What are your “scratch own itch” projects?
I didn't appreciate developing Azure Pipelines in YAML so I've created a library that lets you use C# instead.
Aside the apparent advantages of the strong typed environment, I was able to bake in many more features that make your life easier. Code reuse is also super easy.
https://github.com/sharpliner/sharpliner
-
Pipeline task scripts - inline vs file path?
I use a library called Sharpliner (https://github.com/sharpliner/sharpliner) which lets you use C# instead of YAML. It has features around sourcing scripts that you might appreciate - it can take scripts from embedded resources and inline them in the YAML which gives you best of the both worlds:
- Best way to learn YAML for Azure Pipelines?
-
Devs don’t want to do ops
Second, you might be into this: https://github.com/sharpliner/sharpliner
- Sharpliner - Use C# instead of YAML to define your Azure DevOps pipelines
-
Sharpliner: Use C# Instead of YAML to Define Your Azure DevOps Pipelines
For some of the problems you mention (variable contexts), there are some things that can be done (e.g. https://github.com/sharpliner/sharpliner/issues/125).
- New to YAML and AzDevOps - Advice on writing tests and pipelines using YAML?
-
CI / CD in YAML
In case you're just starting with YAML pipelines and you are using C# (which it seems you do), you can have a look at Sharpliner (https://github.com/sharpliner/sharpliner) which lets you use C# for pipelines. Sharpliner contains some useful shortcuts/macros such as If.IsPullRequest or If.IsBranch("main"), potentially If.And(IsPullRequest, IsBranch("main")) which makes this more readable and easy to use.
- Monthly 'Shameless Self Promotion' thread - 2022/03
-
Sharpliner - Use C# instead of YAML to define pipelines
I did sort of explore this possibility here: https://github.com/sharpliner/sharpliner/issues/7
cheat
-
Should you add screenshots to documentation?
Looks like bro pages is archived and they recommend https://github.com/tldr-pages/tldr or https://github.com/cheat/cheat
-
Was looking at the GitHub page for eg and found this gem
I tried eg and tldr, but I preferred cheat. Why, and why not. Cheat not only have nice examples, but let you improve them or create yours. I use the cli, not the curl.
-
This sub turned me onto Raycast, but... No syncing of settings / keyboard shortcuts between machines??
Hey, the app I recommend shows you all the commands you need per app not just for macOS! Support for programming languages? Download this. For git, docker and neovim download this one.
-
Aid needed
cheat is also a useful one. Shows you a cheat sheet for the command you search.
-
how to enable cheat autocompletion in zsh
are you sure autocompletion isn't enabled for cheat? You're maybe hitting this bug upstream.
-
What is a good way to learn bash scripting
Find something to automate or make easier and write a script for it. If you get stuck on a detail, read the man pages of the command you're using (man pages confuse you? try tldr or cheat). Then google it, there's a shitton of SO Q&A on bash. If you can't find it, find a bash channel on irc or discord and ask (they'll expect you've read the FAQ though). Keep notes. I wrote a script to read and edit notes for bash, in bash, and it taught me new things!
-
Do you ever use cheat sheets at work?
Definitely do. I created my own doc site using docusaurus where i stored a lot of info i use every once in a while. Things i use more often are available as aliases in the shell or zsh functions. There's also the handy dandy cli https://github.com/cheat/cheat that contains a lot of cheat sheets for common binaries.
-
Why can't I hold all these syntaxes?
cheat and howdoi
- Ask HN: Terminal Cheatsheets
-
My thoughts after a week of ChatGPT usage
As a dev - It's a good (very good, in fact) alternative for man, tldr, cheat and zeal (and probably tens of other projects - sorry for not mentioning you) with a very pleasant interface - which was the point I think ;)
What are some alternatives?
azure-devops-dotnet-samples - .NET/C# samples for integrating with Azure DevOps Services and Azure DevOps Server
tldr - 📚 Collaborative cheatsheets for console commands
FeedTheMonkey - Desktop client for the TinyTinyRSS feed reader.
cheat.sh - the only cheat sheet you need
gatus - ⛑ Automated developer-oriented status page
tealdeer - A very fast implementation of tldr in Rust.
changedetection.io - The best and simplest free open source web page change detection, website watcher, restock monitor and notification service. Restock Monitor, change detection. Designed for simplicity - Simply monitor which websites had a text change for free. Free Open source web page change detection, Website defacement monitoring, Price change notification
tldr - Haskell tldr client
glacier_deep_archive_backup - Extremely low cost, off-site backup/restore using AWS S3 Glacier Deep Archive
pywal - 🎨 Generate and change color-schemes on the fly.
Spodcast - Spodcast is a caching Spotify podcast to RSS proxy. Using Spodcast you can follow Spotify-hosted netcasts/podcasts using any player which supports RSS, thus enabling the use of older hardware which is not compatible with the Spotify (web) app.
howdoi - instant coding answers via the command line