I'm currently typing this on a MacBook with homebrew installed, which allows me to easily install basically any open-source Unix application. It's just a handy package manager, though. Most Unix open-source applications can be installed with Apple-provided tools, unless there's something about it that makes it specific to a particular version of Unix, which would be as likely to crop up with any version of Unix other than the targeted one, regardless of how open it is.
I don't think that Apple is significantly restricting my ability to install anything I want to. There is some package signing that will complain if an application specifically packaged for MacOS usage (an app bundle isn't signed properly, but I can bypass that by right-clicking and selecting "Open" (instead of just double-clicking) and clicking the "Run" button that shows up in the warning. After doing that once, I can start it with a double-click from then on.
Install that and then brew install sl
brew install sl
It’s just a great tool anyways since it can also download and install your favorite GUI apps as well. Very handy for setup scripts for new systems. I think there’s an equivalent on Windows, but I forgot the name.
macOS emulates a BSD layer, and it comes with a lot of tools. They're somewhat out-of-date but you can remedy that easily with MacPorts, Homebrew, or some other package manager. Zsh, Vim, Bash, Ruby, C, and Python all work pretty well, as does SSH (basic tunneling works, but I'm not sure what you're doing). Access to the kernel is much more limited and not advised, but there are ways to interact with it if you're willing to write code and dive into poorly documented Mach APIs.
Based on your comment I don't know how much you will split between design and dev, but if you will be doing any dev at all (and I suspect you will) I suggest you install Homebrew as it will greatly simplify the process of installing a great many useful tools. It also allows you to install native Mac apps via Caskroom.
Use a package manager like homebrew for Mac) or chocolaty (for windows, but I've never used it) to get software. These programs work like the package distribution systems in Linux and at least for Mac homebrew is a really common way to distribute open source Mac software. Most projects will have a brew-install command listed in their github if homebrew installation is an option.
Fluffy is a Tinfoil and GoldLeaf Gui for installing NSPs
So what's different about Fluffy?
Fluffy is the first to introduce:
Goldleaf and Tinfoil Support.
USB and Network install with transfer rate and progress bar.
Display current install rate in MB/ for both USB and Network mode(Goldleaf & Tinfoil too)
Display current NCA name and count.
Transfer mode option switchable between "Normal" and "Safe".
Individual NSP selection (suggested by: ShadowHand, thanks!)
Show current NSP being installed
Switch connected indicator
USB 5.x Fix (Compatible with Firmware versions 5.x and below)
More info here:
Download and Install Python 3 from [link]. Ensure no previous version of Python is installed. This may cause an error "PyUSB not found". Do not use the 64-bit version of Python 3 with Fluffy.
Run "pip3 install pyusb" and "pip3 install pyqt5" and "pip3 install libusb" and "pip3 install libusb1"
MacOS users must also run "brew install libusb". For more info on brew, head to [link].
Plus, all the gnu utilities can easily be installed by using [link]. They do prepend a g before their binary so they're not mixed up with the local system's version (which is old) but a quick addition to your script will have you going in no time.
source: went to Apple from Linux for dev/personal a while back.
Homebrew. I sysadmin’d a Linux based render farm back in the ole days and found out about the power of small programs like imagemagick, ffmpeg, and more. Every Mac has the power to use many of these tools natively. The end result is I can use Automator to make little “applets” that can shrink and convert pictures, create GIF sequences, mix and mux video and such. When battery levels get really low, I can shut down most services and just use command line programs to do many things as well.
Although this is a cool project to do for oneself, I think people who have only a bit of commandline knowledge are better off using a package manager (c. f. Homebrew which comes with <code>brew cask</code> to install apps. More supported apps, more contributors (i. e. supposedly more up to date) and it's open-source so you can look at what is happening before you install something.
I no longer use Mac, I have Ubuntu server loaded on my iMac.
However, I really found that the best thing to do was simply to use Homebrew (<strong>https://brew.sh/</strong>) rather than trying to make Mac be a proper X-based environment.
If you want a Unix experience, Mac will forever frustrate you. It is built and locked down to be a user-oriented OS with a controlled, integrated desktop environment that is not based on X or Wayland. There is the ability to do 'Unix-like' things under the covers with the shell. But it won't ever feel like Linux or Unix unless you do so much violence to it as to cause issues for yourself down the road.
Use homebrew to install and manage apps. It's always among the first things I setup on new Macs. It's similar to ninite or chocolatey on Windows, except that it's a command line tool.
It allows you to install both applications (brew cask install) and command line tools (brew install) easily. e.g.
$ brew cask install google-chrome firefox
That will automatically download and install Chrome and Firefox.
> Il est grand, grand temps d'avoir une méthode unifiée d'installer des logiciels sur un PC (Windows) en laquelle on puisse avoir confiance, avec une chaîne de certificats ou a minima une vérification automatique du hash vs. le hash formellement communiqué par le développeur.
Pour Windows: [link]
Et pour Mac OS: [link]
Install a package manager via your terminal (I like Homebrew) and then download any browser directly via terminal.
For example, steps to install Firefox:
Extracting the hash and throwing it against a good dictionary is really the best way to go about it. Hashcat is fast, churning through a 3GB dictionary on my machine in a couple of hours. If you can get a dictionary that's more comprehensive, that's even better.
I googled around for you, and this is a pretty good description of the process. It certainly explains it better than I could, with pictures and everything.
I run Hashcat on my Mac rather than on a Kali virtual machine. Being able to take advantage of the GPU makes a world of difference in speed - but it does bog the machine down quite a bit while it's running, so that's a tradeoff you'd have to consider. If you happen to be on a Mac as well, it can be installed quite easily with Homebrew. If you're on Windows, surely there's something out there you can download and install.
I wouldn't try brute-forcing it; that honestly would take forever. If it's not in the best dictionary you can find, you're probably better off finding some other way to get at the files that were archived. They might still exist somewhere in a folder on someone's PC, or in a backup, or on Dropbox or something. Depends on what the file is.
Anyway, good luck.
If you're at all familiar with -- or want to get to know -- the terminal.app, install homebrew. Aside from a plethora of *nix utilities and programs, you can install different/up to date versions of python, ruby, crystal, erlang & elixir... command line utilities like youtube-dl or alternative shells, like zsh.
If there are any apps available outside the Mac App store as well as IN the app store, get the ones from the respective publisher's website. There are restrictions that Apple places on apps available in the store (functionality-wise that is).
Short version (full explanation here):
>The main reason many apps aren’t available on the Mac App Store is the “sandboxing” requirement. As on Apple’s iOS, apps listed in the Mac App Store must run in a restricted sandbox environment. They have only a tiny little container they have access to, and they can’t communicate with other applications. They can’t access all the files on your computer — if they want to access a file, they have to pop open an Open dialog and you have to choose that specific file.
Why not just install homebrew and then brew cask install karabiner-elements, and then do the "Disable the built-in keyboard" step?
brew cask install karabiner-elements
Or, for people who don't have any other use for a package manager, just install straight from the dmg?
I'm not certain (I don't have a High Sierra system to double check), but I think High Sierra only comes with curl by default.
You can install wget pretty easily with Homebrew. Installing Homebrew is pretty easy, but if you get stuck, come back to this post and we can walk you through it.
Ok here we go!
How to set up Training Mode on a Mac!
You're gonna need brew installed for this. In case you don't know what brew is - it's a package manager for Mac. [link] has instructions on how to do this.
Once you have brew installed run the below command to install xdelta
brew install xdelta
Make sure you've extracted the training mode folder. This guide assumes it's in your Downloads folder, so if you're not sure put it there. I believe I used The Unarchiver, available on the Mac App Store, for this.
Now that we have all the tools we need, navigate to the Training Mode folder (assuming it's already been extracted from the .7z) in terminal. To do this use the command "cd" to change directories.
If you have the training mode folder in your Downloads folder simply type the following
cd ~/Downloads/Training\ Mode\ v1.01\ NTSC\ ISO\ Creator/
To verify that you're in the correct folder type "ls" (lowercase L).
It should look something like this
$ Training Mode v1.01 NTSC ISO Creator ls
Drag Melee v1.02 ISO Here.bat
PATCH FILE - Training Mode v1.0 NTSC.xdelta
Super Smash Bros. Melee (USA) (v1.02).iso
If you see the PATCH FILE and your ISO, you're good to go.
run the following command (note the 3... this took me a good 10 minutes of digging to find)
xdelta3 -d -f -s "Super Smash Bros. Melee (USA) (v1.02).iso" "PATCH FILE - Training Mode v1.0 NTSC.xdelta" "Training Mode v1.01 NTSC.iso"
alternatively (if you have things named differently)
xdelta3 -d -f -s "YOUR ISO" "PATCH FILE" "NAME OF NEW FILE"
This will place a new file called "Training Mode v1.01 NTSC.iso" in the Training Mode folder. At this point you're good to go! Load it up in Dolphin or throw it on your Wii in Nintendont (/games/GTME01/game.iso)
Not sure why you say that... I do serious dev and admin work on my MacBook Pro. Did you never install a different terminal? Or not use homebrew?
All of my servers are running Linux, of course, but I much prefer the prettiness of MacOS. To each their own, though. :)
FUSE with [NTFS-3G](ntfs-3g) if you want a free solution. I'd recommend using Homebrewto install them. Or, as others have recommended, Paragon. I've used both, and been happy with both. Paragon is significantly faster with write operations, tho.
Great Script! I can't wait for the movies support.
For anyone on a Mac who wants instructions here is how I got it running.
Install Homebrew from here: [link]
Download the main.py file from OP's GitHub to your desktop
Run the following commands, input your admin pw when prompted.
brew install python3
sudo pip3 install beautifulsoup4
sudo pip3 install plexapi
Not sure if you meant like actual Apple apps, but if this:
> Looking to get into some light coding and just having better/longer lasting setup.
is a top priority, I'd recommend learning about & installing Homebrew before anything.
It can save you a ton of headaches down the road, as you can install whatever packages you need without worrying about screwing up any system versions.
Perhaps Homebrew? You can use brew cask install to install most apps in the comments here. After that use brew bundle dump --global to create a file ~/.Brewfile that you can commit to, e.g., Git.
brew cask install
brew bundle dump --global
To be fair, mac OS has homebrew, which is alright at least to my taste. It isn't officially supported by Apple, which is lame but kind of logical given the course of company's actions.
Yes, indeed it is. I had the 13" MacBook Pro M1 and used VSCode with a nice Apache/PHP/MySQL install using Homebrew ( https://brew.sh ). I used DBeaver Community for database management.
The one thing you'll want to do is to launch your Terminal using Rosetta 2 (Command - I on Terminal in the Utilities folder in the Finder ) to get Intel builds of everything. I had zero problems with Brew.
I use past-tense because I've since upgraded to the 16" MacBook Pro M1 Max. Same setup still works wonders. The M1 MacBook Pro was supplied by my employer and I decided to return that and do my own thing.
Have you tried installing native (not running on Rosetta 2) homebrew?
cd /opt && mkdir homebrew && curl -L [link] | tar xz --strip 1 -C homebrew
and maybe install a few packages to see if it'll work?
Here's an easy script for Mac/Unix users to split using these much-appreciated CUE files!
Just need mp3splt installed via whatever method, most often ([link] on macOS
Put all 18 cue and mp3 files in the same folder, and run this command after you cd to that directory in Terminal:
for i in $(seq 18); do echo mp3splt -d CD$i/ -c $i.cue $i.mp3; done | bash
I don't use Macs, but it looks like you'll need [link] to get started.
The instructions in the repo;
> Install SFML and the SFML-headers (libsfml-dev or similar) as well as libusb-1.0.0 and the headers (libusb-1.0.0-dev). Then, simple do ./autogen.sh && ./configure && make .
could be expanded to
Homebrew is a command line application that will help you find and install things.
A feature/tip that will be very valuable here is 'tab completion'. If you hit the tab key while using the command line (terminal, prompt, w/e you want to call it) it will try to finish your thought. For example, the command to delete a file is rm, and it's followed by the name of the file you want to delete: rm fileWithALongNameThatIMadeForADeleteExample.txt [ENTER]. That's a lot of typing. We can take a shortcut; rm fileWith [TAB]. The prompt will complete the command, and if you like it, you can hit enter. If you hit tab again, it will cycle through the list of possible completions; fileWithALongNameThatIMadeForAnotherExample.txt? [TAB] fileWithAShortName.txt? [TAB] etc
The way this applies to your current situation is that you can tab complete hombrew's command; brew install libsfm [TAB], and you can cycle through and see your various options.
brew install libsfm
I hope this helps.
So first, my suggestion is to stop what you're doing, delete all the bowtie2 stuff you've installed, install homebrew on your mac, and then run brew install bowtie2. No point in doing all this stuff manually when homebrew exists and your bowtie program is available on it.
brew install bowtie2
for Mac the "standard" is to put the program dependencies in a directory within /usr/local, most people going with /usr/local/opt since that's the equivalent practice on linux and dumping the directories there to be organised. If you're using something like homebrew or macports, those package managers will do the same, creating a /usr/local/Homebrew or /usr/local/macports directory to store all the package dependencies.
Then just symlink the bowtie2 executable to /usr/local/bin
sudo mkdir opt
sudo chmod 0775 opt
sudo chown $(id -u):admin opt
mv bin/bowtie2 opt
ln -s opt/bowtie2/bowtie2 bin/bowtie
Now you can run the program with bowtie
You're making things more difficult for yourself by trying to be clever and creating your own distribution. Maybe you wouldn't have such a hard time getting programs to work if you used a stable distribution with a reliable package manager. I truly am curious as to what programs you have a hard time getting to work on Linux. The only software that comes to mind that can't be installed or replaced on Linux is the Adobe software.
I completely disagree with you in regards to macOS. Apple's operating system has everything than an Linux distribution such as Ubuntu has minus a built-in package management system (this can be fixed with a third party package manager such as homebrew).
No, it uses this tool to run a s.m.a.r.t. (self-monitoring analysis and reporting technology) check on the drive. The APIs are there to do this check, but there is no real way of executing this diagnostic check yourself without a third party tool.
Note: it requires Homebrew (a package manager) and Xcode tools to compile - neither of which are built-in apps.
If I'm reading this correctly, that shell command will find all WAV files in the folder that you run the Automator action on, then run lame on each file that it finds. I'm not at my Mac to test this, but the command
/usr/local/bin/lame -V 0 -q 0 "$1"
is a blind stab at what you might want instead.
Some debug steps that you can take in the Terminal: file /usr/local/bin/lame will tell you if lame is where that shell command is expecting it to be -- if it is, you'll see something about an executable, if not, you'll see something about the file not being found. You didn't mention Homebrew, but that command is likely expecting you to have installed lame with Homebrew (see their webpage for more) using the command, I'm guessing, brew install lame.
brew install lame
Typing cd /path/to/your/test/files will change directory into that folder (you can also type "cd" and a space, then drag the folder you want to go to into the Terminal and it will insert the path for you), then you can type /usr/local/bin/lame -V 0 -q 0 and then type a file name to see what that command does. The tab key can be used to autocomplete the path or the filename, which helps avoid typos.
/usr/local/bin/lame -V 0 -q 0
If that does what you want, you know the problem is in getting the Automator script to run the command properly. Again, I'm not at my Mac to try this, but you might be able to add another action after that to send the text output of that command to a file for you to read.
Ok profiles aren't exactly scripts, and while your bash profile should work for the most part in zsh I can't 100% for sure because you'd have to look at each profile script. zsh isn't "bash the next generation," it doesn't have perfect compatibility. If Apple is still providing their ancient version of bash and your scripts are properly shebang'ed then you shouldn't have an issue, they should still run just fine.
I wonder how diligent Apple will be about keeping the system version of zsh up to date. While I like Apple and OS X, I'm glad I can use homebrew on my system and keep packages up to date on my own.
Brew is Homebrew, a package manager for Mac:
Virtualenv let's you set up an isolated Python container to help with project dependancies:
I too have discovered differences in Linux and Mac BASH implementations.For example sometimes MacOS BASH will require a flag where a Linux box won't. My 2cents if using a mac? https://brew.sh/ Homebrew is a package manager for mac, you can install UNIX/Linux tools like awk grep and sed that act exactly like UNIX/Linux distros implementation. Use those and you won't run into problems.
Ooh, that's an interesting idea! I do love brew on OS X, I didn't know you can self-host repositories for chocolatey. Right now we have a script reach out to a list of servers and pull new installers into our PDQ fileshare.
Developer here. Yes. Just about any UNIX (these days that just means Linux) app should compile on OSX so long as it isn't super-platform-specific.
But first you'll need the full unix toolset for building.
Take a look at Brew or MacPorts (install one of them but not both!).
I looked at the actual package you linked. Once you get python3 and pip installed you should be able to follow the Linux instructions just fine and it should install as if it were on a Linux system.
A lot of the tools will work on a mac just fine, but you will have to find them and set them up depending on what you are trying to do. Kali is nice because the tools are all installed and setup for you. If you don't want to go the VM route, I would recommend you start with setting up homebrew it will have a lot of the common pen testing packages.
Building it yourself is not hard at all on OS X... literally:
1) Open terminal
2) Install brew (this is all done by the brew installer, [link])
3) Install aeon:
Add the repository: brew tap sammy007/cryptonight
Build wallet: brew install --HEAD aeon
+1 to this, you can do all of your programming SSH'd into the ieng6.ucsd.edu servers anyways, so the OS of your actual machine doesn't really matter
For side projects, you might find Mac OS X convenient because you can have a pretty legitimate Unix environment (I installed the GNU versions of the core utilities via Homebrew because there are some minor differences between some tools as they're packaged in Mac OS X), but you can always get a Windows machine and just dual-boot your favorite Linux distro, so that doesn't really matter much either
TL;DR: Get whichever you personally prefer (either will work just fine)
No official binaries, but ImageMagick recommend installing it through MacPorts and it's also available via Homebrew. If you're using your Mac for development, you'll almost certainly have one of those two package managers installed.
Why do you need XCode?
I'd go with
Which will install the "developer" tools you need (git, llvm, etc) without the XCode IDE
Another thing I'd do is use nvm instead of installing the node package, that way you can easily switch versions (like you'd do for Python with virtualenv or for Ruby with rvm) and install "global" dependencies without sudo.
If you're a happy linux user, you should be aware that some(/most) tools that come with mac os like bash, vim or emacs are a bit outdated and you might probably will want to use homebrew
I managed to get a file hardsubbed with ffmpeg.
Now, I did this with the Terminal, so hopefully you have some experience with it. Here's what I did:
$ cd "(path to directory with .ass and the raw here)"
# Install Homebrew ([link])
$ ruby -e "$(curl -fsSL [link]"
# Install ffmpeg
$ brew install ffmpeg --with-libass --with-fontconfig --with-freetype
# Install fontconfig -- This may not be necessary??
brew install fontconfig
# Set fontconfig path so ffmpeg can find fonts.conf
echo "export FONTCONFIG_PATH=/opt/X11/lib/X11/fontconfig" >> ~/.bash_profile
# Close and reopen Terminal to let the last command take effect
$ ffmpeg -i "(raw file)" -vf "ass=(subtitle file)" "(output file)"
$ ffmpeg -i "Detective Batsu [RAW].mp4" -vf ass=batsu_subtitles.ass "Detective Batsu [HARDSUB].mp4"
If you find this message:
> Fontconfig error: Cannot load default config file
in the conversion output, please tell me.
Here's some things you should know:
brew upgrade [appname]
brew install [appname]
brew uninstall [appname]
brew search [appname]
brew info [appname]
You can use the developer's site to download most Applications. Even many that are in the App Store. This is similar to Windows.
If you're a command line person, you can also get most applications through HomeBrew ([link]) Casks. This is actually how I have installed most of my GUI apps. You can use it to install apps like Google-Chrome, Microsoft-Edge, or various CLI packages. It is even scriptable so you can rebuild your environment after a reinstall or on a new system.
Easiest way would be to 1) install Homebrew ([link]) then 2) brew install irssi
brew install irssi
Once you have it installed you can check out the irssi quick start guide: [link]
For this I use asdf installed with brew:
brew install asdf
On the .bashrc/.zshrc use this config:
. $(brew --prefix asdf)/asdf.sh
. $(brew --prefix asdf)/etc/bash\_completion.d/asdf.bash
This will add the paths for .NET on command line.
But you need to install. That can be done with:
asdf plugin-add dotnet-core https://github.com/emersonsoares/asdf-dotnet-core.git
asdf install dotnet-core 5.0.202
asdf global dotnet-core 5.0.202
If necessary to setup a IDE you can find the .NET sdk on the ~/.asdf/installs/dotnet-core directory.
It’s a package manager for Mac that let’s you install software via the Terminal, software that typically isn’t available on the App Store. You can install python, maven, or in this case the screen saver.
Very easy to set it up!
I'm pretty new at all this too. I just know the basics. I first installed Homebrew to make everything a bit easier. To install, open terminal and run the command
/usr/bin/ruby -e "$(curl -fsSL [link]"
You can see on their website what it offers; it's not necessary, though.
But, if you have brew installed, you should just be able to type in brew install youtube-dland it will download youtube-dl. Now, grab the youtube URL you want to download and type in youtube-dl https://www.youtube.com/watch?v=dQw4w9WgXcQ.
brew install youtube-dl
If you type in the command pwd then terminal will tell you which directory you're currently in. If you want the video to save somewhere else, you need to change directories. For example, if I want to save to my documents folder for the user "Pangolin007", I have to type in cd /Users/Pangolin007/documents before running the youtube-dl command (cd = change directories).
I think it can download videos from some other websites, too, but I'm not sure which ones.
Hope this helps.
Edit: this is for macOS
Surprised to not see this, but open terminal and use Homebrew (follow their guide here on their page).
It's a fantastic package manager, and has a ton of free tools you can use as a developer.
Uninstall python. Get to the point that when you type python --version you get some 2.7 version. It might also be that when you type python3 --version you get some python3 version. What the actual versions are is not important.
Now go install brew. Once brew is installed and running, use brew to install pyenv
brew install pyenv
Then edit your .bash_profile to add this
eval "$(pyenv init -)"
Restart your terminal and then do this
If pyenv is working you'll get a version number. Great. Now do this
pyenv install 3.7.0
pyenv install 2.7.15
pyenv global 2.7.15 3.7.0
Those should reflect the versions you just installed. You can also do this
You should see the versions you installed with asterisks next to them. Now do this
pip install --update pip setuptools pipenv
pip3 install --update pip setuptools wheel pipenv
NOTE: NO SUDO! This updates pip, setuptools, and wheel if required and installs pipenv which you can use to create virtual environments. And now you're up and running. To start a new project do something like this
mkdir -p dev/my-python-computer-vision-app && cd $_
pipenv install tensorflow keras opencv-python
And you'd be up and running with a python virtualenv chock full of libraries to get you started. Happy to answer questions as they arise.
You don't need Linux to do that. If you're using a Mac, get Homebrew and the Cask extension. Then you can install apps by opening up Terminal and typing:
brew cask install spotify
(Not sure about an equivalent for Windows because I hardly use that OS)
I stick to the built in stuff. It works for me.
I recently mad the switch from VLC to INNA on my Mac (short for Macintosh, not an acronym). I love it.
Other apps to install? Depends entirely on what you want to do but I find Pixelmator to be indispensable for image editing (and much less expensive than Photoshop).
Tunnelblick for VPN.
Geektool for putting useful stuff on my background.
Homebrew if you come from a Linux/Unix background.
Google Drive or Resilio sync for keeping various machines sync'd.
Rocket for typing emoji.
Sublime Text as a general purpose IDE.
I see. I guess it's behind because no one uses that, so the maintainer doesn't maintain it well.
Most people just use the one that comes with the XCode installer on Mac (with the compiler). And virtually everyone who doesn't use that one uses the one in homebrew (brew).
I just use the one that comes with the XCode installer. But if you want the latest you should use the one in homebrew.
Install that. And then install git with "brew install git".
It updates very frequently, you get updates with "brew update".
If you have a mac, you can run this with in the "Terminal" application by installing homebrew then
brew install md5sha1sum
date -u +%F| sha1sum | head -c8; echo
There's also an ubuntu shell available on Windows 10 but I don't have experience with that.
Have you tried Brew ? It's like the Apt-get package manager for linux but for mac. https://brew.sh I really recommend using it. It's easy to use, install and update. You can even switch Nodejs versions in case you need.
And there's a lot of stuff you can install from them.
Like everyone said, the built-in Terminal app is adequate for SSH and other basic/intermediate tasks.
iTerm2 is awesome for a lot of customization and for more color rendering support.
And Homebrew makes the Mac experience that much better
I switched from Windows 10 to MacOS back in November 2020. Originally, I figured I would just switch between the two devices as needed. However, I haven't actually logged into my Windows Machine in a long time. Only to get it through some patch updates. Otherwise, it just runs on my desk as an Emby media server these days.
The MacOS isn't as closed as many want you to think. You have a Unix-like command line with package managers, compilers, and other tools to build applications, scripts, control the OS, etc. Plus you can download Apps from any location. You're not restricted to the App store. Most of the Apps I use aren't even on the Mac App Store. I only have four apps installed from MAS. The rest have been installed through Homebrew ([link]) even GUI apps.
> macOS has a UNIX-like kernel from what I have heard
Yeah, BSD if memory serves.
Be aware the you will NOT have a full command line experience like you are used to on Ubuntu and it's ilk. You'll have zsh (bash descendent) but there's a lot missing so be prepared to rebuild most of that. The terminal is a mess. First two things to install are iterm which is a really nice terminal (I mean really nice - better than anything on Linux) and brew which is your apt-get (inferior) stand in.
Didn't answer your question, but when you make the leap, this will save you a lot of frustration.
First install homebrew for Mac. [link] It take some time to install. After that type "brew install neofetch" without quotes and again it takes time to install be patient. After it is done type neofetch in terminal.
Brew is a must have in my opinion, as it will allow you to install and maintain software outside of the apple store very easily. I'd also recommend iTerm2 which you can install with brew.
OP, here are some instructions to build the app bundle, which is what you can safely move to your Applications folder. Someone should probably open a PR or issue in github to enhance the macOS instructions.
Make sure you download the source code of the <code>release</code> branch, or any tagged commit. The master branch contains a few backward-compatibility breaking changes that will be released as "CE 1.10" in the future, but not yet. The release branch is what usually becomes the next planned release. If you are familiar with git, you can also clone the repository, but make sure you checkout the release branch afterward: git checkout release
git checkout release
Install Homebrew, then SDL and dylibbundler: brew install sdl2 sdl2_images dylibbundler
brew install sdl2 sdl2_images dylibbundler
Run these commands to build the app bundle: cd BrogueCE && make clean && make MAC_APP=YES Brogue.app
cd BrogueCE && make clean && make MAC_APP=YES Brogue.app
If you want to package the libraries with the bundle so that it can run on another machine without installing SDL first, there is an extra step: cd Brogue.app/Contents && dylibbundler -cd -b -x MacOS/brogue
cd Brogue.app/Contents && dylibbundler -cd -b -x MacOS/brogue
Run Brogue.app to start the game. You can move it to Applications too.
It really isn't, trust me. As build instructions go, those are pretty complete and well-written - a huge step up from the whole "type make, google missing dependency, rinse, repeat" hell that is compiling many roguelikes. The really fun ones are those where you have to edit the makefile, because modern compilers now throw errors for crappy coding practices that only caused a warning in 2009.
You'll likely have to install Homebrew, but that's a one-line command on the top of their website.
I know it can seem intimidating to have to compile a game from source, but if the developer has done their job right (and in IA's case, they have), it's pretty painless.
Homebrew has some support for it: https://brew.sh/2020/12/01/homebrew-2.6.0/
But I think it's still not 100%. Getting dev tools -- docker, homebrew, node, asdf -- running on M1 probably not going to be straight-forward.
Well, you'd need to install Homebrew (a package manager) before you can use it to install other packages like npm. So, step 1: install brew. Step 2: use brew to install node/npm.
You could do something like this:
Match: ^\[(.*?)] (.*)$
And replace with: $2 ($1)
If you want to rename files you can install "rename" command line utility. (You can install it with home-brew)
You can use regex101.com if you just want a quick way to do regex on text.
Hope that helps you futher.
Thanks for awesome and accurate CUE files!
Here's what I did to split them without further loss (so they stay 192kbit MP3s, but physically split into separate files)
These are macOS instructions, but the idea is the same for Linux etc:
Make sure you have [link] installed
Open the Terminal and install mp3splt:
brew install mp3splt
Download all the .cue files from this wonderful post and put them into the same folder as the original MP3 files, there should be 18 MP3 files and 18 CUE files.
Navigate to the folder with the MP3s and CUEs within Terminal
Copy/paste this script into that Terminal window to split and tag the files according to the provided CUEs, and put each disc into an individual folder:
> Mac/Windows users, sorry
macOS ships with Ruby installed.
Homebrew, “the missing package manager for macOS” makes use of the Ruby binary that ships with macOS for the install process. [link]
If you want to make your life easy... Yes run it in docker on in MacOS.
You can alternatively follow the linux install info. You will not be able to make it a service unless you create the plist and do the appropriate changes.
Lastly you will need python 3.6+. I suggest installing via Homebrew. [link]
not a lot of work at all. this is the official site [link], after copying and pasting the line under install homebrew you can just type :
brew cask install bitwarden
for any other commands their documentation is pretty good, and if you google theres ton's of answers on stackoverflow and tutorials people made from their own experience you'll see
The comments in the script itself should be sufficient
># macOS Instructions:
Using homebrew (if you have unix experience) you should be able to install easily a cloud solution on your mini.
I recommend Seafile if you have the skills (I run a seafile server on my mini 2012 and a radicale instance for calendars/contacts). (faster and better than NextCloud for filesync)
If not, NextCloud.
Mac player here, maybe this will help:
I use iTerm2 in 256 colour mode. I also use base16 for colour schemes (for vim and my terminal) and I quite like the base16-solarized-dark colour scheme for work and NetHack.
I play NetHack 3.6.1 installed via Homebrew or via telnet to nethack.alt.org
I can't help with your numpad problem, I've always just played with the Vi keys (yuhjklbn) and I promise it doesn't take very long to get used to...
> I'm a Frontend web developer
Homebrew will definitely be your friend. It installs in the system by default but I have really liked having it installed locally in my home directory.
Bash-it if you like using bash for your shell.
oh-my-zsh if you like zsh
I was able to get this going, here are the instructions:
Well, as you probably know, a lot of the tools you will need to install depend on what language you intend to program in.
If you are just starting, looking up some 'Getting Started' tutorial for the language you want will most likely show you what you need to install.
Also, how complex/type of program or application you intend to code up. If you intend to just start out with simple programs, you don't need to download any frameworks or anything, just the simple interpreter or compiler.
You technically don't need git to program. Version control software is indeed very important when programming in a team for organizational and backup related purposes, but not needed when starting out.
I personally use Iterm2 for my terminal.
Definitely checkout Homebrew. It's a package manager that makes it incredibly easy to install the majority of tools you will ever need (as well as update or delete them if you need to).
If you download homebrew, installing python onto your machine is pretty much the command 'brew install python', bam, you got python on your machine.
Perhaps, check out an IDE for Python as well. I heard PyCharm is not too bad.
I mainly program Java at the moment, so I can't speak on the latest and greatest Python tools themselves. If you want to dabble with a small framework, check out Flask to start out.
is where a bunch of command apps end up, and a good place to put things you yourself have created.
Homebrew is a package manager for OSX and lets you easily install, remove and get information about what it has installed.
I'm not going to upload ripped youtube stuff for you, but will show you one way to do it yourself if you have a mac.
Note: If you can't use the terminal, you can replace steps 1-4 with any of the myriad youtube download sites, but I have no idea which one works and will download in m4a format.
Open Terminal.app and navigate to the desktop folder by typing:
Install Homebrew. Do it by pasting this in the terminal:
Type this to install the youtube-dl and ffmpeg packages:
brew install youtube-dl ffmpeg
Type this to download your youtube link to a .m4a audio file:
youtube-dl [link] -x --audio-format m4a
You now have a .m4a audio file on your desktop. Rename it to .m4r and use iTunes to sync it over to your iPhone.
You have to install pip.
I highly suggest installing homebrew so that you don't muck up your system python
brew install python3
pip3 install -r requirements.txt
Best way to install most things via terminal is with homebrew. Install python3 with the command: ‘brew install python3’ which will not confuse system install of python as its named python3. Then you execute python3 code with ‘python3 path/to/file’.
You can use either python.
Man that’s a lot of python3’s.
I can't speak to the best way, but here are two examples of different options.
ghub uses ~/.authinfo.gpg, which you can read about here.
homebrew uses an environmental variable HOMEBREW_GITHUB_API_TOKEN
Install android studio (I like to have stable and beta installed side by side)
Use zsh and the git plugin - [link]
Install a screen dimmer like f.lux (i think osx has a default one now)
Use homebrew ([link]) for all your package manager needs
> is it possible/ worth it to buy a mac and install Ubuntu on it?
Yes, but you'll never be happy with the touchpad without macOS. Aside from the various desktop environments, most of the GNU and OSS stuff is available through Homebrew. I have a Late 2013 Retina 13" with 8GB and 256GB. If I was going to replace it with your funds, I'd look for a 2015 Retina with fully-loaded specs. I'm spoiled by the touchpad and the display. I find linux to be much more tolerable in a VM on Mac. At least then I can count on the touchpad doing what I expect.
well, for starters, Homebrew is a repository of software (aka package manager). there's a ton of stuff that you can get from Homebrew.
I'm sure there's some piece of software that can monitor your network, but UNIX comes built-in with things like netstat and tcpdump.
you can take a look at Homebrew at its site here: [link]
Not natively, but you can add additional support to Quick Look by installing optional packages through Homebrew.
Once you have Homebrew installed, I recommend just installing this whole batch of QL packages:
brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency qlvideo webpquicklook
Note: None of these packages are mine and I recommend you do your own research on installing randomly recommended packages from someone online, but every package I mentioned above is a common/popular/tested package. Still, install at your own risk.
Search the sub has been answered several times and on those answers there are nice discussions on the topic.
I've used Macs for little more than 20 years... if you want automation the shell is the best bet, if you are proficient with any scripting language (Python, Ruby, Lua, PHP, etc...) just brew it. In fact before even considering changing a setting, install homebrew.
If you want UI interactions, use the Automator is very reliable. And there's of course all the options discussed in the previews answers for this same question.
Brew is a good starting place. It is a package manager like apt. Then you can instal GNU coreutils, make, etc. Many utilities that come with macOS are from 2004 or even older due to licensing. If you want to use bash, install the GNU version, append /usr/local/bin/bash to
sudo nano /etc/shells
then change the default shell: chsh -s /usr/local/bin/bash
Thanks. I am using Homebrew to keep packages updated on Mac
For Linux, I prefer the method as specified in documentation as it updates autocomplete file.
If you haven't yet, you should look into Homebrew ([link]) or Macports ([link]). These are command line package managers. They can manage and update your tools for you. You can even automate them with shell scripts. I use Homebrew myself as it seems to be more active today. However Macports has more historical packages.
Homebrew allows me to install almost everything I need to deal with languages outside of xcode. My system revolves around these packages but I spend a lot of time in iTerm2. I even have a shell script that will reinstall everything including most of the GUI apps that I use. Nice if a restore is needed.
I do light code editing and write a lot of markdown so I use Visual Studio Code for that. I tried VSCodium and it is functionally the same but got cut off from the Extension repository so I went back to VS Code. There are a lot of IDEs available though. Some like VS Code start out as text editors with light project management but you can build on that with extensions. Others like the software from Jetbrains are full IDE environments out of the box. Of course, if you really want to then you can use VIM, Nano, and Emacs.
So you'd have to download a package manager, (think app store for command line apps)
Open terminal (spotlight search)
brew install rclone
rclone copy /Users/(yourUsernameWithoutParenthesis) /Volumes/NameOfExternalDrive/username -P -L
This will copy everything in your home directory to the external drive into a folder named username
If you want to copy the entire hard drive use
rclone copy / /Volumes/externalDriveName -P -L
Given the problematic nature of Apple's T2 chip (in the sense that you can't get Linux to work) the next best thing you can do:
Go along with Apple MacOS... and make it more Linux-like? e.g. you can install brew .
That way you'd be getting a packet manager again that can install or remove programs for you.
So instead of typing e.g. sudo apt install foo (like in Debian or Ubuntu) you can use brew install foo
sudo apt install foo
brew install foo
As a Linuxer myself who had to use MacOS for work in the past I found MacOS much much more usable and enjoyable once I got brew onto my MacBook Pro and was able to get all the Linux tools back I was used to (e.g. gvim, tmux, ansible, X2go, and so many others ...).
If you do it right then MacOS won't feel much different from e.g. a (very customized) GNOME desktop, and thanks to all the GNU utilities brew can install for you, working on a MacOS terminal won't feel different at all from working on a Linux one.
Talking of terminals: Make sure you get iTerm ... it's like terminator, e.g. it lets you split terminals horizontally or vertically, ... if you work a lot in Terminal Land then iTerm is a must-have. Just let brew fetch it for you.
From a Linuxers perspective, I find being stuck with MacOS a lot less annoying than being stuck with e.g. Windows 10. At least on MacOS you can do quite a considerable amount of Linuxification and many programs and apps us Linuxers are used to exist as native MacOS versions too. It's just a matter of getting brew installed and have it fetch all those apps for us.
Do you specifically want the gnu compiler collection (gcc)?
If you're on windows, checkout the MinGW project. If you're on a linux variant, install gcc from your package manager. If you're on a mac, you can either install the xcode toolchain (not sure what compiler they use under the hood.. iirc it used to be gcc, but may be clang these days), or use Homebrew to install gcc.
Start off by installing brew and python3 (brew install python3). This is not required, but it should guarantee everything else works right.
Then you open a terminal, navigate to the desired folder with the cd command and run python3 /path/to/script/matterport-dl.py "https://my.matterport.com/show/?m=YourModel".
python3 /path/to/script/matterport-dl.py "https://my.matterport.com/show/?m=YourModel"
Once it is downloaded, you should be able to cd into the newly created folder and run python3 -m http.server to run a webserver.
python3 -m http.server
Yup. It is just the odd thing here or there with, usually, subtle differences. Most of the time you can use linux guides but every now and then you can get caught out.
Also, particularly in more recently versions of macOS, many folders are less easy to update thanks to additional security controls from Apple. There are usually convoluted ways, legitimate, to work around the restrictions.
Another major difference between macOS and most Linux distributions is the lack of a package manager. There are a few 3rd party options, but the most popular of all is Homebrew which is well worth investigating.
(Windows has a similar package manager limitation, although Microsoft have begun to address this, but Chocolatey is well established and very useful for automated builds of Windows stacks.)
Probably the best is to spam literally everywhere: Reddit, IRC, Gitter, Usenet, Telegram, etc. Also, adding the project to Homebrew: https://brew.sh/ could help a lot. Plus create a mirror on GitHub and GitLab. Good advertisement takes a lot of work. :)
Excellent stuff - I've been using your script for a while now to get a native-comp build, running every week or 2 to get the latest - but it does take a while, especially with AOT, which avoids a lot of the CPU usage later.
Thanks for doing this and even better will be when you add it to brew.sh as in issue #6 :)
In future version apple has indicated there will not be Python installed by default. If you are fighting a lot with compilers and co I would suggest to try to use conda to have a environment that is completely separated from your system. ([link]).
As a side note, linux is also often affected by system Python being locked down, like mac but in a less braindead way.
For nano and co, look also into homebrew. ([link])
Not certain, but would this do what you need? Install using homebrew , then do shell script "SwitchAudioSource -t output -s [airplay device name]".
do shell script "SwitchAudioSource -t output -s [airplay device name]"