PowerShell
Windows Terminal
PowerShell | Windows Terminal | |
---|---|---|
397 | 507 | |
43,483 | 93,619 | |
0.9% | 0.5% | |
9.6 | 9.7 | |
3 days ago | 5 days ago | |
C# | C++ | |
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.
PowerShell
-
PowerBI: déployer une passerelle sur AWS pour $0.12/j
msiexec.exe /package https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
-
Sudo for Windows
This smells like when PowerShell aliased curl and wget to a completely different command, with incompatible arguments.
https://github.com/PowerShell/PowerShell/pull/1901
-
Gooey: Turn almost any Python command line program into a full GUI application
PowerShell is available on macOS and Linux as well (source on Github: https://github.com/PowerShell/PowerShell). It may not be as well-integrated with things like system services management, but the language still works well. You can still use all the command line tools you're used to on Linux, of course.
nushell does look interesting, though the lack of a .deb repository does put it pretty low on my to-do list.
-
3 lines of code don't understand the results.
Issue #7940 discusses potential improvements to array slicing.
- Task Scheduler -windowstyle hidden / minimized
-
Just messing around with arrays and efficiency in PS, thought I'd share
Note: This can be problematic as it prevents upstream commands from running their end {} block. See here. The new clean {} block introduced in PowerShell v7.3 does not suffer from this issue.
-
Jaq – A jq clone focused on correctness, speed, and simplicity
Can you give an example of something that PS can do that is built-in for text processing, instead of a proprietary symbolic query language?
[1] https://github.com/PowerShell/PowerShell
-
The bash book to rule them all
https://github.com/PowerShell/PowerShell/blob/master/LICENSE... is the MIT license. (Microsoft supplies debs directly which may reduce the motivation for Debian to do so.)
Oh, heh, also https://github.com/PowerShell/PowerShell/blob/master/docs/bu... the build script is written in PowerShell, so there's a bootstrapping problem :-) (Debian has solved those before of course, but with community sentiment like the above maybe noone is motivated to bother.)
- Did Reddit just denylist all IPs?
-
Register-ArgumentCompleter: how to fall back to file completion when completing a flag such as "--foo="
According to https://github.com/PowerShell/PowerShell/issues/19628, the default behaviour is invoked whenever the completion script returns no output. To attempt to do so, I tried exiting the script via returning an empty string, or using the return keyword to exit the script completely, unfortunately with no avail. Is there a technique to achieve what I want, and is there any documentation about it other than the official one? Thank you in advance.
Windows Terminal
-
Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
A Microsoft employee recently (~6 months) opened a Github issue to discuss a command line editor for Windows: https://github.com/microsoft/terminal/discussions/16440
-
Deleting Software I Wrote Upon Leaving Employment of a Company
> convince management of the value
This presupposes that such convincing is even possible. Many, many companies have leadership that are simply terrible at identifying value. If you've never been part of a majority of developers advocating for, if not outright begging for, some huge ROI initiative to get the green light, you are very fortunate.
There are great counterexamples, like Valve, which is known for giving developers an extreme degree of autonomy, and they benefit greatly from that approach. For each Valve, though, there are dozens of companies that manage to succeed despite themselves.
Take Microsoft, for example. One tiny, yet representative, example: the way the Windows Terminal team handled a suggestion from Casey Muratori to take their software from abysmally slow to lightning fast:
https://github.com/microsoft/terminal/issues/10362
A quote from one of the Terminal developers, dismissing the suggestion:
> I believe what you’re doing is describing something that might be considered an entire doctoral research project in performant terminal emulation as “extremely simple” somewhat combatively…
Just how difficult was such an endeavor in actuality? Well, given that Casey implemented his own terminal emulator from scratch and incorporated the functionality he was proposing in a mere weekend... not a whole lot. Relatively minor effort for a huge return on investment. It took Casey explaining the concepts, then providing a working proof of concept, and finally a bunch of backlash online towards the Terminal team to get them to do the right thing for themselves and their users.
-
A glimpse into the universe where Windows died with the 1980s
At this point ConHost.exe is open source [0] so it is maybe not a stretch to expect Microsoft to open source CMD.EXE at some point.
Though with PowerShell being cross-platform and already open source, I personally don't think there's enough to gain in some sort of better open source CMD.EXE fork. I'd be interested in being proved wrong on that, but I'm also happy enough with PowerShell these days I'm not in a hurry to return to CMD.EXE.
[0] https://github.com/microsoft/terminal/tree/main/src/host
-
Windows 11 looks to be getting a key Linux tool added in the future
"Users of Linux and macOS may well be familiar with the sudo command, used regularly in the terminal, and it looks like Windows may finally be getting its own version."
More Linux tools are coming to Windows, especially Windows Server because the tools are good and they make it easier to administer a Windows Server.
They are looking at adding a default TUI text editor (https://github.com/microsoft/terminal/discussions/16440) and now they are adding sudo.
I would not be surprised if systemd or something like it gets ported or reinvented for Windows simply because it makes managing services so nice.
-
Overview over Microsoft's developer tools for Windows
GitHub
-
On Being Listed as an Artist Whose Work Was Used to Train Midjourney
>We are allowed to view and consume it, to be influenced by it, and under many circumstances even outright copy it.
People keep saying this but it's actually much more complicated, and in many cases you can't view copyrighted content.
An example, MicroSoft employees are not permitted to view or learn from an open source (GPL-2) terminal emulator:
https://github.com/microsoft/terminal/issues/10462#issuecomm...
Another example is proprietary software that may have it's source available, either intentionally or not. If you view this and then work on something related to it, like WINE for example, you are definitely at risk of being successfully sued.
If you worked at MicroSoft and worked on Windows, you would not be able to participate in WINE development at all without violating copyright.
If you viewed leaked Windows source code you also would not be able to participate in WINE development.
An interesting question that I have, is whether training on proprietary, non-trade-secret sources would be allowed. Something like unreal engine, where you can view the source but it's still proprietary.
-
Terminal Smooth Scrolling
Windows Terminal is pretty good and a new terminal emulator written in the last few years. No smooth scrolling, here's the GitHub issue requesting it: https://github.com/microsoft/terminal/issues/1400
-
Microsoft defends Edge's predatory practices with cringe reply on X
Assume its related to this:
https://github.com/microsoft/terminal/issues/10362
It's nothing serious just microsoft engineers writing slow as shit code and reacting poorly to someone trying to help.
-
Should Windows have a default CLI editor?
"There are plenty of offline scenarios where this would be incredibly useful. For disconnected environments, etc. There are some environments that will never connect to winget."
Source: https://github.com/microsoft/terminal/discussions/16440#disc...
- Windows Feature Exploration: Default CLI Text Editor
What are some alternatives?
nushell - A new type of shell
Tabby - A terminal for a more modern age
winpty - A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs.
cmder - Lovely console emulator package for Windows
WFinfo - :computer: A fissure Companion App for Warframe
sixel-tmux - sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics
PowerToys - Windows system utilities to maximize productivity
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
ShellCheck - ShellCheck, a static analysis tool for shell scripts
refterm - Reference monospace terminal renderer
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
Warp - Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.