SilverWolf
  • Member for 4 years, 5 months
  • Last seen more than a month ago
Is there a way to make pasting into Terminal safe?
11 votes

Use bracketed paste. Bracketed paste is a feature where the terminal tells the shell that you pasted something instead of just typing it, so the shell can not run the command until you press Enter. ...

View answer
How to allow the Files app to save to "On My iPhone" (or to "On My iPad") in iOS 11
Accepted answer
8 votes

According to the iPhone User Guide, this requires a third-party app with Files integration support. If you don't want to install one, it's actually quite easy to make one yourself. Install Xcode if ...

View answer
Is there a way to configure password auto-generation in Safari?
Accepted answer
7 votes

I'm not aware of any way to do this in Safari, but you can always generate new passwords in System Preferences instead: Open Users and Groups preferences. Go as if to change your password. Click the ...

View answer
How do I change the login screen background in macOS Mojave?
6 votes

Expanding on Leonard's answer: You can do this by replacing the Mojave.heic default desktop background. This does not require disabling SIP, as it's in /Library. Back up /Library/Desktop Pictures/...

View answer
How can I download apps from the App Store without using Touch ID?
4 votes

Go to the Settings app, then to Touch ID & Passcode. Enter your passcode, then turn off Touch ID for everything.

View answer
Does uninstalling and installing a MacOS App Store App do anything?
Accepted answer
4 votes

It should be. It won't delete any of your documents, but you might want to back up these locations, if they exist: ~/Library/Preferences/com.whatever.appname.plist ~/Library/Application Support/...

View answer
May I delete cache and application support for Xcode? I'm using App cleaner
4 votes

Cache: Sure. Haven't noticed anything bad. (You can do this yourself, as well – just trash everything in ~/Library/Caches.) Application Support: Do not do this without knowing what's in there! Apps ...

View answer
Where are force click preferences stored?
3 votes

All your settings are stored in something called the defaults system, which at its core is a bunch of .plist files in your Library folder: ~/Library/Preferences/whatever.plist. You can actually ...

View answer
Color code for vi on terminal on Mac?
3 votes

Use :syn on to turn on syntax highlighting. Put this in your ~/.vimrc file to use it every time. (Vim should detect your terminal type automatically, no need to worry about that.) To customize the ...

View answer
Is there a keyboard shortcut for inserting MathType equations in Pages?
2 votes

Update for 2019: The newer versions of Pages actually recently added equation support! Just go to Insert > Equation... or hit ⌥⌘E. It uses LaTeX or MathML, but if you want to use MathType there's ...

View answer
.mht files showing exec icon on Mac
Accepted answer
2 votes

In the comments, you indicated that the problem files were on an external drive. Is it formatted as FAT (or NTFS)? These filesystems have no concept of executable files, so the system seems to assume ...

View answer
How to prevent the Photos app from launching cloudphotosd, photoanalysisd, etc?
2 votes

Try running chmod -x on the binaries. This will prevent them from launching at all until you make them executable again. I don't know how SIP will affect this, since you're modifying built-in ...

View answer
How to make Time Machine Only Backup Emails?
2 votes

The basics First of all, I would highly suggest backing up your entire Mac with Time Machine. (It'll include all your emails that aren't on the server.) After the first backup it only saves what ...

View answer
Hammerspoon get working directory from finder
2 votes

Here's some AppleScript for you: tell application "Finder" to get POSIX path of (insertion location as string) If you don't want to get the Desktop if a Finder window isn't active, use this instead: ...

View answer
How can I undo/redo in iOS Notes.app w/o shaking my iPhone?
2 votes

This is a slightly clumsy solution, but you can use AssistiveTouch. It's in Settings > General > Accessibility. It gives you a menu that includes things like Gestures (2+ finger gestures with only ...

View answer
How I disable or remove a global shortcut (Shift+Cmd+C)?
2 votes

As far as I know, ⇧⌘C is not a system-wide global shortcut, so it sounds like something Visual Studio is doing. It probably has a way to disable it within the application, but if not, you can try to ...

View answer
How do I add a folder to the Library using a UNIX command?
2 votes

It sure is! mkdir '/Users/username/Library/Application Support/Google/whatever' Replace 'username' and 'whatever' appropriately, of course. Also, note that if anything in the path contains single ...

View answer
Is there a way to auto-complete the open command in Terminal?
1 votes

This comes enabled by default with the Zsh shell, as long as you have completion itself enabled, of course. Zsh is included in OS X. All you have to do is put autoload -Uz compinit; compinit in your ~...

View answer
What programs actually use the memory on a Graphics card?
1 votes

3D games do. In fact, they often use lots of it, which is why you see cards with many gigabytes of memory these days.

View answer
Is there a window tiling app that snaps to other windows' edges rather than predefined screen areas?
Accepted answer
1 votes

Update in 2018: Rejoice, this is now an OS feature! Try dragging your window slowly against another one, you'll encounter some resistance. You can use this to line them up quite easily. I can't ...

View answer
How to tile floating windows
1 votes

First off, this assumes you're talking about panels (e.g. Preview's Info window), the kind that sometimes hide when you switch to a different app. Also, do you want to tile all your windows, or only ...

View answer
Managing macOS application windows like Ubuntu Unity
1 votes

I'll take your points in order: You can assign entire applications to desktops, but I don't know of any tool that can assign specific windows to desktops, at least out of the box. Maybe you could ...

View answer
How to specify a startup folder in the open command to launch MacVim?
Accepted answer
1 votes

Since you're using MacVim, and it doesn't seem to be a problem with the open command: MacVim comes with its own script called mvim. You can use it just like gvim to open files in the MacVim GUI, or ...

View answer
Login Screen Background 'squeezed'
1 votes

It's probably a result of the background image not being the same size as your display. I didn't know why we were supposed to scale the image to match exactly, but that looks like the reason. Try ...

View answer
Transfer photos without backing up the iPhone
1 votes

Try AirDrop. It's a very simple way to transfer any kind of files (not just photos) between devices. Just select the pictures, right-click them, select Share > AirDrop, and pick your iPhone. Make ...

View answer
"Open folder in new window" for Finder?
1 votes

Right-click on the folder, hold ⌥ (Option), and select "Open in New Window". If you'd prefer this to be the default (and hold Option for a new tab instead), you can change it in Finder preferences.

View answer
Create a table from other table depending on a value NUMBERS
1 votes

I don't know how to remove empty rows from the second table, but I can make only the ones with YES show up. Making it happen First, select the first cell of your second table ("carrot", the headers ...

View answer
Prevent OS X from powering off, via CLI
1 votes

How about actually using a GUI app to make an unsaved document? osascript -e ' tell application "TextEdit" activate set d to (make document) set text of d to "Your script ...

View answer
Upgrading to MacOS from 10.6.8 MacBook Pro
1 votes

Are you using a 32-bit machine? Unfortunately, 32-bit systems cannot run any OS after Snow Leopard (10.6). You have a few options: Keep using Snow Leopard (be extremely careful about security, as I ...

View answer
Sleepless Mac although disabled PowerNap
1 votes

Perhaps something else on your network is pinging it, causing it to wake up. Does turning off "Wake for Wi-Fi network access" in Energy Saver preferences help (if it was on already)?

View answer