Why did someone downvote this honest and curious question?
To your questions:
Yes, this is indeed for the command prompt. In windows you have two command line interpreters (also called shell. The older one is cmd
and the newer is powershell
. You can start them by pressing super+r (super is the OS independent name for the windows, apple or command key) and typing in the name.
There you can run commands. Simple ones are dir
or ipconfig
. Then there is reg
which is used to alter/query or otherwise interact with the windows registry. And it changes the value key for your wallpaper. The /t, is an options in unix shell a dash is used instead of a forward slash. The important part you want to change is the E:\photos… this is the path where your image is.
The second command just applies the changes. No idea why that is needed. But imagine it is the Ok key you press when you change your wallpaper in the GUI.
To be honest the windows shells are somewhat lacking in functionality or ease of use. If you want to install a unix shell with a simple unix environment i can recommend babun.
For cutting the video you can use every movie editor you want. I would just use the tool <code>ffmpeg</code> (see post above), because i just need to give it the cut marks and don't have to do importing or exporting.
ffmpeg -i input.mkv -ss 00:00:30.0 -c copy -t 00:00:10.0 output.mkv
The first argument is the input file, then the start time i want in the output. The -c copy
just take in input video format and don't change it. Then the end mark and the filename of the output.
Extracting the frame can be done with the ffmpeg command in my previous post. Just think of the program playing the video and taking a screenshot every frame.
I've tried a few Linux-like shells on Windows but they were a pain to configure, and didn't play well with Vim or other applications. Check out Babun: super easy to set up and comes with everything you'll need pre-configured. I mostly use that now instead of firing up my Ubuntu VM.
Generate an MD5 sum for every file, and look for anything that matches.
The tool I would use is a commandline tool, babun:
find . -exec md5sum { } \;
Output looks like the following, which you can search for non-unique values. 1a92e14d75fa4985e9d44c10725efc01 *./.drone.sec 8a1ded231bbe21ad140e27f95cdba6e5 *./.drone.yml md5sum: ./.git: Is a directory d54cc2efd8170bb24ec1ada948ee97a5 *./.git/config a0a7c3fff21f2aea3cfa1d0316dd816c *./.git/description 4cf2d64e44205fe628ddd534e1151b58 *./.git/HEAD md5sum: ./.git/hooks: Is a directory
You can get these tools as part of a command line install of Babun (Cygwin, unix tools):
https://babun.github.io/
If you want to try this route, you can feel free to PM me any questions.
https://babun.github.io/ is a more naturally setup way to use Cygwin. It's very easy and feels Unix-like, with a lot of nice additions. It's the only way I can stay sane on Windows. It's not perfect, but it's the best I've found.
> So I'm an IT guy with no experience
No experience with Linux i hope. Or else how are you an IT guy? :D
I can really recommend babun it installs a linux environment (cygwin) on Windows. That way you can use ssh the way it is intended. Putty has a nice GUI but can be annoying to setup with ssh tunnels etc.
Its really not hard, same for putty, just read the documentation and related Wikipedia articles it will make everything easier.
BTW: As you can see in the sidebar /r/linux is not for support. That's why your post was downvoted.
Good thing that you're on Python3 which handles Unicode really well. You are asking for a terminal that supports Unicode and I have no idea about how terminals in Windows deal with this.
I can tell you that I have successfully used complex Asian script in a Linux terminal. I just had to ensure that the LANG
environment variable was set to UTF-8
, that the terminal was set to UTF-8
and that I had a font for the language. I didn't have a monospace font, but the text was still displayed just fine.
The quickest way to check this for you would be to try babun and make sure that the LANG
environment variable is using UTF-8
. Babun comes with Python3 already supported, so you can just run your scripts from the babun terminal. Babun will ensure that you can access your windows filesystem. I don't exactly know how Chinese fonts work in babun, but there should be a way to change the font: http://babun.github.io/faq/#how-can-i-change-the-default-fonts-and-size-of-babun-s-mintty-window-on-startup.
If not, you could also try installing a linux distro in a VM and try.
> ... just make everything harder for myself for no reason.
> Am I missing something?
No, it sounds like you understand the situation perfectly.
If you are interested in learning about Linux, I recommend leaving your current workflow in-place and either booting off a livecd/usb or (preferably) installing Linux on some spare side machine to play around with. Get more comfortable with it, and maybe someday you'd like to switch.
You can also explore doing some terminal-based things on windows
with WSL: https://docs.microsoft.com/en-us/windows/wsl/install-win10
Which of the 3 tutorials I linked to are you referring to?
Can you post a screenshot of exactly what you're typing and what the output is?
Can you type where npm
and where ng
to see if both are on your path?
It sounds like perhaps node or your global node modules (things installed with npm install -g
, like the angular-cli) are not on your path.
I would recommend installing babun and using that as a good windows shell that will behave like linux / mac (which most front-end tutorials assume you are using). You will likely have less trouble with that than with cmd.exe
or Powershell
I use Babun, which is a spin of cygwin that comes very close to what you'd get from (terminal-only) Linux. It comes wtih zsh pre-configured with oh-my-zsh, a package manager, mintty terminal nicely themed, and a good set of default installed packages. I use the same dotfiles I use for my Linux box at home (shared via github). I spend most of my time in vim (in babun) and the terminal.
For Windows GUI apps, I try to stick with apps that are also are availble on Linux: Chrome, Firefox, LibreOffice, Intellij IDEA, etc. To install GUI apps, I use ninite.com or chocolatey.org whenever possible.
Cygwin works really well for me. If you are having issues setting it up I would recommend babun. It is a pre-configured version of Cygwin that can get you up and running in a couple minutes.
If you're on windows, you could try Babun which is a package Cygwin, a package manager, the Mintty terminal, Zsh and loads of other cool stuff.
Then you can try this tutorial or this one to learn the basics.
edit : also, /r/linuxquestions is a place where you might get answers if you're stuck.