Can I integrate Cmder in VS Code on a Mac? - macos

Is there a way where I can use Cmder in VS code on Mac? And if so, then how do I integrate it?
If not, do you know any good alternatives?
I've thought about using Hyper as an alternative, but I cannot get it to look the way I want it to, and it doesn't seem to have the same "intelligence". For instance, if I want to go back into the prev. directory, I have to type cd .., whereas in Cmder I can type cd.. or cd ...

You can set powershell link here
brew cask install powershell

It is not possible to use cmder in VS Code on a Mac.
I have tried to look for some alternatives, but ended up using Hyper.io
Hopefully there will come an alternative with the "Intellisence" feature Cmder has which I really like.

Related

using git-posh or/and oh-my-posh with Command Prompt(cmd, not Powershell) inside windows terminal

Recently switched to new windows terminal, and after hours of searching on internet I was not able to find anything helpful, all what I want is to set up cmd inside new windows terminal to show git branches just like it's achievable for powershell.
eg like this
I have been very comfortable with cmd especially with its ability to use additional linux commands and don't wanna switch to powershell only because of nice displays of git branches. this is a source where everything is nicely explained for powershell, all I want is to do the same for CMD.
thanks in advance
In order to use Oh My Posh for shell-prompt customization from cmd.exe, the legacy Windows shell (citing from the docs (tab cmd)):
There's no out of the box support for Windows CMD when it comes to custom prompts. There is however a way to do it using Clink, which at the same time supercharges your cmd experience. Follow the installation instructions and make sure you select autostart.
As you later discovered, this issue on GitHub has background information on why native cmd.exe support isn't possible (even though Oh My Posh is generally shell-agnostic) and why third-party software is needed to make it work.
As for your comments re preferring cmd.exe:
I have been very comfortable with cmd
Migrating from the shell one is used to a new one is undoubtedly a painful transition, but well worth considering in this case:
While not without its quirks, PowerShell is vastly superior in just about every respect to cmd.exe, and enables you to do things you simply cannot do in cmd.exe
its ability to use additional linux commands
Linux (WSL) commands called from the Windows side are all mediated via executables (notably wsl.exe and bash.exe), which you can equally call from PowerShell.

Using Mac Terminal To Run .EXE

One of my friends sent me a link on how to use terminal to get OSU! to run on mac. It worked perfectly, but now I am wondering if it is only for certain things, or if I can use terminal commands to make a .exe program run?
Anyone know if this is possible, and if so how would I go about doing it?
Thanks.
Macs aren’t compatible with Windows apps.
But you can try an app called wine.
Wine tries to provide an environment to run Windows exes.
Download the binary packages at here
Get the stable installer.
Make sure that you’ve got xquartz installed using homebrew: brew install xquartz.
The easiest and free way to run .exe files is to run it on "PlayOnMac". It might show some bugs(never faced a major bug). but it solves the problem. You can easily copy paste files on it like if you want to crack the software.

how to use powerlevel9k in zsh to get efficient output

I have installed zsh and oh my zsh in my terminal and change it using an online guide in a Ubuntu Linux derivative called Zorin OS 15.
but after installing it, I tried to use powerlevel9k theme but it didn't end up as it was shown in the guide or in any other video.
If you know the solution, please answer the question.
Thank you
this is the result. Please check it
You probably also need to install the powerline fonts so that the prompt displays correctly.
https://github.com/powerline/fonts
Use powerlevel10k instead. It's backward-compatible with powerlevel9k configs but much faster, easier to set up and has scores of extra features. Type p10k configure after installing it. Optionally, install the recommended font to unlock all prompt styles.

Cygwin and alternatives to replicating linux commands on windows

I keep running into issues with a .bat script I want to write to automate some tasks related to the setup of my PHP application. I can't for instance do simple wget to download files and so on.
I hear that by installing Cygwin, the user should be able to have access to all linux related commands, so my script will run without problems.
Another way is to get the user to download each GnuWin32 version of the commands I'm using in my script, like wget, gzip, diff but this sounds like a lot more trouble than installing a single Cygwin program.
Can someone recommend the easiest approach here.. Is Cygwin the standard or are there easier alternatives.
I haven't heard of alternatives to Cygwin, and from my personal experience, it seems like it would perfectly suit your needs. You'll just need to launch your script from Cygwin's shell instead of Windows' prompt, but that hardly is a problem.
If you are having problems with batch files then rather than install Cygwin, I'd look at PowerShell and WScript.
Hard to answer, because the way you phrase your question seems to imply that the person answering must have absolute knowledge about what is easiest and that there's not any alternatives.
Among the people I know Cygwin is the standard for getting a posix like environment under windows.
I'd go for cygwin.

Is there an official GUI way of installing and removing .Net services on Windows Server 2008?

Please read the whole question; I personally think that this is programming-related; if you think otherwise, then please migrate without down-voting.
I have found two different ways of installing a service:
http://www.wsinnovations.com/softeng/support/manualservice.html
as well as using http://msdn.microsoft.com/en-us/library/50614e95(VS.80).aspx
The reason why I ask for this is that I am trying to debug a service which is somehow supposed to update itself. It is not currently working, but I was told that this did work in the past.
I have been using the sc delete <servicename> command to remove the service (because it is shorter that way), while installing it with an installutil command. I hope this does not result in any side-effects; I would like to rule those out.
Ideally, it should be possible to install and uninstall services right from the screen which lets the user start and stop them, but such option is not does not exist unfortunately. I am looking for the next best thing, which is a GUI wrapper for installutil.exe
No - not in the way I believe you're thinking of. The GUI way would be as part of an MSI or other installer, which calls the same APIs as installutil does.
So what you could do is write an installer which can run silently, and then use that to install and uninstall.
You could create an installer using one of the many installation frameworks out there. I personally use WiX and there are a bunch of examples out there about how to write these sorts of things.
Maybe have a look here to get an impression of the underlying API: Install a .NET windows service without InstallUtil.exe

Resources