texts: Three monitor set up - how to set one monitor to grayscale?

texts:
I have a Retina MacBook Pro (mid-2015), powering an Apple Cinema Display 24" monitor, and a run-of-the-mill, cheap and inaccurate Samsung monitor (when it comes to color). I've connected both of these displays to the RMBP via Thunderbolt.

Now, since the color accuracy is pretty weak on the Samsung monitor - I'm trying to figure out how to use macOS Sierra to change that, and that monitor only, to grayscale. I would only use it to display information that can be viewed in grayscale (Slack chats, email, Terminal, logs, Mixpanel/Geckoboard analytics, you know, not browse websites). I am well aware that the Accessibility -settings in System Preferences can be applied so that each of the three screens is grayscale. I'm not looking for that. If I was looking for that, I'd just launch a Grayswicha-app I made with AppleScript.

I'm looking to set the Samsung, and only the Samsung, to grayscale.

Is there some way of doing this?

Would really appreciate any assistance on this.

PS Not looking for "change all your apps to be grayscale, and then if you want the same app to be colored too on a different display, do another profile/alias for each and every one of the apps, then run it with the color... oh hang on that's a great deal of work, do it anyway cos this is a good solution" -type solutions :(


texts: Where should i look to improve slow I/O performance measured with dd?

texts:
I have been measuring my primary disk I/O with the following command :

  dd if=/dev/zero bs=2048k of=/Volumes/Toshiba/tstfile count=1024 2>&1 | grep > sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }'

This test is obviously for a write operation, read can easily be measured as well.

Both read and write give a speed of about 28MB/s which seems pretty poor, despite the age of my mac mini (2GHz core 2 duo).

Furthermore, a 1TB usb 3 drive from last year gives the same performance, below 30MB/s always.

I have tried changing the file size from 1MB to 500MB, results are consistent.

Since both drives behave the same, i suspect a bottleneck somewhere else in the hardware or the software.

What are the suggestions to investigate further?

Thanks
Nick


texts: Automatically move files to a parent folder + delete subfolder

texts:
I'm trying to figure out how to automatically move files from a folder to its parent folder and delete the original folder. To illustrate, here's my structure:

Parent Folder
    – Subfolder
            – File.avi
            - File2.avi
            - Otherfile.trash

I want to move my all my .avi files to the Parent Folder and get rid of Subfolder altogether (Subfolder still won't be empty after moving these files, but I want to delete it and its leftover contents).

I've been playing around with Hazel but I guess my logic isn't the best and I can't figure it out. Is it possible with either Hazel or Automator or both?

Thanks in advance!


texts: Can I change the startup sound on macOS Big Sur?

texts:
I wanted to find the audio file with the startup chime and either switch it with another one of mine or edit it but i can't locate the file.
Does anyone know of a way of finding this file or to get the same wanted result in another way?


texts: Unable to reinstall macOS on MacBook Pro after installing Ubuntu

texts:
In the process of installing Ubuntu 20.04 on my Mac Book Pro (Retina, 15-inch, Mid 2015), I formatted the whole disk and installed Ubuntu 20.04. Now I am unable to install macOS back, previously running latest macOS Big Sur
Things I have tried:

Internet Recovery over WiFi network by holding Command-R not working, showing error with code -2002f. The same happened when I connect it with my mobile hotsport network.
Connected Ethernet cable to run Internet Recovery over wired internet, but the wired network isn't showing on the networks available to choose for Internet Recovery.
Not showing bootable USB drive on Startup: Created a bootable macOS installer with OS X El Capitan image and made a bootable USB drive using TransMac on a Windows system. But the drive isn't showing on Startup by holding Option (⌥) after holding immediately after pressing the power button, it is showing only one main drive and not the USB drive!

My findings:

I believe the Ubuntu system isn't accessing USB drive ports while startup, as both Ethernet cable (which I connect with TP-Link Ethernet Network Adapter to USB) and the bootable USB drive aren't working
All the ports are working fine, as I can able to access internet over Ethernet as well as the USB drive is also working fine.

Can anyone offer a solution? Please


texts: Python path added to $PATH -- cannot find origin

texts:
I just installed Python 3.6 from python.org on macOS Sierra.

Somehow, the path to python's bin is added to my every $PATH but I can't figure out how:

22:15 : echo $PATH
/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/Library/TeX/texbin

Now, /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin is the default value in my /etc/paths and the X11, git and TeX parts come from the 3 files in /etc/paths.d/. But I have no Python-related file in /etc/paths.d/.

And there is nothing related to Python in my ~/.zshrc.

Does anyone know where the Python bit of $PATH is coming from?


texts: What control character do I send to the terminal to make it delete a full word at a time?

texts:
I recently discovered that sending \033[5D and \033[5C sends the character to move a full word at a time, making mac os x terminal almost as awesome as the default ubuntu and debian terminals.

So then, the one thing I'm missing is: the control key to bind option-delete and option-backspace to deletion of full words.


texts: How do I connect an external display to my Macbook Pro?

texts: I have a Macbook Pro (Late 2013). I'm trying to mirror the display on a LG M2035A. The monitor accepts VGA input. The monitor comes with a VGA cable. So, I purchased a HDMI to VGA converter, to connect to the monitor. However, my Macbook doesn't seem to detect the external display. I think my VGA and HDMI cable function properly, because when I connect the monitor using this to my laptop running Windows, it functions perfectly. Is there a workaround, or something I'm missing?


texts: Disable Java Auto Update Prompt for 1.7u25 on Mountain Lion

texts:
I'm having a heck of a time trying to disable the option
"Check for updates Automatically"

I ran composer to see what plist was being modified and it looks like
~/Library/Preferences/com.oracle.javadeployment.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"    "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>/com/oracle/javadeployment/</key>
    <dict>
        <key>deployment.macosx.check.update</key>
        <string>false</string>
</dict>
</dict>
</plist>

So I experimented with changing that value to true or false and it would not effect the checkbox under the Java Control Panel > Update > Check for Updates Automatically

Your assistance would be much appreciated.

Initially I was looking @ /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin


texts: How would I go about making a stand alone app on my dock to open a game using a terminal command?

texts:
I have a game that they never released for mac, and I installed the game using WINE, the install itself was flawless, but every time I want to play it, I'm forced to open Terminal and run

cd /Users/Max/.wine/drive_c/Program\ Files/Electronic\ Arts/Dead\ Space/
wine Dead\ Space.exe

I saw a question that I thought would answer this using applescript, but when i tried to duplicate the example, it didn't work. I'm sure the information I've given is enough to start the answer to my problem, if not, just let me know. Thanks


texts: How can I play a .ogg music file on the command line? On Linux I can use ogg123, but what about on Mac?


texts:
I updated my iPhone 4S to iOS 6. I suddenly activated Siri (because finally it comes in my language) and in this days I noticed that my iPhone battery life is less than previously.

This problem is due to iOS 6 (that maybe needs more power) or it is due to Siri? I have to say that I didn't used Siri in this days. So Siri consume battery even if I don't use it?


texts: Can I clear my iPhone camera roll without losing any photo?

texts:
It seems to me that all photos taken with the iPhone go into:

the iPhone Camera Roll
the iCloud photo stream
iPhoto/Aperture projects (e.g. "Photo stream for Decembre 2014")

Can I clear completely my iPhone's camera roll without losing any photo?

I.e. will the duplicates in the iCloud stream and in iPhoto/Aperture projects will be deleted or not?

My goal is to free some space on the iPhone while, of course, not losing anything.

Edit: when I say iPhoto/Aperture projects I mean that there are projects automatically created in Aperture for every month and my iPhone's photo are automatically added to it. I don't know how/why it works…

I haven't imported my phone's photos manually.

Screenshot:

("flux de photos" means photo stream, "févr" means february, "janv" means january)


texts:
My friend is having a problem with an iPhone 4 (not yet updated to iOS 5).

Most apps and the ring tone will make noise via headphones but not via speaker. iTunes and at least one other app will play sounds via the speaker, however.

What could cause some apps to become muted on the speaker but not others? No settings were deliberately changed, but there are young children who use the device and could have set something. Is there a simple way to reset the phone and preserve apps and data but make the speaker work again in all apps?


texts: Mac mini freezes and does not start again until cold

texts:
I have a (2012, I think) Mac mini.

After between 20 minutes and an hour of use it freezes, then goes to a black screen. Occasionally the freeze is preceded by graphics corruption, such as coloured squares.

A year ago, when the issue started, it would work for 2-4 hours before the same freeze and refusal to boot, so this problem is gradually becoming worse.

Removing the power cord, plugging it back in and switching it back on does not make it work. If I wait for some minutes or hours, it will boot again.

This makes me suspect some form of thermal issue, rather than software.

Is this a common fault on Mac minis? Is it fixable?

Is there a way to diagnose it? (I'm a Linux software developer - I'm not generally familiar with macOS).


texts:
VoiceOver uses Control-Command-Space for launching an action but I can't use it because Emoji and Symbols Viewer hijacks it. Is there a way how to disable Emoji and Symbols viewer?

I need VoiceOver more than emojis.


texts: What is the equivalent of "Alternatives" for MacOS

texts:
Linux distributions have a concept/command called Alternatives. It's a way to create and manage symlinks to utilities/programs where you can call something by several names.
Example: in all your scripts you reference vi but now you want to use vim.  Instead of changing your scripts, alternatives allow you to link vim to vi.  Now when you run the script, it will call vim.
Is there something similar for macOS?


texts:
My MacBook Air (11 inch, early 2015) cannot connect to a wi-fi network.
When I first tried, it said that it could not connect to the network since another device with the same ip address was present on it (say the address is 192.168.1.24).

Scanning the network with another computer with arp -a (+ ifconfig | grep broadcast for the scanning computer) shows no device with the address 192.168.1.24. Pinging it gives no result either.

The default configuration for IP was "using DHCP",so I tried giving the MacBook Air a manual ip address (192.168.1.124, either with "DHCP with manual address" or "Manually") which makes it stop complaining about the ip address being in use, but it still cannot connect to the wifi. (the wifi icon is "searching", no exclamation point).

I restarted the router, and also deleted the network config files in /Library/Preferences/SystemConfiguration/:

com.apple.airport.preferences.plist
com.apple.network.identification.plist
com.apple.wifi.message-tracer.plist

NetworkInterfaces.plist

preferences.plist

But it is still doing the same thing.


texts: Applescript to retrieve account and password using keychain scripting

texts: How can I use keychain scripting to write a script in Applescript that retrieves the login  and password of a website from the login keychain, given the website's URL?


texts: Using Finder To Arrange Applications By "Application Type"

texts:
Finder is intuitively designed to help you find things on your Mac. In Finder Windows you can arrange icons or lists of files in all manner of ways: Name, Date last opened, Created, Modified etc, as well sort lists in Ascending or Descending order by clicking on the top column title.

How do you therefore go about arranging Applications by "Application Type" ie Productivity, Music, Video etc....... ?


texts: Tired of the Apple Mail Client Woosh sound on mail send

texts:
I am using Macbook pro 13inch 2015 model. Using OSX Sierra.

Every time I send a mail with the apple mail client is makes a woosh sound. In order to suppress this sound I have done the following things

Go into settings -> notifications and switch off the notification sounds for mail client.

Disable User Interface sound effects in settings -> sound.

However still when I send a mail it makes a stupid woooosh sound.


texts: iCloud won't transfer manually added music

texts:
I have 2 computers on which I listen to my music: a Macbook Pro (which I consider to be my "main" computer for my music library) and a Windows 7 desktop, for which the music library was originally populated via iCloud.  Both of them are up and running with iCloud and have been for a long time.  When I rate a title on one, the rating appears on the other.  When I buy a song on iTunes, it downloads to both.  Great.

But if I manually add a song to either library, it won't transfer to the other.  Instead, the song is visible on the other computer, but is greyed out and never downloads (or even becomes available for download).  The songs are remixes from music enthusiasts, so they will never be matched by iTunes Match, but that shouldn't keep them from moving to my other devices, should it?

Does anyone know what is keeping it from transferring, or how I might fix it?


texts: Alcatraz - Xcode command line tools are not currently installed

texts:
I'm managing Xcode plug-ins via Alcatraz.

Everything was alright until I installed and then uninstalled Git following instruction in the uninstalled.sh file in official git.zip file:

sudo rm -rf /usr/local/git/
sudo rm /etc/paths.d/git
sudo rm /etc/manpaths.d/git

I have no idea what I've done with git would affect Alcatraz.
Once I click Package Manager in Xcode I get this error:

Even re-install the Alcatraz it's still there.

Update

I did install the Command Line Tool following Xcode Command Line Tool tutorial

Here's the message I got:

myMacBook-Air:~ me$ gcc --version
Configured with:--prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.0 (clang-700.0.72) Target: x86_64-apple-darwin14.5.0
Thread model: posix

The Warning still pops up.

How could I fix this?


texts: Open multiple instances of an app (spark e-mail app)

texts:
I would like to use an app multiple times. I installed Spark which is from my point of view a great email app. I have two companies with various accounts (pr@...,contact@...) and instead of having all of them in the same app I'd like to have spark1.app for company1 and the same for company2/spark2.app for example.

I already tried open -n -a APPNAME but Spark is telling me that there already is a copy running !

Any suggestions ?


texts: Why doesn't iPhoto open automatically upon SD card insertion?

texts: Inserting a SD card no longer opens iPhoto.  When I open iPhoto, it does not show the SD card in the left pane.  This program has done this without a problem until recently.  The preference under iPhoto is set to SD cards to open iPhoto.  I have also gone to Utilities/Photo Capture and ensured that iPhoto was selected in the lower left corner.  I am at wits ends because this should work automatically but is no longer doing so.  Any answers out there?


texts:
Quite often my computer has trouble connecting to my home WiFi.

Sometimes once started, the computer does not find the WiFi on available networks. Sometimes it will find it, try to connect, then get "connection timeout" and WiFi disappears. Only way to fix it is shutdown and hope next time it will work.

During that time my iPhone is connected normally. This happens with both MBPs i got. Any suggestions as to what could cause this?

The router is d-link dsl-2640r


texts: What are some tactile iPad apps to show to a graphic designer?

texts: I'm looking for apps that have faux materials in them like leather, wood, paper, etc. (Apple stresses "tactile" apps when guiding developers.) I'm trying to guide a graphic designer. What are some apps that I can show that get the point across?


texts: Automatically share new photos with photo stream?

texts:
Is it possible to make every new photo taken automatically appear in a photo stream that is shared with other users?

Either by some how share the default photo stream or make another photo stream as default. Note that I don't want to jailbreak and I wont use any other application then those that are built in.


texts: Photos Library info reports size in "PB"

texts:
I was touring the Photos app toolbar recently and noticed the little "info" button (same as menu Window/Info, ⌘ I). I pressed it and a dialog appeared showing me info for my entire Photo Library – since I didn't have any photos selected. In the last line of the dialog (full picture below), it says
129.3 PB. That appears to be the size of the library, given the clue that the text calculating size… appears briefly on that line before the number appears.
What does "PB" stand for? My only guess is petabytes, but that seems large on a 500GB SSD, and with a Finder-reported Photos Library size of 47GB. I've been searching for several days and have only found one slightly related post. Finder was reporting PB of free space due files in /.MobileBackups. I don't have that folder.
I also saw several posts where folks thought Time Machine could cause Finder to be confused about free space. And I do have a Time Machine backup that is taking days to finish. Currently at 12GB of 20GB, which is plausible since I added a ton of files recently.
Is a 129.3 PB Photos Library a sign of something bad? Or just ignore it?


texts: Does half-resolution on Retina displays really look the same as native?

texts:
If you run a retina display at exactly half resolution (i.e. 1280x800 on a 13" Retina MacBook Pro [native 2560x1600]), that it will not look blurry at all and will look the same as if the display was native resolution.

Is this true?

I've tried using these half-resolutions but they look extremely jagged.  I wouldn't describe it as blurry, but it definitely looks pretty awful.

However, if I use the same resolution (1280x800) on a native panel (i.e. MacBook Air 1366x768), it looks MUCH better.

What's going on here?

Why doesn't half-resolution on Retina look the same as a panel with the same native resolution?


texts:
How can I set the log level of launchd in MacOS Yosemite?

I've tried launchctl log level debug but it doesn't work.


texts: I would like to make a banner that will display ads for my products only. Will it be ok with App Store or my app won't be approved (or cut later)?


texts: What is the effect of permissions on external drives?

texts:
I've set the permissions on files on my removable external drives in ways that seem to make sense to preserve some degree of security. For example, for files that only I should have access to, I've only myself any access rights

-rw-------@   1 MyName  staff  ... File1

while for others, that I want other users of my machine to have access to, I've expanded these access rights a bit

-rw-r-----@   1 MyName  staff  ... File2

This behaves as I intend on my machine; but what happens if the drive is plugged into a different machine? Does anyone on the staff group there have read access to File2 and none to File? Would anyone who was given the user name MyName on that machine have full access to both files?


texts: iPad keeps disconnecting from ad-hoc networks

texts:
I have a computer with Internet connection via Ethernet, it is Wi-fi capable so in order to share the Internet connection I had set up an ad-hoc network.

It works fine with other computers, but if only my iPad is connected, the link breaks whenever mi iPad is sleeping.

When turning on my iPad, I have to reset the ad-hoc network in the computer in order to have Internet available in my iPad again.

I wonder why it happens. Thanks.


texts:
I am trying to install cabal (for Haskell) in Mac OS X 10.6.5 (64-bit kernel). When I try the command "cabal update" I am presented with the following error:

cabal: Codec.Compression.Zlib: premature end of compressed stream

Does anyone have experience with this and knows how to fix it?
Thanks.


texts: I received a call about my iCloud account and I need to know if it is a scam

texts: I just received a call stating my iCloud account has been compromised.  They want me to go on my computer with them.  Is this a scam?


texts: iMessage on Mac not working when using VPN

texts:
iMessage stopped working properly when I use VPN on my Macbook Pro (Mavericks), making me unable to send or receive messages.

It says the user is not registered and highlighted in red/pink, but after I disconnect VPN, everything works fine.


texts: Does "gpt remove" command delete files along with partition? Trying to recover a Mac OS partition Vol Type FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF

texts:
I have a Macbook Pro with Big Sur on it, and I installed Linux Mint.  I then resized the encrypted Mac OS APFS partition in order to grant Linux more space.  After that I created another smaller Linux partition out of that new, smaller partition.
But now I've lost my "Macintosh HD" boot option in Boot Camp and can no longer boot into Mac OS, only Linux.  And my Mac OS APFS partition now says it has a Startup Volume Type of "FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF" (instead of the proper GUID).
My situation is almost identical to this question:

macOS partition startup Volume type FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF

I followed the instructions provided in that answer, but when I got to the step to run the "gpt remove" command (gpt remove -i 2 disk0), I stopped, worried that it might delete my files on that Mac OS APFS partition along with the partition.
Some of the posts I've read with similar solutions (the link above, as well as https://discussions.apple.com/thread/251412540 and OS volume shows as type 'FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFF' after attempting to delete some Linux partitions—cannot log in and How to fix broken GPT, GUID and unmountable, no type volumes?) all seem to suggest that they got their files back, but I just want to confirm that my files won't be deleted when I run the "gpt remove..." command.
Is this the case?  Will gpt remove -i 2 disk0 delete my files when it removes that partition, or is it doing something slightly different (ie. removing partition info / header / metadata, etc)?
Hopefully this makes sense.  I hope to be able to retain access to file files on that Mac OS APFS partition since it isn't backed up.
Please help!


texts: How can I add MP3 to the podcast app on my MacBook with Catalina 10.15?

texts:
Before I updated to Catalina, I was able to add MP3 files to iTunes, then select get info -> options, and change media type to podcast. I was then able to listen to MP3s (which were mostly lectures) as podcasts on my phone, giving me the ability to rewind 15 seconds .

Now Catalina has disturbed my universe and removed podcasts from iTunes and isolated it as its own app. This no longer allows me to categorize songs as podcasts and I am therefore becoming stupider as the days go by.

How can I add MP3s to the podcast app on my MacBook Pro (Catalina 10.15)?


texts: snippet.cgi — as many as 10 at a time in rapid succession…

texts:
Some sites, just navigating to them, in Safari, I have not tested in any other browsers, will auto download a file called snippet.cgi to your ~/Downloads folder.

I just went to www.cliftonchilliclub.co.uk/ and merely loading the page shoved 6 snippet.cgi files to my ~/Downloads folder.  The OS renames them sequentially. snippet.cgi, snippet-1.cgi, snippet-2.cgi, snippet-3.cgi.

Opening snippet.cgi in TextMate ( Basic Mac OS X Text Eitor ) and the file contains "Cant get component".

Here is a gist of what is going on:
https://gist.github.com/anonymous/143323b1553bfd502a08

Here is the raw data:

me@foonty ~ $cd Downloads/
me@foonty Downloads $ls -la
-rw-r--r--@ 1 me  staff      18 Feb  8 04:41 snippet-2.cgi
-rw-r--r--@ 1 me  staff      18 Feb  8 04:41 snippet-3.cgi
-rw-r--r--@ 1 me  staff      18 Feb  8 04:41 snippet-4.cgi
-rw-r--r--@ 1 me  staff      18 Feb  8 04:41 snippet-5.cgi
-rw-r--r--@ 1 me  staff      18 Feb  8 04:41 snippet-6.cgi
-rw-r--r--@ 1 me  staff      18 Feb  8 04:41 snippet-7.cgi
-rw-r--r--@ 1 me  staff      18 Feb  8 04:41 snippet-8.cgi
-rw-r--r--@ 1 me  staff      18 Feb  8 04:37 snippet.cgi

me@foonty Downloads $more snippet-2.cgi
Cant get component

me@foonty Downloads $file snippet-2.cgi
snippet-2.cgi: ASCII text, with no line terminators

me@foonty Downloads $ls -la@
drwx------+ 12 me  staff     408 Feb  8 04:41 .
drwxr-xr-x+ 32 me  staff    1088 Feb  8 01:53 ..
-rw-r--r--@  1 me  staff    6148 Feb  8 04:37 .DS_Store
    com.apple.FinderInfo        32
-rw-r--r--@  1 me  staff      18 Feb  8 04:41 snippet-2.cgi
    com.apple.metadata:kMDItemDownloadedDate        53
    com.apple.metadata:kMDItemWhereFroms       189
    com.apple.quarantine        61
-rw-r--r--@  1 me  staff      18 Feb  8 04:41 snippet-3.cgi
    com.apple.metadata:kMDItemDownloadedDate        53
    com.apple.metadata:kMDItemWhereFroms       189
    com.apple.quarantine        61
-rw-r--r--@  1 me  staff      18 Feb  8 04:41 snippet-4.cgi
    com.apple.metadata:kMDItemDownloadedDate        53
    com.apple.metadata:kMDItemWhereFroms       189
    com.apple.quarantine        61
-rw-r--r--@  1 me  staff      18 Feb  8 04:41 snippet-5.cgi
    com.apple.metadata:kMDItemDownloadedDate        53
    com.apple.metadata:kMDItemWhereFroms       188
    com.apple.quarantine        61
-rw-r--r--@  1 me  staff      18 Feb  8 04:41 snippet-6.cgi
    com.apple.metadata:kMDItemDownloadedDate        53
    com.apple.metadata:kMDItemWhereFroms       189
    com.apple.quarantine        61
-rw-r--r--@  1 me  staff      18 Feb  8 04:41 snippet-7.cgi
    com.apple.metadata:kMDItemDownloadedDate        53
    com.apple.metadata:kMDItemWhereFroms       188
    com.apple.quarantine        61
-rw-r--r--@  1 me  staff      18 Feb  8 04:41 snippet-8.cgi
    com.apple.metadata:kMDItemDownloadedDate        53
    com.apple.metadata:kMDItemWhereFroms       189
    com.apple.quarantine        61
    com.macromates.selectionRange        1
    com.macromates.visibleIndex      1
-rw-r--r--@  1 me  staff      18 Feb  8 04:37 snippet.cgi
    com.apple.metadata:kMDItemDownloadedDate        53
    com.apple.metadata:kMDItemWhereFroms       189
    com.apple.quarantine        61

Here is curl -I http://www.cliftonchilliclub.co.uk
$curl -I http://www.cliftonchilliclub.co.uk
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: close
Status: 200
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.5
X-Runtime: 9
ETag: "268dccda66a2552189bd2851a2f199a0"
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 852
Server: nginx/0.7.65 + Phusion Passenger 2.2.5 (mod_rails/mod_rack)
P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"

Quick trip with curl to download the file:

$curl -o file.html http://www.cliftonchilliclub.co.uk


texts: How to prefix an area code when dialing with iPhone?

texts:
I just moved to Idaho, and here everyone has the same area code (208 for the whole state). Unfortunately I still have my old phone number. So when someone texts or emails me a phone number they never include the area code. When I try to dial it with my iPhone I get an error from AT&T that I need to first dial the area code.

If I type the area code, and then try to paste the number in that will replace the area code. I am not able to get a edit point anywhere by the end of the phone number in the keypad screen. The only options I have found is to paste the phone number in notepad or somewhere that allows editing, add the area code, then copy and paste that into the keypad. Either that or cache the phone number outside the phone and then re-enter it manually.

Is there some way to tell the iPhone to assume 208 is the area code when none is provided, or at least a way to edit a phone number from the keypad to add an area code?

(I realize there is probably an app for that, but it seems like a pretty common thing that should be supported by the iPhone without an extra app step.)


texts:
I have an iphone 6s with 76% battery health.
the problem started, when it got frozen and touch screen didn’t work.so I held the power button to restart my phone.
when it got restarted, while booting, a horizontal white line appeared in my black screen then it turned on.
Now I am having a problem with it.
It randomly restarts with the same white horizontal line.
what can I do about it?
Thanks a lot


texts: MacBook Pro Mid 2009 17 inch ONLY boots after resetting SMC

texts:
I changed the right speaker, which required me to remove the logic board. I put everything back together and it turned on normally. When I was done using it I shut it down. After this I could not boot the machine unless I reset the SMC for 15 seconds.
Now every start requires me to reset the SMC. Then it boots.
Any ideas on how to fix this?
Thank you!


texts:
The Situation

I work in an IT department for a law/property/ifa firm and we have iPhones rolled out to many of the important staff members. It is a UK firm, and as well as the permanent staff we also have consultants who may work for many companies come in who also get iPhones. We have a profile setup that allows our firm's mail and contacts to be synced with the phone. We also prohibit the use of iCloud as using it will breach the Data Protection Act as the iCloud severs are US based. The consultants who come in also have mail from other addresses they use to go to the phone. Our configuration we place on the phones disables the use of iCloud.

The Problem

One consultant uses a mobileme address as their email outside of the firm and needs their mail on the iPhone. The problem here is that mobileme is now part of iCloud, which as we mentioned we cannot use due to the configuration placed on the phones and will not use as the information we handle is incredibly sensitive and while someone may not bother taking legal action with a single consultant over using iCloud they would most certainly try their hand at taking it with a firm of our size considering we know about and acknowledge that using iCloud breaks the Data Protection Act. I have searched all over to see if it is possible to have the consultants email sync with the phone without using iCloud and the only ray of light I saw was that you can use mobileme email on devices that don't have the system requirements for iCloud.

The Question

Is it possible to have mobileme email addresses sync without using iCloud on the iPhone? Is there a better way in going about it?


texts: Using Karabiner for multi key to multi key remapping

texts:
I have been using Karabiner for some key remappings on a macbook pro. I have successfully (and very satisfyingly) remapped right-cmd + up arrow and right-cmd + down arrow to page up and page down.

I would like to do further remappings, such as remap shift + enter so that it will give me line breaks in messages, or cmd + anglebrackets to switch workspaces. Unfortunately the only way I know to do these things are with two key strokes in the first place (option + enter for messages new lines and control + arrow keys to switch workspaces). How can I use karabiner to make two key presses map to two other key presses?


texts:
I'm using my university's exchange server to sync my calendar, contacts and todos with my iPhone (iOS 5), and this is working perfectly.

However, there are (besides the "Birthdays" calendar) two other calendars "from my PC". At least they say they are - I have no idea where they would be on my PC, and why there are two of them (I've only ever synced my iPhone on one Win7 PC under one single user account).

They also appear to be completely empty, but I'm not sure how to actually make sure that they are.

What's more important, I'd like to remove them (not just hide them), but I don't know how. iTunes on Windows isn't a big help here. But perhaps I'm overlooking something.

Can I remove those calendars? Or at least one of them?


texts: Something was dropped on my iPad Pro, and now the screen is black and won’t turn on?

texts:
So, my cleaning lady dropped something on my iPad Pro, and now the screen is black. HOWEVER, my problem is a bit... weirder. First off, when I first tried to open it I pressed the home button and saw light bleeding through a crack under the surface of the screen. As I’ve furthered my attempts, small, horizontal lines of light started appearing on the screen. Lastly, when I tried aimlessly tapping, I found that the touchscreen is functioning. In fact, I heard the sound the keys on the sign-in thingy make their usual noises.

I attempted using the age-old method of hard resetting it, but that did not work. Any answers are appreciated greatly.


texts: Script menu: how to reference user-path utilities (PATH / environment is missing)

texts:
Summary
How can I execute scripts from the system-wide Script menu with a normal environment? It seems the environment is not being setup at all.
Scripts that are run from the script menu can find and execute commands from the base system. However, user-installed utilities are not found on the path. Also, /usr/bin/env foo is not finding commands that are installed outside of the base system.
Background
The system Script menu appears at the right side of the menu bar. It is enabled via Script Editor.app > Preferences > Show Script menu in menu bar. It displays scripts located in ~/Library/Scripts and other system locations. The menu can execute AppleScript, JXA, bash, python and other scripts (use shebang as needed).

Investigation So Far
Scripts that are run from the Script menu don't inherit the user's bash environment. They know the shell is BASH and your USER name, but no initialization occurs. I ran a little script to dump the env to a text file
~/Library/Scripts/dump_env.sh (be sure to make executable):
#!/bin/bash
env > ~/env.txt
ps -ef >> ~/env.txt

Here are the interesting entries.
USER=mat
LOGNAME=mat
SHELL=/bin/bash
PATH=/usr/bin:/bin:/usr/sbin:/sbin
PWD=/
HOME=/Users/mat
_=/usr/bin/env

It is very vanilla. None of the custom paths are included. For example, the following are unavailable:
/usr/local/bin/svn # Subversion source control client
/opt/local/bin/python3 # python3 installed via MacPorts
~/bin

The latter two are normally sourced in my .bash_profile. /usr/local/bin/ is setup by path_helper which is called by /etc/profile (though apparently not for the Script menu).
I'm running macOS 10.13 High Sierra, but I'm interested whether others are getting different results.
Ideal Solution

Avoid hard-coding path to executables in shebang. Ex: if I install a different python version / distribution, I want to use it in all my scripts. /usr/bin/env python3 accomplishes this, but it seems to depend on the PATH?
Finds utilities in /usr/local/bin
Specify PATH once for CLI and Script menu (and GUI?). If I install a new Python I would like it to be used everywhere.
Specify PATH only for user-level processes. I don't want system processes using binaries from in my add-on path entries (especially user-permissioned path entries).
Avoid breaking 3rd party builds/installers/programs that were written with assumptions about what is present on my macOS install.

I'm looking into launchctl, which can be used to setup environment for GUI apps. Not sure if it still works or if it will work with the Script menu.
Update

I added trace statements to all of the bash environment files: /profile, /bashrc, ~/.bash_profile, ~/.bashrc. These statements export environment variable so I can see that the file has been sourced. None of these are getting run for scripts run from the Script menu.
launchctl setenv KEY VALUE will set an environmental variable for all processes subsequently launched by launch services (launchd) in the user space.
This works for Terminal.app, GUI applications and scripts that are double-clicked in the Finder. However, it does not work for the Script menu.
I added ps -ef to the dump_env.sh script. This tells me the Script menu is not invoking bash with any arguments that would strip the environment (such as -r or -p). The parent process is UserScriptService.
Running…
otool -tV /System/Library/Frameworks/Foundation.framework/Versions/C/XPCServices/com.apple.foundation.UserScriptService.xpc/Contents/MacOS/com.apple.foundation.UserScriptService.

…reveals a symbol named __NSUserScriptTaskServiceStart. This sounds awfully similar to NSUserScriptTask in the CoreFoundation API. From the API doc:

The NSUserScriptTask class is able to run all the scripts normally run by the one of its subclasses…

https://developer.apple.com/documentation/foundation/nsuserscripttask?language=objc
I strongly suspect this is what the Script menu uses to execute scripts. The API doc does says nothing about the script's runtime environment.


texts:
I'm on macOS Catalina and I'm trying to move all my "dotfiles" into a folder, where I can place them under version control, then symlink them back  into the home folder.  I've created a hidden ".dotfiles" folder within the home folder, moved the dotfiles into it, then symlinked them back into the home folder with:

ln -s <dotfile name> ..

However, terminal complains that the commands associated with those dotfiles are no longer found.  I'm not sure what exactly I'm doing wrong, but any help would be greatly appreciated.


texts: macOS Catalina Downloading information to target volume failed ERROR

texts:
I am trying to update macOS from Yosemite (10.10) to Catalina 10.15.) on my mac book pro 2015, I downloaded the installer from the app store on my mac but every time I click continue to set up the installation I get this error message that reads "downloading installer information to the target volume failed"
I tried many solutions and searched everywhere but no solutions so far, I tried to use a patcher that also didn't work. I tried to install it from the terminal but that also didn't work.
What could be the cause of this?
is there a way to fix this?


texts: How to open shell scripts in editor when double clicking on them

texts:
I'm trying to migrate to OS X. One thing what I find really strange / dangerous that by double clicking on shell scripts, I launch them in Terminal.

I would like to change this behaviour to open them in Sublime Text.

My problem is that while I can do it to single files using the "Get Info" dialog, I cannot apply "Change All..." for these kind of files.

For other filetypes it worked OK, but for .sh / Unix Executable File I cannot assign them.

When I click, I get the following error dialog:
The operation can't be completed.
An unexpected error occurred (error code -50).


texts: Need to backup, but can't press 'Trust Computer' button because of cracked screen

texts:
I recently bought an iPhone 6s and wanted to bring my data from my old iPhone 4 to it but I have the following problem.

My iPhone 4 has a cracked screen and the sensor is a little messed up. If I try hard enough I can do almost anything (more than 10 times! and by rotating the screen if it can be rotated such as when I use the keyboard.)

I didn't have an iCloud account and used to backup with iTunes but after the screen was cracked I tried a couple of things and long story short I have no backups.

I tried creating an iCloud account and my contacts got transferred to my new iPhone but I can't find a way to transfer my notes as well.

The reason I can't backup the phone is because of a little screen that comes up when connected to iTunes that asks you to 'trust' the computer. Somehow it's the only thing/position in the screen the sensor isn't working. Same thing happens on iCloud, there is another screen asking you if you're sure you want to stop using iTunes and use iCloud and I can't get through it either.
I tried for hours.

I really want to transfer my notes on my new phone because it's 5 years worth of them and I want to keep them with dates etc etc...

Any suggestions would be welcome!


texts: My iPhone's Album Art is Wrong. How can I fix it?

texts:
All the art in my iTunes app is wrong. I pay for iTunes Match, but it's disabled on my phone. (It has been enabled in the past.)

What can I do to fix the art?


texts:
I have just moved from a Windows laptop to a macbook air and I am facing an issue that certain web-sites are not loading in my mac - both Safari and Chrome browsers. In chrome I am getting the error as ERR_CONNECTION_REFUSED and in Safari it shows as Server is not responding

Again reiterating, its only for a few sites I am getting this message and others are working fine. Any idea what I need to check?

P.S - On initial googling I have added both the browsers to the firewall exception list.
Also please note that I am completely new to a mac and so need explicit instructions to follow (sorry for that - but till now I havent used anything else except Windows!!)

Let me know if I need to provide any other info!


texts: Wi-Fi turning on and off since Mavericks upgrade

texts:
MacBook Pro
Retina, 15-inch, Early 2013
Since upgrading to Mavericks, the Wi-Fi turns off for roughly 8 seconds and turn back on for roughly 8 seconds. I have tried this on several different networks in different physical locations. It seems to be the exact same symptoms as described in this Apple Support Communities thread - even turning Wi-Fi off manually doesn't help (it just turns right back on again).
I tried this and rebooting, but it didn't work

Try backing up and then deleting this file:
com.apple.airport.preferences.plist
from this folder:
/Library/Preferences/SystemConfiguration/

In fact, none of the suggestions in the thread seemed to work.
I would rather not go through the trouble of downgrading since Ethernet works.


texts: Change the permission of multiple files using the GUI

texts:
I am looking for a way to change the permission of multiple files using the GUI.
I tried to select all the files and hit show info in the right click context menu, but this opens multiple dialogs where I have to enter my admin password and then change the permission.

Is there an easier way to accomplish this task?


texts: Find My Phone App shows my IPOD Touch is in California, but I have it with me in Missouri

texts: I have all of mine and my kids Apple devices set up on Find My Phone.  We're always misplacing one of the ten!  Today when I went to find my daughters IPOD Touch it shows that the location of it is near Santa Rosa California.  We live in St. Louis MO.  We played the sound and found the touch in her bedroom, but it's still showing on the map that it is in California.  What can be making it show that it's in a different location than it is?


texts: Changing from HDD to SSD with my Airport Time Capsule

texts:
I will receive a new SSD very soon (Samsung 850 EVO 500gb).
My question is, will it be possible to transfer all my data from my HDD(I have a time machine backup of my computer on the airport time capsule).

Like lets say, i a) I insert my new ssd in the mac with absolutely nothing on and unplug the hdd. b) Booting my mac while holding (⌘-R or alt button???).

After that would it be possible to choose my network and choose the airport time capsule where i saved my time machine backup? Hope my question makes sense. Thanks!


texts:
I tried to check my yahoo email this morning and my Safari asks me to either upgrade or continue without upgrading. I am using a  Mac PowerBook G4 running 10.4.11
I clicked on continue without upgrading and the screen does not change. I restarted and then clicked on Upgrade and the same result....screen never moves to another?


texts: How do I deauthorize all computers on iTunes?

texts:
In older versions of iTunes (for Windows at least), there used to be a way to Deauthorize all computers associated with an account.

Now it appears the only option in 10 (10.1.2.17) is to Deauthorize this computer... and removes only the one I'm on. Has the option to Deauthorize All disappeared or has it been moved somewhere else?

My reason behind needing this: One of the authorized computers had a hard drive failure and I just wanted to clean up the computers I have authorized.


texts: Network drive connected via ForkLift not accessible via Finder nor Terminal

texts:
When I connect to a WebDAV network drive via ForkLift (using CMD+K shorcut), I only see that drive in ForkLift, I cannot access it via Finder nor Terminal. Why is that and how can I access it with Finder and Terminal?

Thanks


texts: Keeping iPhone 4 Free from Oil Without Using Damped Cloth

texts:
The guidelines I read on the Internet ask me to clean the oil off my iphone 4 surface by using a slightly damped cloth.

But is there any method that I can use to clean off the oil without using damped cloth?


texts: Best macbook batteries strategies to watch a movie stored on an external USB hard drive

texts:
Which is the best strategy to save the batteries of your macbook pro, to watch a movie that is stored on an usb hard drive (powered by the macbook) ?

1) Plug the usb hard drive and watch the movie from it.

2) Copy the movie on the the macbook hard drive, unplug the usb harddrive and watch the movie?

I personally think the 2) is the best, but can't say I'm sure 100%


texts:
For some reason, my Mac won't let me reset my PRAM in the usual way (by holding the relevant keys down when restarting), simply nothing happens when I try it and my Mac just boots up normally every time.

I'm suspecting this may be due to the fact I'm using a PC keyboard after I broke my Apple one a while back.

I read that I can reset my PRAM through Terminal with the following command:

sudo nvram boot-args=”-p -r”

But all I get is this error:

  nvram: Error setting variable - 'boot-args': (iokit/common) general error

I'm running High Sierra on a late 2009 iMac if that helps


texts: Distribute an app directly to customers: MacOS vs. iOS

texts:
I have a Developer Program subscription ("Enrolling as an Individual", not as an Organization).
With MacOS, it's possible to code-sign / notarize an app, and ship the .dmg / .pkg to customers, without using the AppStore. Since the package is code-signed, the installation process is normal, with no "Unknown developer" dialog box.
Is there a similar feature for iOS? Can we distribute apps to iPhone and iPad users without using the AppStore?


texts: Terminal showing 192 instead of computername

texts:
I have a situation in which sometimes when I launch Terminal instead of showing:

computername:~ user$

It instead shows:

192:~ user$

I've already found that the questions OS X computer name not matching what shows on terminal and  Machine name set to new-host-X instead of the name set in Preferences are both very closely related to mine. However the solutions placed the origin of the 'problem' at using Xcode or a double internet connection (Wi-Fi + wired).

I have Xcode installed but haven't used it for quite some time. Also, I'm only using a Wi-Fi connection.

So, what could cause Terminal to sometimes display my computername correctly and sometimes only display 192 instead of it?


texts: Why is iTunes not shuffling songs but albums?

texts: I am currently running iTunes 12.0.1.26 on OS X 10.10 (Yosemite), and every time I try to play any set of songs randomly the songs get grouped by album. I have had this problem with previous versions of iTunes running on OS X Maverick. I would like to be able to shuffle the songs individually.


texts: IMovie cannot find library, in project I was editing

texts:
IMovie is increasingly buggy, I am getting this when I try and open my project that was working fine when I was editing it before.

How to fix?


texts:
I charge my Mac through an external display's using USB-C port. The external display has one another PC computer connected to it too.
When the connected PC goes to sleep, my Mac's screen pops up on the external display.
How can I set things up such that my Mac use the external monitor only for charging and not for display.


texts: Pros and Cons of Boot Camp/Virtualization for Windows 7

texts:
I have an iMac and I'm coming to the point where I'm going to need Windows 7 on it so I can do a bit of my Visual Studio development work on it.

I'm aware of two options, setting up the dual boot using Boot Camp and using something like VMWare or Parallels to setup Windows in a virtual environment.

While it would be way too subjective to ask which is better, what are the pros and cons to each approach? This would help me make an informed decision about which route to take.


texts:
I like to set up unison through Automator to run in the background to sync up two of my folders in a dropbox-like manner, but Automator apparently fails to run unison through shell script. I have tried both the regular terminal command:

unison /folder1 /folder2

and the full path for unison:

/usr/local/Cellar/unison/2.40.102/bin/unison /folder1 /folder2


texts:
Duplicate of:
  Is there a way to export chat history in Skype 5.2.x for OS X?

I'm currently running 5.2.x on OS X 10.6.8 and I need to some deep searching of the past history in a conversation with a colleague. Skype tells me the term I'm looking for is in the long-running chat we've had, but good luck getting it to show you the specific chat entry in time without manually scrolling backwards through months and months of back-and-forth.

I'd like to export the conversation as some format I can access programmatically (HTML, XML, etc.). The HTML export options that used to be present in Skype for OS X seem to have disappeared as of the 5.0 release.

Is there a way to export chat history in Skype 5.2.x for OS X?


texts: Safari can’t establish a secure connection to the server www.google.com

texts:
If I try to navigate to any of the following pages:

http://google.com/reader
https://encrypted.google.com/

I get an error message in Safari saying:

  Safari can't open the page "https://encrypted.google.com/" because
  Safari can’t establish a secure connection to the server
  "encrypted.google.com"

I also find that on the Gmail page many images are missing and when I try to go the image location I see the same error as above. Here's a pic of the missing images:

In chrome I have the same issue but with a different error as follows:

  Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.

I am not using a proxy and this behaviour has started recently for seemingly no apparent reason although I did get a new router about 2 weeks ago. Why am I experiencing  these problems?


texts: Allow system to sleep even with audio stream running

texts:
For a bit of background info: I have a 2010 MacBook Pro 15 with OSX 10.10.2 installed.

I'm looking to make the laptop go to sleep even when a proccess that sets PreventUserIdleSystemSleep=1 is open. In this particular case, it as coreaudiod.

I was thinking of something similar to the Windows powercfg -requestsoverride for specific processes/drivers.


texts:
Hi I'm new to osx and trying to resolve the netbios name of a windows machine. When I try to ping it I get the error cannot resolve hostname. When I use the command smbutil lookup %hostname% it will resolve.

When I ping the ip directly it works fine and this was working on a previous mac which I had to return and replace with my new one. I am able to resolve it from another windows machine on my network.

Essentially I just want to be able to ping my windows machine. Any help would be greatly appreciated.


texts: Admin privileges requiring for installing a package build though Packages

texts:
Using osx 10.9 and packages for making package installer.

While installing a package made using Packages in /Applications location on a osx 10.9 machine, installer is asking for Admin password. Even though I had unchecked 'Require admin password for installation' while package making.

So, how to avoid this i.e a non-admin user should install this package. Package should install in /Applications location, so that non-admin user can use the app.

I check this and this


texts: Applescript Validating USB Stick - Matching serial and mount point

texts:
I want to be sure that the USB stick at 'usbMountPoint' is also the one with the matching 'usbSerialNumber'

-- Get Mount Point of script's USB host
tell application "Finder"
   try
       set usbMountPoint to text 1 thru -2 of POSIX path of (disk of (path to me) as alias)
       log usbMountPoint --> Output: /Volumes/usb-drive-name
   on error
       set usbMountPoint to POSIX path of (disk of (path to me) as alias) --> if file is on desktop, path: '/', can't have ' ' hence no removing
       log usbMountPoint --> Output: /Volumes/usb-drive-name
   end try
end tell

-- Set Serial Num of USB Stick
set usbSerialNumber to "C86000BDB9F2BFA04A31E8A1"

-- Check if usbMountPoint and usbSerialNumber exist
set sysProfileUSB to (do shell script "system_profiler SPUSBDataType") as text
if sysProfileUSB contains "Serial Number: " & usbSerialNumber and sysProfileUSB contains "Mount Point: " & usbMountPoint then
   log "USB Stick Found!"
else
   log "USB Stick Not found."
end if

When validating to check if usbMountPoint and usbSerialNumber exist in system_profiler, the code should check if the USB device at 'usbMountPoint' has the serial number of 'usbSerialNumber'.
Without this "matching/pairing", the user could simply have two USBs connected - one with the right serial number, the other with the script; while the code will return "Found" becuase 'contains' reads the entire system_profiler without validating that both variables come from the same device.

Any help would be greatly appreciated. Cheers.


texts:
I have:

$ /Applications/Emacs.app/Contents/MacOS/Emacs --version
GNU Emacs 24.3.1
$ /usr/bin/emacs --version
GNU Emacs 22.1.1

How do I get rid of the second installation of Emacs?


texts: How to set system keyboard shortcuts via command line?

texts:
I'm used to have some keyboard shortcut remapping for menu items via Apple's system preferences -> keyboard pane. Some globals, most of them application specific.
What was working in the past (High Sierra if I'm not mistaken) was something like this:
defaults write com.googlecode.iterm2 NSUserKeyEquivalents -dict-add "Advanced Paste…" -string "@~^v"

Running
defaults read com.googlecode.iterm2 NSUserKeyEquivalents

shows that it has been set, but neither System Preferences (after restart) shows it nor the menu item in iTerm2.
If I enter it manually in System Preferences, the read command reveals the same (after deleting it before) and the new shortcut is visible in the menu.
This seems to be the case on Catalina for every application and shortcut I previously added via a setup script, e.g. for apps like Safari, Google Chrome, etc.
I also tried
defaults write -app iTerm ...

but it has the exact same effect.
Did anything change on (at least) Catalina? What's the correct way nowadays to do it?


texts: macOS system appearance resource files (.car) location for accent colors

texts:
I was wondering where the resource files for the accent colors are located? The normal aqua, dark aqua, accessibility, … appearance files are all located at this location: /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources

Though I can't find the files for the accent colors. Does someone know how this works? Maybe they re-color the blue assets in the code during runtime?


texts: /bin/sh don't read .profile after update to mac os x 10.10

texts:
I have updated my mac os x to 10.10 and got a lot of problems with program compilations. It looks like that default /bin/sh are not reading .profile anymore. So, all scripts, which are dependent from environment variables don't works. Even make cannot perform compilations because it cannot find compiler executables in non-default paths. Some (but not all!) macports ports are broken now, I think because of this problem. Does anybody know, how to fix this?

Thanks in advance,
Pavel.


texts: Mojave is eating storage like candy, no matter how much I free up

texts:
By my count, I should have 40-50gb free. But starting a few weeks ago, I'd wake up having created no new files, and 5gb would be gone, or 10gb.

Today, it told me that no storage was left. I freed up 5gb by deleting some apps I no longer used... and it has slowly eaten that as I watch the finder window's footer. Down to 546mb at the moment. And there's nothing else left to get rid of.

What the hell is going on? I have a Terminal.app open. I have a Firefox window open (that I'm typing into right now). And a few Sublime tabs.

If I reboot, I'll get maybe 11-12gb of this back... and it will slowly gobble that up over a period of at most a few hours. I don't know what's going.

I don't think this is malware, no files are messed up anywhere, no ransomware horseshit. Where do I start checking? Down to 373mb now.

It has done this in the past, of course, but an hour later whatever it was using that storage for would be freed, and I'd have no incidents for weeks/months afterward. This is the first time that it didn't self-correct.


texts: I am trying to use internet recovery to install OS X Yosemite and dual boot it with High Sierra on my 2015 model 13-inch Macbook Pro, but I’m having some issues. I can boot into Internet Recovery, can choose an internet connection, but after doing that, absolutely nothing happens. The earth icon is still spinning, I can change to a different wifi, NOTHING happens. Is there anything I can do to start Internet Recovery properly? By the way, the computer already has High Sierra installed, and works properly.


texts: How to increase the max user processes hard limit(Mojave)

texts:
How do I increase my max process hard limit. Currently, I can't go more than 2500. I'm on Mojave 10.14.6.

Currently what I do is:

sudo vim /Library/LaunchDaemons/limit.maxproc.plist // and then increase the limit

sudo launchctl unload -w /Library/LaunchDaemons/limit.maxproc.plist
sudo launchctl load -w /Library/LaunchDaemons/limit.maxproc.plist
launchctl limit

I can only increase it to 2500. I want it to be much higher than that.


texts: Can I get a list of file types a particular app is set as the default to open?

texts:
I would like to see all the file types that a particular application is set as the default for.  I will change some of these default file type associations; I know how to do that on a filetype by filetype basis.  My question is, can I find a list of what file types an app has set itself as the default for so I can do the ones I want all at once?

On this site I found How can I disassociate a single app (e.g., XCode) from all file types it's mapped to? which is close to my question but people seem to think it is a duplicate of the change-default-app question (I disagree).  Anyway there is some information there about all associated file types, but unless I misunderstand, nothing about the default-open which is what I am concerned with.


texts: Does free iWork on iOS entitle me to free iWork to Mac?

texts:
I have recently become the proud owner of a new iPhone 5s and have benefitted from the free iWork apps that are available to new devices.

I also own a 2012 MacBook Pro running Mavericks. Now I have the iWork apps on my iPhone, does it entitle me to them on my Mac via 'purchased' or are they different apps altogether being on different platforms?


texts: What determines Last Opened timestamp on a file

texts:
I have files in Finder sorted by Last Opened. Most files seem to be sorted by when they were opened, but not all of them, and some being years behind. Why?

For example...

If I open an image with Preview, it is considered opened.
If I open a text file with a text editor, it is considered opened.
If I use Quick View on any file, it is not considered opened
If I play an mp3 in iTunes it is not considered opened.
If I edit an mp3's id3 tag in iTunes it is still not considered opened.


texts: How can I get the USB Super Drive model A1379 to work with my Mac Pro Quad Core computer?  I rebooted my computer, searched for drives - could not locate it on the Apple computer.  Apple support stated bad drive.  I exchanged the drive and started over with reboot.  This operation did not help.


texts: Is there a way to send Apple proposals for usability improvements?

texts:
I think this would be nice to have if there already isn't a way to send UI feedback.

For example, is there an e-mail address dedicated for that proposal, such as usability-improvement-proposal@apple.com or something similar?


texts:
Pseudocommand

echo '1,2,3,5' | sed -n data.txt

which gives

sed: 1: "data.txt": extra characters at the end of d command

I want to give linenumbers for search from other command.
Actually awk is giving those numbers from this thread.

data.txt:

hello
amigo
this line 3
and here we go 4
and 5 is here

where output should be

hello
amigo
this line 3
and 5 is here

How can you give sed those linenumbers?


texts:
I just installed a new AirPort Express today, and connected a MacBook Air and an HP EliteBook to it.

While browsing the web feels, to use an unscientific term, sluggish, I could verify serious latencies when pinging the computer from each other.

While sometimes the latency is as low as 2ms, most times it is around 300ms, spiking randomly even higher, and timing out from time to time.

This article suggest switching to 802.11n exclusively and setting the Multicast Rate to 2 Mbps.

While I tried changing the Radio Mode with no real success, I don't have an option to the the Multicast Rate on my device (Firmware 7.6.1).

When did this option disappear (or has it never been included in European models), and what other settings could help get the latency down?

Update: Using the trick from this question I got the response times down, and will now test how it helps with real usage:

sudo ping -i .2 192.168.1.1

Update 2:
Even using the ping trick, I sometimes get timeouts from the the Windows machine and single digit packet losses. Sadly the performance is still very inconsistent, and I couldn't yet nail the cause down.


texts: Failing to Connect Remote App to AppleTV (4th Gen), While Screen Sharing Works

texts:
I don't have access to my proper AppleTV remote to control my AppleTV (4th Gen), but that's no problem because I can use the Remote app on an iPhone and iPad.

The Remote app was working fine until one morning it wouldn't connect from any iPhone or iPad. The status listed is "offline" -- see the attached screenshot.

The AppleTV appears to be still connected to the WiFi network, as I am able to share my iPhone's screen.

How would screen sharing work but the Remote not work?

I killed the Remote app multiple times (swipe up) and rebooted the AppleTV (power cycle).


texts: Using LibreSSL 3.1.1 without messing with the system

texts:
I did a brew install of OpenSSL/LibreSSL (3.1.1)...

it's located in

/usr/local/opt/libressl/bin/openssl

I also have the usual macOS Catalina OpenSSL/LibreSSL bin at:

/usr/bin/openssl

I don't wanna mess with the system.

I know brew says it's keg-only and not symlinked into /usr/local.

This makes sense to not mess with system openssl calls.

Can I do my own alias to the /usr/local/opt/libressl/bin/openssl latest version with something like:

alias libressl="/usr/local/opt/libressl/bin/openssl" in my .zshrc so that I can use libressl 3.1.1 for one off command line things without messing with my macOS system stability?


texts: My RMBP becomes very slow after I upgrade yosemite

texts:
I bore this problem for a long time. I even formatted my disk and have a clean installation. However, this problem does exist.

After I boot my RMBP, everything is fine. I can drag every thing, every window smoothly. When I use this computer for hours, however, every thing becomes slow.
Sometimes, there is a long response after I hitting a key.

I always use RMBP with an external monitor -- a dell display. And it seems that after awaking from a long time sleep, situation gets worse.

Is there anyone has the familiar problem? How can I fix it?

I now waiting for 10.10.2, I hope this patch could solve my problem.

By the way: I tried reinstall Mavericks and the problem gone away. However, I prefer the Yosemite theme very much, so, I don't want to roll back. $_$


texts:
I have a problem I cannot fix. The CANON i-Sensys MF4660PL printer I have is able to print double-sided, but it does not do it correctly. I have downloaded the latest printer driver from Canon (for El Capitan), and tried different drivers and settings in the printer, but after one-and-a-half hour I am inclined to give up.

THe problem is that it prints on opposite sides; so yes, it does print on both sides, but you have to turn around the page to continue reading. I have also changed the Long-edge vs Short-edge binding setting in the printing settings, and the 'Auto-Rotate' setting, to no avail.

Google does not seem to help me either... Anyone?


texts:
When formatting an external disk larger than 2GB, OS X automatically creates an EFI System Partition (ESP).  For compatibility with other devices, I want to format a large disk with only one partition, and no ESP.  How can I do this in OS X Yosemite?

diskutil eraseDisk HFS+ 002 disk2

I found this Technical Note describing Apple's partitioning policy, but it doesn't say how to avoid creating the ESP.

Edit: Forgot to mention I need to use GUID partition map for compatibility, not MBR.


texts:
Re: Yosemite does not like emptying the trash

So I'm not tech savvy but am having this very same problem with the trash after upgrading to Yosemite. I typed lsof +D ~/.Trash and this is what I got

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
UserEvent 699 romaabraham 11r DIR 1,2 68 35694329 /Users/romaabraham/.Trash

I am not sure what to do next.


texts:
I've got a late 2015 iMac with a Bluetooth keyboard and mouse.  As part of the minimalist design, Apple appears to have eliminated all the indicator lights.  If the screen is black and the computer doesn't respond to either the keyboard or the mouse, how can I tell (a) a computer that's been turned off from (b) a computer where the batteries on the keyboard and mouse have run down?

If the computer is off, I don't want to turn it on, so pressing the power switch is out.

(This question came up in the context of unplugging the computer from a malfunctioning UPS, where I couldn't tell if the UPS had shut the computer off or not.  If the computer was off, I didn't want to turn it on and risk having the UPS shut it off again halfway through the startup routine; if it was on, I wanted to shut it down properly before unplugging it.)


texts:
I have two monitors set up. About halfway through the working day the sun glare shines on my primary monitor. As a result I have to switch over my windows so my primary monitor faces away from the source of glare.

Is there a way to quickly switch monitor positioning? For example:

------------    ------------
|          |    |          |
|     1    |    |     2    |
|          |    |          |
------------    ------------

becomes

------------    ------------
|          |    |          |
|     2    |    |     1    |
|          |    |          |
------------    ------------

while retaining application window layouts?


texts: Catalina Upgrade Cannot Delete Relocated Items

texts:
After upgrading to MacOS Catalina, I have a Relocated Items folder on my Desktop. Inside this folder is a PDF explaining what these items are.

Inside the folder are two sub-folders - Configuration and Security. These folders contain items that were in locations which are no longer compatible with the new macOS configuration. You are advised to review the items in these directories and take appropriate action.

The problem is that within the Security/usr folder is a symbolic link called X11 pointing to /opt/X11. The /opt/X11 directory does not exist and I cannot remove the X11 link with either unlink or rm (as sudo and have tried after sudo su to get a root shell). When I try to remove the file, I get "Operation not permitted". I can move the link to the Trash, but when I do, trying to empty Trash results in an error saying it cannot be emptied because X11 is a file required by macOS. So, how do I get rid of this link?

Update: I also noted that xattr shows nothing.


texts: How can I  print multiple pages on a single page via my iPhone?

texts:
Is it possible print multiple pages of a Word, PowerPoint or PDF document on a single page natively from iPhone 4S?

Otherwise, are there other apps out there that allows me to do so?

What I mean by printing multiple pages of a document on a single page is something what we have on the usual Mac OS and Windows OS, where there is often a "handout" option to print multiple slides or pages of a document onto a single physical paper page.


texts: Adding a printer on the command line with no PPD

texts:
When I add a printer (HP Color LaserJet CP3525) interactively, macOS determines the device type and is able to configure the printer without further user input.

Is it possible to emulate this with command line tools? I tried

lpadmin -p _a_b_c_d -v ipp://a.b.c.d

but get a printer with the setting

printer-make-and-model='Local Raw Printer'

Edit: Apparently, the PPD for the printer is installed through software update, using a search predicate of

("printing software" IN tags OR "printer update" IN tags) AND
"MANUFACTURER:Hewlett-Packard;MODEL:HP Color LaserJet CP3525" IN tags

I'm still uncertain on how to force this installation through the command line. I tried to use predicate_installer.py, but that hangs.


texts: Does sound check on the iPhone have album mode

texts: I know that iTunes sound check on the Mac has album mode, but does sound check on the iPhone have album mode as well?


texts: Problems (consistently) Connecting 2 External Monitors to MacBook Pro (Late 2013) - Please Help!

texts:
I have been having issues to consistently be able to connect two external monitors (both HP Z23n G2 Displays) to my MacBook Pro (Retina, 13-inch, Late 2013) and cannot pin down the problem.
I connect one monitor using a standard HDMI cable from the MacBook's HDMI port to the monitor's HDMI port - this is never a problem. Issue is getting 2nd screen to work. For this, I connect the MacBook via a Thunderbolt connection to the HDMI port on the 2nd monitor, using a HDMI/Mini DisplayPort cable.
The issue is - it DOES work, but unpredictably and sporadically, and only after I restart the MacBook what seems like endless times sometimes. If/when the connection picks up, it works perfectly fine without interruption. If I disconnect and reconnect it, or switch on the computer after turning it off, the connection almost never picks up straight away and I have to go through seemingly endless cycles of restarting the MacBook until the connection does pick up. It's ONLY a problem with the Thunderbolt/Mini Display Port connection.
Really at loss at what to do! The connection DOES seem to work, but I don't understand why it does not work first time and is simply at random/sporadic. I have tried:

Using a standard HDMI cable (used the one that works perfectly fine with other monitor) with HDMI/Mini Display Port adapter, plugging into the Thunderbolt port on the MacBook. No success.
Using a Display Port/Mini Display Port cable between the monitor (it has a Display Port connection) and the the MacBook. No success.
'Detecting Display' after holding down option and selecting it on the system preferences. No success.

I have ordered a VGA/VGA cable, with a VGA/Mini Display Port adapter - if this combination does not work, I am at the stage of giving up.
Many thanks in advance for reading and/or suggestions! I have wasted hours with this issue!


texts: Can't run react native app in xcode simulator!

texts:
newbie to react-native, was following this official docs for creating ios app: https://facebook.github.io/react-native/docs/getting-started

My System config :

Xcode Version 9.4.1 (9F2000)

Ran this below commands to create the app & to run it in ios simulator (as mentioned in docs) ...

1] react-native init AwesomeProject

2] cd AwesomeProject

3] react-native run-ios

But got below error after like 10 mins in terminal...

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening AwesomeProject.xcworkspace. Run CLI with --verbose flag for more details.
User defaults from command line:
    IDEDerivedDataPathOverride = /Volumes/Jupiter/Projects/AwesomeProject/ios/build/AwesomeProject
....

** BUILD FAILED **

The following build commands failed:
    CompileC /Volumes/Jupiter/Projects/AwesomeProject/ios/build/AwesomeProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTLinking.build/Objects-normal/x86_64/RCTLinkingManager.o /Volumes/Jupiter/Projects/AwesomeProject/node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)


texts: Why iPhone apps on iPad are scaled in Pixel Double mode instead of iPhone 4 Hi-Res mode?

texts:
Possible Duplicate:
  Why does the iPad use nearest-neighbour scaling rather than Retina scaling for iPhone apps

iPad runs iPhone apps too. Sometimes people want to make it bigger and they click the "2x" button. Then the OS scales the app with pixel Doubling, which makes it look ugly because the whole app is pixelated.

Now that iPhone apps can be rendered at doubled DPI on an iPhone 4 with crystal clear quality, why doesn't Apple use this mode to display iPhone apps in 2x on an iPad? Is there a consideration other than time constraint?


texts: How to name new hard drive without conflict?

texts:
I have a MacBook Pro with a single SSD installed - the disc is called “my favourite name”

I just purchased a new larger ssd which I want to install instead of my old ssd.

When I format the new drive can I name it “my favourite name” ? What happens if I try to use migration assistant to migrate files from my backup of my old ssd called “my favourite name”?

How do I successfully transfer my files, and ensure my new ssd is also called “my favourite name”

Edit: just to clarify - this is a laptop. I remove the old drive and install the new.


texts: Windows 7 on Bootcamp doesn't want to boot. Can't copy files from Bootcamp to Osx mavericks

texts:
I have strange problem. A few days ago a was doing some projects on windows 7 and updates appeared , when windows was installing updates I closed it down by holding power button. After that I can't access to windows(windows loading screen appears, it loads for about 20 min and after that nothing happens). When I'm trying to repair it with windows install cd it doesn't recognize any windows partition. Anyway I've got many project files on Bootcamp with are very important to me. I tried copy them on OSx but I can't. OSx see correctly Bootcamp partition but I can copy only small files like PDF 120kb. Whem I am trying to copy bin files(my project) an error appears "finder can't complete the operation because some data in ... Can't be read or written. Error code -36". I tried installing ntfs-3G but after that it unmounts Bootcamp and when I'm trying to mount it again error appears. I tried also Ubuntu live cd, with ntfs-3G. I tried ntfsfix commands, I tried mount it on Ubuntu but still same problem. I also took off disk form Mac and installed it in case. I plug it by USB to another computer but unfortunately same problems. Bootcamp can't be mounted. Linux says that I should log into windows and try chkdsk /f but like I said I just can't boot to windows. I hope you can help me, because this projects are very important :/
Btw. OSx also running very slowly now. Something happend after that restart on updates and mavericks is booting very slowly and also running slowly...


texts:
The "Open Sans" font for some reason just started looking terrible on both Chrome and Safari (on Mavericks 10.9.2), becoming some super thin and light font. Does anyone know what's up? I tried resetting my font cache, but it didn't work!

See the images below, (1) On Todoist.com (which uses Open Sans), and (2) On Google Docs, where my body text uses the Open Sans font. You can see in the 2nd image, the word "Rhapsody in Red" in the body is Open Sans Italics, which looks vastly different from the regular Open Sans. The problem does not affect the Italics version, only the regular version.


texts:
I had a short window of opportunity to install the 10.12.5 update today, but the update wasn't showing up on the App Store, so I decided to download it directly. I noticed that the download was over unencrypted http.

That would be alright if I could validate the signature on the downloaded file. I could not find a checksum digest of the file. I have the Apple PGP key, but it's not clear to me that Apple actually signs the downloaded packages in any way. The instructions imply they only use the key to sign security notifications. Is there any way to validate the downloaded file?


texts: Continuity not supported to / from my iPad?

texts:
I've just installed ios8 on Both my iPhone 5s and iPad 3 (model md329kn/a). However, I can't get continuity working.

Tried starting an e-Mail on the iPad, hitting the lockout button and picked up my iPhone. No icon in the lower left corner :/ Same the other Way from iPhone to iPad. They're both on the same wifi. Should also mention that I was able to call my iPhone from my gf's phone and answer it from the iPad.

Handoff enabled in iPhone settings menu in the general section under Siri but I thought the continuity is always on - only handoff needs to be enabled?

Also, no handoff menu is visible on my iPad where it is visible in the settings app on the other device.

Did I miss something or is the iPad not capable of handoff?


texts:
I am thinking to buy a new MB Pro in March. However, the bugs discovered has made me a little bit concerned.

I am a software engineer and I am most definitely a "Power User". Apparently, some users, particularly users performing more "heavy duty" tasks, may experience a performance drop of up to 30%. I don't know how accurate this report is - I've not read much into it.

My questions are:

Are new (2017+) CPU's affected by this flaw, too?
   If so, when will CPU's start to come out that are not affected?
Will new (affected, unsold, still in shop) products have their CPU's replaced?

As I understand it, Meltdown can be patched with software, but Spectre can only be fixed with a hardware redesign...

My concern is that I will purchase my MB pro in March, just to find a short time later that Apple has had all products on the market recalled and their CPUs replaced.


texts: MySQL 5.5.11 "the installation failed" after removing old installation on Snow Leopard

texts:
I had an old instalation of MySQL but it wasn't working very well, so I Googled how to completley remove it and found this:

http://tomkeur.net/39/how-to-remove-mysql-completely-mac-os-x-leopard.html

and then did:

sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*

And now I'm getting this on a new install:

I also ran these commands:

sudo rm /var/db/dslocal/nodes/Default/groups/_mysql.plist
sudo rm /var/db/dslocal/nodes/Default/users/_mysql.plist
sudo rm /var/db/receipts/com.mysql.mysql.bom
sudo rm /var/db/receipts/com.mysql.mysql..plist

Installer error Log Says:

Apr 13 00:18:31 nizzlesmymac installd[3203]:
PackageKit: Install Failed:
PKG: post-flight scripts for "com.mysql.mysql"
Error Domain=PKInstallErrorDomain
Code=112
UserInfo=0x101e45ac0 "An error occurred while running scripts from the package ‚`mysql-5.5.11-osx10.6-x86_64.pkg`."
{
NSFilePath = "./postflight";
NSLocalizedDescription = "An error occurred while running scripts from the package "mysql-5.5.11-osx10.6-x86_64.pkg".";
NSURL = "file://localhost/Volumes/mysql-5.5.11-osx10.6-x86_64/mysql-5.5.11-osx10.6-x86_64.pkg";
PKInstallPackageIdentifier = "com.mysql.mysql";
}

This is the full installer error log: http://pastie.org/1791314


texts: Remote desktop to Mac with broken graphics card

texts:
We have a mac with a broken graphicscard (Lots of stripes etc.)

Is there some way to run it remotely without being disturbed by the graphics card?

This is a iMac G5 (PowerPC with everything in the screen).

The question is more for apps than the whole desktop.


texts: How can I make a macOS Mojave bootable USB installer in Windows 10?

texts:
I have downloaded and saved macOS Mojave installation file from the Mac App Store into my external hard drive. Unfortunately, macOS has crashed on my Mac and now I need to install it again. I have used a software named TransMac to make a installation USB in windows following the steps in the link below:

I used this link

But the provided USB drive after all these steps doesn't show up in my MacBook pro. Considering that I have saved Install macOS Mojave.app on my external hard drive, and I don't have access to any other Mac computers, How can I fix this issue and build a USB for installing Mojave?


texts: Calendar.app fails to correctly display starting time of appointment when synced with google calendar

texts:
Note the time difference in the screenshot of Calendar.app.

The appointment has been created directly on the google calendar webapp. It starts at 9.00 and ends at 10.00.

After syncing with Calendar.app it shows up as you can see in the screenshot.

The detail information on the appointment is one hour too early. This happens reproducibly every time I create a new appointment.

Calendar.app: Version 8.0 (2032.6.1)
OSX: 10.10.2 (14C109)


texts: How to paste images from clipboard in Safari

texts:
How do you paste an image from your clipboard in to websites/forms which support pasting, in Safari?

For example, in Chrome, I can take a screenshot using shift+ctrl+cmd+4 and then use cmd+v to paste that image in to a Facebook chat. This is very convenient. However, I don't seem to be able to do the same in Safari. Manually right clicking, and selecting paste doesn't seem to work either.


texts: How to restore Microsoft To Do from TimeMachine?

texts:
Due to something crazy happening I lost all of my todos in Microsoft To Do.  I have TimeMachine backups but am not having any luck getting a restore to work.
I've found ~/Library/Containers/Microsoft To Do and ~/Library/Group Containers/UBF8T346G9.com.microsoft.to-do-mac.  However after restoring them and rebooting, Microsoft To Do still comes up blank.
Does anyone know what I'm missing?


texts: I have a number of audiobooks that are very long (10 or more CDs).  I don't like having them all in separate files because when you leave and come back, you're scrolling through hundreds of files to find the one you were on.  Instead, I used an audio editor to combine them in to 3-5 hour files.  However, if you are scrubbing through the file and accidentally slip (lift your finger, etc), you've now lost your place in such a large file.  I have seen in some podcasts that have chapters, allowing you to use |<< and >>| to skip around, and keeping the scrubbing to within the chapter.  Can these be applied to audiobooks?  If not, can I tell iTunes that my book is a podcast and set them there?  I tried that once but couldn't see how to set chapter markers anywhere.


texts: Obtain Full Path of Copied File from Finder (Without special copy command)

texts:
When copying a file in Finder (Command + C) and pasting it (Command + V) in iTerm2 or Terminal the full path of the file gets pasted. I wanted to use this in a script by calling pbpaste but this only returned the file name part, not the file.

Cmd-V and pbpaste both access the clipboard but apparantly in different ways. So how can I get the path of the file selected with Cmd-C in a shell script?


texts:
I logged into my iMessage account on a friend's Mac but now I can't figure out how to sign out.

How can I secure my messages from appearing on that computer?


texts: How to specify non-breaking space on Mac Excel - Mac version of char(160)

texts:
On Windows, you can specify non-breaking spaces in Excel formulas with char(160), for example:

=A1&char(160)&A2
=substitue(cell_ref,char(160),"")

On Excel for Mac (2011), however, char(160) maps not to the non-breaking space character, but to the "dagger" character, † (†).

What's a Mac-friendly way to specify non-breaking space? (this is probably very easy for anyone who knows what encoding Mac Excel uses and how to look up character codes)

I can input a non-breaking space with opt-space, and Excel (so far) seems to treat it as a non-breaking space, but it's not great for readability - in a formula, it looks just like any space.

Bonus points for any answer that works consistently between Windows and Mac versions of excel - but for this question, Mac-only is enough


texts: Photos getting deleted from favourites album

texts: Will deleting the photos from my phone mean that the ones in my Favourites Album will be deleted too?


texts: I can't get a new password for my gamecenter

texts: I have been trying to get a new password for my I pod apple id  it keeps saying message has been sent but i don't receive  I have tried about 20 times please help!


texts: Lock Screen Notifications Without Content?

texts:
Is there a way to have lock screen notifications which notify only that an activity has happened (SMS message, Facebook message, etc.) but doesn't show the content of that activity?  (I suspect there isn't, but thought I'd ask just to make sure.)

The idea behind this is that sometimes incoming messages contain personal or otherwise private information.  And while I'd like to have visible alerts that messages have arrived, I don't want that information displayed without being able to unlock the device.


texts:
My mac is in a weird state without particular reason.
It is awake, but mouse clicks don't work, so I can't open any menus or apps.
If I shut the lid, it locks after a while, but not immediately. When it gets to the locked state, it allows me to log into my account, by typing password, but it won't let me switch user or get to the screen, where I can restart it.

Keyboard is even more weird. It react to all feature buttons (brightness, sound, keyboard brightness), except power button and "app buttons" (f3-f4). It doesn't react to holding power button for 10+ seconds, nor cmd+option+power button shortcut.

I'm able to call "force quit apps" menu via cmd+alt+esc and close all apps and restart finder, but it doesn't help.

Any ideas what should I do?

I can't detach battery, since it 2015 retina model and I don't have correct screwdriver on me.

UPDATE: External mouse and keyboard react the same way


texts: Can I identify all iTunes purchases bought with a particular ID Account?

texts:
Having restored back-up from iCloud I am being repeatedly asked for the password for a work-related email address. I was made redundant from that company about 10 years ago and cannot retrieve that password.
I'm willing to bite the bullet and erase all the relevant tracks from iTunes in an attempt to solve this problem.
My question is, can I identify them all in one go using Purchase History (or whatever) without the password for that particular account, or will I have to trawl through the tracks/albums individually?


texts: Applescript Invoke Specific User and Password

texts:
I have a do shell script that I need to run in Applescript, but it needs to run as a different user. It is to be deployed into the student's network drive as a standalone application that the students can run when required.

The example code below is only for illustration.
This code works when I am logged in, because it's picking up my username (local admin account) on the computer and uses the password provided (not the actual password included).

do shell script "rm -rf /$HOME/Downloads/*" password "Password01" with administrator privileges

I have tried to specify a username with user "sdadmin" to the code and it won't work, it throws an error.

Is there a way to ask AppleScript to run a command with a specific user and password provided in the code like above?


texts: Bootcamp app disappare when boot is rewrite

texts:
I install Windows10 Professional in USB SDD.

then when I install bootcamp support software, somehow boot area is broken and couldn't be launch.

So,I start Windows install disk and re-make bootable partition.

X:\Sources>bcdboot C:\Windows /s P: /f UEFI

then Windows10 could be launched again, trackpad or some other mac drivers works,  but there is no bootcamp software. (bootcamp icon didn't appear right-bottom of windows task bar)

when I checked the C: drive.

There is only empty folder

C:bootcamp/Program Files/Boot Camp/Boot Camp.Resources/ja.lproj

How can I re-raise bootcamp software??


texts: "An error occurred installing macOS" in VMware?

texts:
Heyo, I'm trying to build a Vagrant box for command line access to a macOS virtual machine, to make it easier to build macOS applications. I managed to script up most of the macOS High Sierra installation with packer, however the boot after SetupAssistant completes, fails with the message "An error occurred installing macOS", and I can't seem to find much more detail than that. Can someone recommend a VMX configuration or provide some tips for getting High Sierra installed better in VMware Fusion?
Trace

Installing: About 15 minutes remaining

...

Installing on "Macintosh HD"

...

An error occurred installing macOS. To use Apple Diagnostics to check your Mac hardware, shut down, press the power button, and immediately hold the 'D' key until diagnostics begins.
Quit the installer to restart your computer and try again.
Restart

Screenshots

System Specs

Guest OS: macOS 10.13 High Sierra
Host OS: macOS 10.13 High Sierra
Hypervisor: VMware Fusion 10
Physical hardware: mid-2013 13" MacBook Air

Configuration
VMX: https://gist.github.com/mcandre/df4a69809afb8103ef37ae32371c6e23
ISO generation scripts, packer configuration, and VMX settings are available as a work-in-progress "macos" branch in my packer templates repository:
https://github.com/mcandre/packer-templates/tree/macos
Mitigation steps attempted
I've already tried:

Re-generating the installer ISO image.
Re-running the packer VM build.
Tweaking VMX settings.
Disabling SMC (which results in a VM that never finishes booting).
Increasing virtual RAM to 4GB.
Specifying the virtual hard drive as a solid state drive.
Using VirtualBox (unfortunately, packer sends the wrong scancodes to VirtualBox for macOS guests, so packer + macOS guests + VirtualBox doesn't integrate very well at the moment).
Pressing 'D' during boot (no change in behavior, no diagnostics displayed).

I'm new to hackintoshing, so I'm not sure if I'm missing some critical VMX configuration, or perhaps if High Sierra introduces further complications compared to earlier editions of macOS. Or even if an alternative EFI bootloader (Clover?) is necessary, I just don't know. I'd prefer to install macOS with as vanilla/default a configuration as possible.
If anyone else has experience getting macOS to boot in VMware, let me know how the VMX configuration can be improved, or if some kind of SMC toggling intervention is necessary to get the thing to boot better. I've already tossed so many hacks and workarounds into the mix that I'm starting to run out of ideas :P


texts: How to cap the amount of local storage for Photos App

texts:
Mojave and others have a feature where Photos is optimised for local storage, once triggered it will purge a certain amount of space by leaving low fidelity version of certain photos locally and the rest on iCloud.

However this only happens once the local disk is X% full (80%?).

Is there a workaround to cap the amount of storage available for the Photos app, so that is process is not taking over excessive amount of storage.

Cheers.

Edit:

SSD Capacity 512 GB
Current Photos Cache: 150 GB
Photos to be Imported: ~1 TB
iCloud Storage Available: ~1.5 TB


texts: Which iPhone app is connecting to e.crashlytics.com?

texts:
My iPhone tries to connect to e.crashlytics.com several hundred times a day (and this is just the time it is connect to my wifi), according to my Pi-hole.

How can I identify the app that tries to establish this connection?


texts:
I'm on a mac in Terminal.

open -a "Sublime Text 2"

opens Sublmine Text 2, just like I want it to.

I now want to alias this to my .bashrc file, which I have an use for other things like prompt configuration.

alias sublime='open -a Submlime Text 2'

doesn't work. Neither does

alias sublime='open -a "Submlime Text 2"'

running

source ./.bashrc

doesn't help.
Each time I am told

/Volumes/Belladonna/Blake
≈:≈ sublime
Unable to find application named 'Submlime Text 2'

I'm doing this wrong and I know it must be a simple answer...


texts: Terminal app Tabs, how to position next to current tab instead of at the end

texts:
I use Cmd-T all the time to open new tabs, and it's set to use the same directory.

However, it positions the new tab as the last / far right tab in the window, instead of next to the current tab that I'm in.  Since it's often related to what I'm working on, I'd like to appear right next to the current tab.

Is there a setting for this?  (found lots of things about Terminal and Tabs, but not this specific question)

Thanks


texts:
Since the 10.15.5 Catalina update, file dialogs in my system are extremely slow. It can easily take a couple of minutes to be able to save something to the disk. Never had a similar problem before.

Ran a disk check, made sure that I have free disk space (more than 400GB).

Otherwise, the machine is running smoothly, without any other issues.

Tried googling around and found out that there was a similar issue back with Sierra. Tried to apply the proposed fixes, but to no avail.

In Safe Mode the problem doesn't appear to persist.

Any suggestions would be greatly appreciated!

Machine specs: Mac (Retina 4K, 21.5-inch, 2017), 3,4 GHz Quad-Core Intel Core i5, 8 GB 2400 MHz DDR4, 1TB Fusion Drive.

Update:
No finder extensions installed. No OneDrive/Dropbox/anything like that.

    kextstat | grep -v com.apple
    Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
  102    0 0xffffff7f80f2d000 0x6c4000   0x6c4000   com.realtek.driver.RtWlanU (1830.32.b13) E254FC27-6491-3BC2-BBE8-1B529EA778CD <57 18 6 5 3 1>

Update 2:
It takes roughly 90 - 120 seconds to a Save or Open dialog to become active. While it's stuck, the CPU usage by the process gets close to 100%. Doesn't matter the application I'm using - QuickTime, Pages, Microsoft Word, Photoshop or Safari

Update 3:
Booted up in the recovery mode and reinstalled Catalina keeping all the computer data. The problem persists

Update 4:
Installed BitDefender Trial version in order to make sure there is no malware/virus/whatever on my machine. 90 minutes later - nothing found, but the problem persists.

Update 5:
Configured a new administrator account on the Mac. While configuring it, unchecked all iCloud features - the problem doesn't reproduce using that account.
Updated the new account with iCloud settings (photos sync, documents sync), the problem doesn't appear.


texts: Updating SSL root certs on old Mac (running Lion)

texts:
My father-in-law reported an "Invalid SSL certificate" suddenly started appearing on his online banking website.

After verifying it's not a website issue (it loads correctly on other computers), I understood that the root certificate of the website certificate is not being trusted probably because too new and the Mac is not being updated anymore.

Is my understanding correct?
If yes, is there a safe way to download new root certificates that are being added to recent Macs?


texts: How can I stream a mp4 video file as input for audio/video loopback devices in macos?

texts:
In Linux, we can use ffmpeg to stream a video file as inputs to virtual audio/video devices emulated using v4l2loopback & snd-aloop drivers.

LINUX

  ffmpeg -i /home/user/downloads/myvideo.mp4 -map 0:0 -f v4l2 /dev/video0 -map 0:1 -f alsa hw:Loopback,0

The above command will pass the audio & video streams from the mp4 file to alsa loopback card & v4l2loopback webcam respectively.

I want to achieve the same thing on MacOS VM running in virtualbox using webcamoid's akvcam virtual webcam driver & soundflower loopback card which are identified via avfoundation as list below:

$ ffmpeg -f avfoundation -list_devices true -i ""
[AVFoundation input device @ 0x7f2d3e802560] AVFoundation video devices:
[AVFoundation input device @ 0x7f2d3e802560] [0] Testcam1 (akvcam/video0)
[AVFoundation input device @ 0x7f2d3e802560] [1] Capture screen 0
[AVFoundation input device @ 0x7f2d3e802560] AVFoundation audio devices:
[AVFoundation input device @ 0x7f2d3e802560] [0] Soundflower (2ch)
[AVFoundation input device @ 0x7f2d3e802560] [1] Soundflower (64ch)

Though it doesn't straight forward like Linux, I had tried the following to make it happen, but was not successful :

MACOS

  ffmpeg -i ~/Downloads/myvideo.mp4 -f avfoundation -video_device_index 0 -audio_device_index 0

resulted in this: one output file is must be specified to write the output

The examples I came across in the web are just meant to be capturing audio/video through the devices as like the one here :

Example Found:-

  ffmpeg -f avfoundation -pixel_format bgr0 -i "0:0" out.avi

But I need the command to perform the thing in the reverse way to broadcast it in a web conference. Any guidance will be highly appreciated...