Tag Info

Hot answers tagged

19

Depending on your system setup and your command you probably lost only some files - including one essential - and folders and some sym-links. Using the command rm * - executed by an admin in the root folder - usually deletes the sym-link /etc only: Boot to single user mode, check your file system with /sbin/fsck -fy, and mount root read/writable with ...


7

Try this hint from Apple Support. There are distinct differences between Yosemite and all earlier OS X versions. I'll copy/paste the Yosemite commands here so as not to offend the 'no solitary links in answers' demigods. Quoth Apple Support: Hide a user account in OS X Yosemite You can prevent a user account from appearing in the login window in OS X ...


4

It sounds like you are in rich text mode, so the editor is trying to save the file in non-plain text format. In general for css/html/code you want just plain text. In the "Format" menu, choose "Make Plain Text" then when you do a "Save As..." you should be able to just type whatever extension you need. EDIT -- As Tetsujin mentions, you do should uncheck ...


4

It is a server used for push notifications for iOS and OS X. If you block it, you may not receive push notifications.


3

You shouldn't take a tag description on a web site not affiliated with Apple as a feature description. See http://support.apple.com/en-us/HT204100 for how Apple defines Mission Control (emphasis mine): Mission Control is the quick way to see everything that's currently open on your Mac. To use Mission Control, do one of the following: Swipe up ...


3

The question itself isn't exact too, because the OP talks about: files names like ABC 123456 (without extension), but in the example code using *.txt extension add a dash between two blocks (e.g. where is the space) like ABC - 123456, but in the next taking about counting to 4 and count 3, e.g. not exacltly clear what the script should do for example if ...


2

It's your $PS1 - it's not properly escaped. You have to escape all non-printing characters with \[ and \]. For example, if you have export PS1='\e[32m\u \W\e[0m $ ' you have to change it to export PS1='\[\e[32m\]\u \W\[\e[0m\] $ ' or your cursor will appear far to the right because your shell thinks your prompt is that long, and when it retypes the ...


2

What you are seeing are QuickLook preview thumbnails: if you look closely at your screenshot, you will notice each “icon” shows the start of the file’s content. You are correct this is due to you installing TextMate 2, which provides a powerful QuickLook extension for source code files (try selecting one of the files in Finder and hitting space). The ...


2

Essentially you have to make your server accessible behind a router with a frequently changing IP-adress with a fixed fqdn for the router and forward all http/https requests from the WAN to the OS X VM in the LAN. Set up dynamic DNS: Get an arbitrary name from a dynamic DNS service provider (like Dyn (not free) or NO-IP (free)) or depending on your ...


2

Seems that pushbullet is the culprit (thanks @mysz). Specifically the chrome extension for pushbullet, uncheck universal copy and paste by visiting the extension's setting page. Do a restart and the problem should be fixed


2

I also ended up looking for good solutions. Thunderbolt 2 supports 20 Gb/s. So it could provide enough reserves for a real usb 3 hub where every port could finally run 5 Gb/s = 640 MB/s. As a single SSD already exceeds the speed of a USB 3 connection, we should not put them through a USB 3 Hub bottleneck to not enforce slowing the transfer rates down. ...


2

I have a different experience from what CousinCocaine reports in their answer. Using Preview Version 7.0 (826.4) on a PNG bitmap, it seems to depend on the zoomed image size rather than on whether the zoom level is a nice number. Specifically, it anti-aliases the zoomed image if the zoomed image would occupy more than 64 megabytes (2^26 bytes), using 3 ...


2

Make sure You have the right output set in Preferences -> Sound -> Sound Effects


2

Easier still: just compose a new message to the person with whom you deleted the conversation, and as you hit enter to auto-complete the name, "poof!", the whole conversation reappears. You don't need to send them any message.


2

Google's Chrome browser includes a built-in flash plugin. I uninstalled Flash on my system too but I use Chrome for loading up sites which require flash. Another tack you might try is to install Click to Plugin. I was going to recommend Click to Flash, but apparently that isn't under development anymore and the developer recommends Click to Plugin.


2

You are misunderstanding the way (Mac)Vim processes its configuration. Simplifying slightly, there are three layers to it on OS X: the vimrc and gvirmc files in $VIMRUNTIME are the runtime defaults for the Vim install. For MacVim, this is set to point inside the application bundle – the files you found. These will be overwritten each time you update ...


2

Multiple cursors isn't a feature supported by Mac OS X by default. Some apps have it and if you want it in the rest of the system you will need too find an third part plugin. I think it would be hard to make that work even with a plugin. But if you haven't already I would recommend giving Google a try in finding one. Here is a link to an similar discussion ...


2

As noted in my comment from earlier, you can make an alias of the alias and it will acquire the icon from the original source... for some reason. The following example is with folders... so it's not the exact situation in the question, but I think it illustrates the point:


2

The default permission on .Trashes do not allow for reading. Use sudo du -ch .Trashes as this will give you both the total and in "Human-readable" output vs. used sectors which you'd then have to convert. Also you should not delete .Trashes, just empty your Trash. If you want to take a graphical look at the contents of the disk use Disk Inventory X, you ...


2

According to the Mailbox website: On the desktop, contacts are currently populated from emails that are synced with Mailbox. We don't have a way to import your contacts from your email accounts at this time. We're planning multiple contact improvements down the road, including full contact integration in the future. On a side note, you know about ...


2

In order to compile multiple separate files (separate binaries as a result) You would need to create separate targets for every file. To add new target please choose: File -> New -> Target.., select for example Command Line Tool. Make sure it's properly added to Your project. Here's example: My main.cpp is added to target multiple_targets like this: My ...


2

The recommendation system of stackexchange really helps, I got this when I asked the question. It turns out the little blue point shows I haven't opened the app since the app's last update.


2

If your file names are "ABC 123456" with single space between the first 3 and the following, then you are trying to replace the space with a character (or dash or something), so to look like ABC-123456. I found this article that explains how to do that. Example: Note that the following command will only replace spaces with hyphens. If you need a different ...


1

That's good that you're approaching things cautiously! However, you do not need to worry about this; Apple has built in multiple levels of protection to prevent you from messing up your computer. There are two larger protections: The App store automatically makes sure that the file you downloaded is what you were supposed to download and fixes anything ...


1

I would run the sysdiagnose command to generate snapshots on both systems. It's going to log far more data than you need, but it will show memory maps of why exactly the memory allocation has gotten to the place where it is. Then, if you set up two test accounts on each Mac with nothing in them - set both to be the auto-log-in user and reboot both. Grab a ...


1

Use zprint -t (Lion) or sudo zprint -t (Mountain Lion and later) (man zprint) to show information about kernel zones Example (i skipped about 160 lines): zprint -t elem cur max cur max cur alloc alloc zone name size size size #elts #elts inuse size count ...


1

ReportPanic is the name of the application that saves your data and handles crashing. It is a normal OS X application.


1

Finder tags were introduced in Mavericks (10.9). They're not available in earlier versions of OS X.


1

The CUPS web interface would allow you to direct the print job to another printer. However it's possible to capture a PDF file from the CUPS queue: /private/var/spool/cups total 472 drwx--x--- 24 root _lp 816 Mar 1 14:30 ./ -rw------- 1 root _lp 4403 Mar 1 14:30 c00025 drwxrwxr-x 13 root _lp 442 Mar 1 14:30 cache/ ...


1

Either, in a Terminal: killall Finder Or, from the Apple menu, Log Out and then log back in. Either should cause the Alias to show the correct icon. In the event the Alias doesn't update after this then delete the Alias and recreate it.



Only top voted, non community-wiki answers of a minimum length are eligible