texts: Finder/Terminal: Find files that contain less than 21 lines of text

texts:
I have lots of text files that have a different number of lines of text in them.

In Mac OS Finder, is there any way to search for files that are less than 21 lines? (i.e. each file has less than 21 line of text in them).

The Search for files gives lots of options, but I can't see one that is for line length.

From reading up on the subject, it seems using Grep in Terminal may be the best way, but I haven't found any sources that explain how to use Grep to search for line length on multiple files.


texts:
First, a little background. I listen to my iPhone in two cars, a Honda and a BMW. The Honda uses the Aux In, and I have a Bluetooth speakerphone, through which I use Voice Control to start playlists. In the BMW, I use the built-in iPod integration.

I primarily listen to a handful of playlists while in either car, but have dozens more on the phone. I can't use Voice Control in the BMW, so I use the iDrive interface to kick off playlists. As such, I want the playlists I listen to in the car at the top. I prefixed my car playlists with underscores, and everything was great. On iOS 4, they showed up on the iPhone (and iDrive) as follows:

_First Car Playlist
_Second Car Playlist
Another Playlist
Playlist Not For Car

They showed up at the top of the BMW's playlists, and Voice Control still found them with no trouble.

And along came iOS 5, which seems to trim all non-alphanumeric characters from the beginning of each title before sorting. On iOS 5, they show up as follows (on the iPhone and iDrive):

Another Playlist
_First Car Playlist
Playlist Not For Car
_Second Car Playlist

I tried numerous symbols (.$!,?), all of which were ignored. I can't use numbers, because numbers sort to the bottom of the list, and it's not practical to number every playlist. For now I've renamed them as follows:

a First Car Playlist
a Second Car Playlist
Another Playlist
Playlist Not For Car

This works, but it's ugly (less legible), and though Voice Control gets it right when I say "First Car Playlist", it reads it back with the leading "A", which annoys me. Can anyone else come up with another solution?


texts: MBP resolution changes when connected to an external display

texts:
Until recently, I was able to connect an external display to my 2013 MBP Retina without a problem. As of the past week or so, connecting an external display results in the resolution of the MBP changing from 2880x1800 to 1440x900. The external resolution is unaffected. I'm unaware of any particular system changes prior to when this problem started.

I use Display Menu to manage the resolutions of both displays and this has worked well for me for the past year or so.

The problem sounds like it's the same as described here: Is there a setting to make the Mac not change resolution when connecting to an external display? except that I'm not trying to mirror the MBP display and mirroring is not switched on.


texts: Group Significant locations by date instead of location

texts:
I find the "Signficant locations" feature in IOS very useful.

(Settings -> Privacy -> Location Services -> System Service -> Significant Locations)

I will look through it when I do my time/billing as a reminder of where I've been.

However it groups the data by location, so if I want to find out where I was last Tuesday, I have to check every location in the list to try and see if that date is present.

Is there a 3rd party app that uses that very same data that groups it differently?


texts: I have an iMac 21.5" 2.5 GHz Intel Core i5 Macintosh HD - Yosemite. My Screen Saver comes up with foreign words and gobbledygook that I don't understand.  Went into  Finder/library/Screen Savers (this is what is in my Applications) to see what I could do but there is nothing in this folder.  This looks bogus to me. Do you agree and what should I do?


texts: Is that possible to change IMEI on Iphone 5?

texts:
I know changing the IMEI number of the phone, is illegal in most countries.

I'm basicly curious about two things:

Is that possible?
If it is not possible; why is that so hard, technically? (Considering the fact that it is written somewhere in the phones memory.)


texts:
My virus scanner (Sophos) showed that it was scanning a file named rt.jar plus several other .jar files. I was a little bit surprised because I didn't think that Java was installed.

Yet, when I search using Finder, I can't find any indication that this or any other .jar file exists on my system (OSX 10.10).

Any suggestions about where/how to look?


texts: Will running a double monitor in clamshell mode put more stress on my computer?

texts: I'm wondering if my mid-2010 Macbook Pro will be more stressed than it should if I run a 22-inch monitor in clamshell mode.  It seems to be whirring more than usual when I do this, so am I better off just getting an iMac?


texts: Issues with installing Social Engineering Toolkit (S.E.T)

texts:
I'm trying to install Social Engineering Toolkit (S.E.T) on OS X Lion.

I found these commands in the internet:
git clone https://github.com/trustedsec/social-engineer-toolkit

cd social-engineer-toolkit

python setup.py install

setoolkit

But after I do python setup.py install it gives me this output:

Saffet-iMac:social-engineer-toolkit SaffetYurtoglu$ python3 setup.py install
Searching for pexpect
Best match: pexpect 4.2.0
Adding pexpect 4.2.0 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
Processing dependencies for pexpect
Finished processing dependencies for pexpect
Searching for pycrypto
Best match: pycrypto 2.6.1
Adding pycrypto 2.6.1 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
Processing dependencies for pycrypto
Finished processing dependencies for pycrypto
Searching for pyopenssl
Best match: pyOpenSSL 16.0.0
Adding pyOpenSSL 16.0.0 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
Processing dependencies for pyopenssl
Finished processing dependencies for pyopenssl
Searching for pefile
Best match: pefile 2016.3.28
Adding pefile 2016.3.28 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
Processing dependencies for pefile
Finished processing dependencies for pefile

It seems like everything is ok but nothing happens. What should i do?


texts: I've broken my new MacBook Pro (with touchbar) like this, do I have to repair it?

texts:
I am not sure whether this is a good question for this place. But I'd still like to have a try. It's anyway an "Apple question". If it's not a good place, I hope someone can let me know where should I go.

Here is my question:

I've broken my new MBP (the 2016 version with touchbar) like this:

Here is a high-quality photo:

Do I HAVE TO have it repaired?

I'm living in a place far away from Apple Store in the city so I'd like to get some online help before I make the decision to drive to downtown.

Thanks very much for any kind of tips.


texts: EFI Partition seems to have been replaced, can still boot with rEFInd but need to repair EFI Partition

texts:
Somehow in the process of installing Ubuntu on an external drive I seem to have overwritten my EFI partition to an HFS+ format named "Ubuntu". With rEFInd installed I don't have any problems booting into macOS, so I'm wondering if there is a non-destructive way of rebuilding my EFI partition.

diskutil list

gives me:

where /dev/disk0s1 should be the EFI partition that is missing. Does anybody have any tips on how to non-destructively rebuild the EFI partition?


texts: MacBook Pro battery cycles keep increasing though plugged in continuously

texts:
I keep my MacBook Pro 16" plugged in all the time. My cycle counter keeps going up one by one every few days.
Perhaps one of my apps is forcing lots of power consumption? Is there an application that monitors which app is draining the battery most?


texts: How to revert launchctl PATH to defaults?

texts:
There are many questions and commentary about using launchctl setenv PATH /path/to/include in order to have GUI apps inherit user-specified paths. I did this about four years ago, and the changes I added have persisted to 10.11.6 (current OS). Unfortunately for me, I have long forgotten these settings until recently...
None of the man pages or commentary indicates how to revert these changes to factory defaults. For instance, running launchctl getenv PATH yields:
/usr/local/bin:/usr/local/opt/libpcap/bin:/usr/local/opt/e2fsprogs/sbin:/usr/local/opt/e2fsprogs/bin:/usr/local/opt/flex/bin:/usr/local/opt/gettext/bin:/usr/local/opt/openssl@1.1/bin:/usr/local/opt/openssl/bin:/usr/local/opt/qt/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/GDAL.framework/Versions/2.1/Programs:/Library/Python/2.7/site-packages:/usr/local/lib/python2.7/site-packages:/Applications/Wireshark.app/Contents/MacOS
Running launchctl setenv PATH [blank] is evidently an error, demanding a non-blank value. I'm also hesitant to experiment with this much because I don't know whether there is a macOS default setting for this key-value pair.
Can someone please tell me how I can flush the current contents of launchctl getenv PATH or to return its content to what would appear in a fresh install? I would rather not replace what's currently there with the default paths from /etc/profile and the like, unless those are the self-same values that appear when running launchctl getenv PATH on a fresh installation.
Edit
Running launchctl unsetenv PATH did clear out the variable, but it did not persist after reboot - i.e., the same path values returned after a restart.


texts: screensaver causes error "share does not exist on the server" to endless loop

texts:
I've been trying to learn to automate my home Mac environment with Applescript.  I've had some success, but am running into seemingly inconsistent and troublesome errors.  In order to diagnose the errors, I've broken the scripts down into their component parts and narrowed the most troublesome issue down to the Screen Saver.  When I activate the current screen saver via a script, or if I access the Screen Saver control panel via the System Preferences, I get

I can click the "OK" button and it dismisses, sometimes for good, but most often it loops endlessly and my only option is to force a restart by holding down the power button.  I've tried force quitting all open apps, and relaunching the finder and the error message/dialog box loop remains running.

Oddly, starting the Screen Saver with the Hot Corner does not seem to trigger the error.

To me this indicates that the issue isn't with my script, but that there's a problem with my Mac.

For what it's worth, I've also had issues with connecting to my Time Capsule backup which is the only drive on that server.

The machine is a MacBook 13-inch Late 2007 running OS 10.7.5.

Thoughts?

Update -

I thought that the Screen Saver might have been trying to call up images from a drive that used to be connected to the Airport Extreme but that is no longer there.  I reset the Screen Saver control panel to one of the built in Screen Savers (after many tries at dismissing the irksome dialog box) and I deleted my user defined Screen Savers.  This did not resolve or change the issue in any way.  I've tried the same AppleScript on two other Macs without incident.  Both of these other Macs are running 10.9.5 though, so that may or may not indicate anything.

Is there a way to re-install just the Screen Saver, or should I try to re-install the entire OS?  Is there something else I should try?

Thanks!

Update 2

Well, re-installing the OS did not resolve the issue.  I tried deleting the preferences plist from both the user library folder and the library folder at the top level of the hard drive.  This didn't resolve it either.  Perhaps it's an issue with the Airport Extreme, though I can't imagine why the Screen Saver in a re-installed OS would need to access the Airport Extreme.  I'm really stumped here and beginning to wonder if I'm going to have to pay for more expert help.  Thoughts?

Update 3

It occurred to me that though the Screen Saver should not be trying to connect to some external volume, it still might be.  I used to have a number of hard drives connected to, and shared by the Airport Extreme.  One of those drives stopped mounting reliably, and as it so happens, it's the one with my pic archive and iPhoto files on it.  I took it to a local shop and they worked some low level UNIX magic on it and recovered my data to a new, larger drive.  This new drive is now connected to my RAID 1 server Mac Mini, not the Airport Extreme.  When I mount the volume with the pic archive to my desktop first, there is no error message.  Dismounting it and running the script or opening the Screen Saver control panel prompts the error message.  Help?


texts: When connected to VPN using the built-in VPN service, is all my internet traffic routed through the VPN connection?

texts:
I have configured a VPN service using only the built-in options from OS X. I have configured it as follows:

Interface: VPN
VPN Type: Cisco IPSec
Service name: ...

I don't have any settings under Advanced, so I have entered no DNS Servers, no Search Domains, and no Proxie Servers or Proxy Configuration file for any of the protocols.

When am I connected to this VPN, does all my traffic go through the VPN connection? In other words, if I am using a messenger, searching on Google, sending email or browse the web, can the provider of the VPN service see all my traffic?

Edit:

Here are the default entries in my routing table (output from netstat -r -n):

Routing tables

Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            192.168.1.1        UGSc           10        0     en1
default            gway#5             UCSI            0        0   utun0

There are a whole bunch of IP-addresses that list specific gateways. I checked some of those IP-addresses, and they are related to the network that I use the VPN for.

Does the fact that the first default is my own modem/router mean that in fact not all internet traffic passes through the VPN?


texts: MacBook Pro won't boot from USB installer or go into recovery. Tried everything

texts:
Hi I have a MacBook Pro (15-inch, Mid 2012) that won't boot using any method.

Around 6 months ago, the mac started making loud scratching sounds, but they stopped after a day or so. However, a few days later the mac suddenly froze and then shut down automatically. When attempting to boot, it would reach the Apple logo and fill the progress bar half-way before restarting. This would happen several times in a row before it would finally boot. Then the computer would function normally for a while before the whole process (but no sound this time) would happen again.

When it did turn off, the screen would sometimes fill with rainbow colored bands and any sounds playing would get stuck with one note playing over and over, sounding like a stuck vinyl record. Then when it would get to the half-way loaded point, it would suddenly shut down and restart. It would take luck to finally get to the password screen.

I wiped the hard drive and this solved the problem for a few months. No issues at all. But then back in December it started having the same problems (again, no more sound, just the sudden shut downs and difficulty booting). I was set to wipe the disk again, but this time it refused to boot entirely, no matter how many times I tried restarting and waiting.

It's been a few months since then and nothing has changed. I bought an external hard drive and a USB flash drive in an attempt to boot from a different source than the internal drive. Here is what I have tried and what the results are:

Reset the NVRAM and SMC. Successfully reset, but had no effect.
Try to use Recovery Mode and Internet Recovery Mode. The spinning globe appears, asks me to enter the wi-fi password, then the progress bar completes. The globe goes away and then the screen remains gray but hangs there indefinitely. The options for Disk Utility, Reinstall OS, etc never appear.
Install OS X Lion from a different Mac on to external hard drive and attempt to boot from there. The Apple logo appears, the progress bar fills up half-way, then the screen turns black, before it turns blank gray. It hangs there indefinitely.
Download OS X El Capitan installer on USB drive and use terminal to run createinstallmedia and attempt to go into recovery from there. Same result as above. Currently staring at the blank gray screen as I type this.
Boot from Recovery HD. Same result as above.
Boot as a Guest User in Safari-Only Mode. Same result as above.
Launch into Safe Mode. No error messages found.
Run Apple Hardware Test. I ran the extensive test, but no issues were found with the hardware.

So I've tried all of these methods and I can't even get to Disk Utility or any other options. I don't care if I lose all the data on the old hard drive, I just want to be able to boot from the external drives or at least get to the point where I can run Disk Utility. What could be wrong with the computer?

TL;DR : MacBook Pro 2012 can't boot into recovery from internet, USB drive, or external hard drive. Gets to Apple logo and then either shuts down or hangs on a blank gray screen indefinitely. Help!!!

Other Info: I don't have TimeMachine backups. All the methods I've listed work on the second mac so I'm not entering any commands wrong. When charging my iPhone, if I attempt to boot from the internal drive, the phone will stop charging for a few seconds as the progress bar fills up before resuming charging.

Thank you for any help you may have. It is really appreciated.


texts: Image Compression Power point Presentation 2011

texts:
I am trying to make a presentation, and am facing a problem.  I am facing picture compression issues . In addition to this saving problem, that pictures become worse quality every time I save the file, I am experiencing problems while trying to insert files. All pictures are inserted blurry. This applies for emf, png and, pdf.

I cannot find these advanced settings from Powerpoint for Mac 2011. How can I import/insert pictures to Powerpoint in their original quality? How can I control the picture compression?

I am using a Yosemite 10.10.2 version. Please help..!


texts: Is icloud drive on desktop storing file on my locally or on the cloud?

texts:
Question is simple, i subscribe to a 200GB icloud drive.
My desktop has 60GB available for storage (on SSD)

Will i be able to fill my icloud drive with data from my dying USB external drive, and can you explain me how to do that ? (i just put 20GB from my external drive to C:\mysuser\icloudrive\stuffs\ and now i only have 40GB available on my windows 7 C:\ ), 180Go remain to be transfert, how can i do that ?


texts: Error when I run open -a Simulator on latest Xcode on Mojave

texts:
I'm on Mojave and updated my Xcode only.

Now when I run open -a Simulator in the terminal I get :

LSOpenURLsWithRole() failed for the application /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app with error -10810.

with a Problem Report for Simulator dialog box :

Process:               Simulator [1735]
Path:                  /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
Identifier:            com.apple.iphonesimulator
Version:               11.2.1 (912.4)
Build Info:            Indigo-912004000000000~81
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Simulator [1735]
User ID:               501

Date/Time:             2019-11-26 12:50:44.557 +0530
OS Version:            Mac OS X 10.14.6 (18G1012)
Report Version:        12
Bridge OS Version:     4.1 (17P1081)
Anonymous UUID:        ECB481F4-CDED-82D5-E3F8-8E8D4935F21D

Sleep/Wake UUID:       1767E2FD-5142-42C2-8D1B-810ABF4725E1

Time Awake Since Boot: 7400 seconds
Time Since Wake:       120 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x4] Symbol missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Symbol not found: _SimCarPlayPropertyKeyHasBackButton
  Referenced from: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
  Expected in: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
 in /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator

Binary Images:
       0x10ea56000 -        0x10eae6ff7  com.apple.iphonesimulator (11.2.1 - 912.4) <668F9B50-AFF0-33BC-812E-39B176C2B4EE> /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
       0x10eb21000 -        0x10ebb4ffb  com.apple.CoreSimulator (587.35 - 587.35) <0274C7CA-A3E7-3A39-BCA9-C117DF69F40A> /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
       0x10ec05000 -        0x10ecc2ff7  com.apple.SimulatorKit (1.0 - 570.3) <4FE40008-D5D4-3F27-9748-EC3873046020> /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit
.
.
.
Model: MacBookPro15,1, BootROM 1037.40.124.0.0 (iBridge: 17.16.11081.0.0,0), 6 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC
Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, spdisplays_builtin
Graphics: kHW_AMDRadeonPro560XItem, Radeon Pro 560X, spdisplays_pcie_device, 4 GB
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2400 MHz, SK Hynix, -
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2400 MHz, SK Hynix, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Mar 28 2019 19:17:52 version 9.137.9.0.32.6.34 FWID 01-36f56c94
Bluetooth: Version 6.0.14d3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: iBridge Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 42.1
Thunderbolt Bus: MacBook Pro, Apple Inc., 42.1


texts: Is there a way to automatically open Preview whenever I plug my iPhone in my Mac to import the photos? Also want to do this when connecting my Nikon SD card. I just hate this new Photos app, I prefer to use Preview to import.


texts: How to set default number formatting in Numbers?

texts:
In Numbers, I've seen how to change the default cell colour and font, based on table styles.

But how can one change the default number formatting? The default "American" formatting for dates, for example, drives me nuts, and it's often the first thing I change in every new spreadsheet I create!

I would like dates to automagically take on YYYY-MM-DD format — especially if I enter them that way! But currently, they revert to DD mon YY format.


texts: Curl from Pastebin messes with carriage returns

texts:
Whenever I use curl to get a file like .profile from Pastebin, the .profile file isn't read properly. I did some checking, and it seems to be down to the carriage returns.

How do I solve this problem? Can I correct the carriage returns in transit?


texts: Middle row of keyboard (a-;) duplicating top row (q-p)

texts:
I have a 2010 white Macbook and the middle row of the keyboard has gone funny. The keys all work fine still but they no longer correspond to the correct key. Pressing a for example prints q, h prints y, ; prints p.

Caps lock, ', \ and Return all work fine on the middle row however.

I've tried reducing it to one stick of RAM, tried it in both slots to see if that was the problem. Still the same results.

With the keyboard viewer open I can see the same results being highlighted, as if the middle row isn't there.

I have bootcamp installed and the same results happen in Windows too.

I've tried hunting around for the same issue but I can only find broken keys, not mismapped keys. Does anyone know how I might go about attempting to fix this?

Also to my knowledge nothing was spilled on the laptop it just stopped working one day.

SMC reset hasn't fixed it and external keyboards working fine.

Thanks


texts: Is there any way to show the hidden files at the end of Finder's file list?

texts:
I have Finder set to display hidden files/folders. This is rather inconvenient when I open my home folder however, given it contains a lot of them.

Is there a way to change the alphabetical sorting of Finder's file list, so that it sorts files beginning with "." at the end of the current file-list?

It's a longshot, but you never know.


texts: Why does dictation reload after not using for 10 minutes?

texts:
The integrated dictation software on my Mac (whose hotkey is pressing function twice) takes 10 seconds to initialize after not using it for around 10 minutes. It's a minor nuisance, but still a nuisance. Is there documentation for changing the settings?

MacBook OS 10.11


texts: Macs won't connect to Belkin router's wifi, but USB dongle and android devices will

texts:
Belkin N300 (crap router I know)

Newest MBP running 10.11
Newest MBP running 10.10

Can't connect to wifi. It'll say, could not connect to [SSID]. Try moving closer to the router and please try again.

Now, the weird part is, 10.11 mac is connected to the same wifi via a little USB 802.11n NIC. An android phone and an android tablet are also connected right now.

Still, both macs using their normal built-in NICs are incapable of joining! I've been spinning through all the options on the router, scouring google, to no avail. Both macs work fine, were just connected to another wifi earlier this morning and all week long (an identically-configured, identical-model Belkin N300 although I think it's channel was set to Auto), the 10.11 mac even connected to this SSID earlier. It was upon shifting channel from 10 to 6, and then from that point on, neither mac would connect.

I don't think changing the channel from 10 to 6 can cause this, because I've changed channels before, and it's not a problem.

I've tried all the usual things, looked through tons of settings. It seems very unlikely the problem lives within the macs, seeing as they were connected to a Belkin N300 earlier this morning, and the one even connected to this one for a little bit.

The only interesting thing I've noticed is that Wireless Diagnostics scan sees the SSID as being B/G/N, though the settings in the router's settings are N only.

Any ideas?


texts: How to always show the menu bar on fullscreen mode?

texts:
Do not tell me to use this shortcut CTRL + COMMAND + F to exit or enter in the fullscreen mode. I would like to always see the menu bar in the top of the page when I am in fullscreen mode, is it possible?

This Mac default style is completely annoying.


texts: Moving contacts between groups in iOS devices?

texts:
Can I move a contact from the All group to another group in an iOS device?
I don't see a way to do this on my iPhone XR with iOS 14.4.1


texts: Problem downloading large app using iPad 2

texts:
I tried to download a 500MB app using my iPad 2 connected to WiFi and got an error stating that the app could not be downloaded.

Someone told me that its because the file is too large to be downloaded from the iPad and that I will have to download the app via iTunes on a PC and then sync it with my iPad.

How true is this? And how can I fix this issue?


texts: How to list files of any installed app in the MAC programmetically?

texts:
I am making MAC app in which I want to list of files / folders related to any installed app in the mac.

For example;

I want to get list of all the files and folders of Skype app installed in my MAC programmatically.

How can I do this?

Can I get list of files or folder related to installed mac programatically?


texts:
https://www.unix.com/man-page/osx/2/renameat/
I see osx has renameat2 as shown here. But I don't find it on Catalina. Could anybody where I can find the manpage of renameat2?
EDIT: man renameat gives me something like this. But renameat2 does not exist on the manpage.
RENAME(2)                   BSD System Calls Manual                  RENAME(2)

NAME
     rename, renameat, renamex_np, renameatx_np -- change the name of a file

SYNOPSIS
     #include <stdio.h>

     int
     rename(const char *old, const char *new);

     int
     renameat(int fromfd, const char *from, int tofd, const char *to);

     int
     renamex_np(const char *from, const char *to, unsigned int flags);

     int
     renameatx_np(int fromfd, const char *from, int tofd, const char *to, unsigned int flags);

The path of renameat's manpage is here.
$ man -w renameat
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/share/man/man2/rename.2


texts: How to use environment variables in applescript

texts:
I'd like to use my environment variables, which were defined in my environment.plist file, in my applescript.

How do I do that, for instance:

log "Glassfish Home: " & AS_HOME

Where AS_HOME is my environment variable.


texts: applescript CURL with authentication fails

texts:
QUESTION: i need a working method to be used in applescript to get the right source of the page, WITHOUT loading the page.

sample link: https://www.idealista.it/immobile/16679597/

result: wrong html, it talks about authentication.

INITIAL CODE (always present for all the tries below):

set MyUser to username@dom.com
set MyPass to password
set UrlOfPage to "https://www.idealista.it/immobile/16679597/"

TRIES (all of the tries below are given in this webpage https://ec.haxx.se/http-auth.html):

works but need the page to be loaded in Safari

tell front document of application "Safari" to set StrHtml to (get source) as string

returns wrong html

set StrHtml to (do shell script "curl --user " & MyUser & ":" & MyPass & " " & UrlOfPage)

set StrHtml to (do shell script "curl --anyauth --user " & MyUser & ":" & MyPass & " " & UrlOfPage)

set StrHtml to (do shell script "curl --digest --user " & MyUser & ":" & MyPass & " " & cellurl)

set StrHtml to (do shell script "curl --negotiate --user " & MyUser & ":" & MyPass & " " & cellurl)

set StrHtml to (do shell script "curl --ntlm --user " & MyUser & ":" & MyPass & " " & cellurl)

doesn't work: unknown token

set StrHtml to (do shell script "curl --proxy-anyauth --proxy-user " & MyUser & ":" & MyPass & " https://www.idealista.it/immobile/16679597/ \ --proxy https://proxy.idealista.it/immobile/16679597:80/")

could somebody help me now please?


texts: Fails to get IP address after temporary cable disconnect

texts:
When I boot my Mac up with a network cable plugged in (connected to my router), the network works fine. But after the connection has been physically separated once (and the cable reinserted), it fails to get an IP address from the router (via DHCP). Mac OS just assigns a seemingly random IP address, and I can't access the internet anymore. After a reboot (with the cable plugged in), it works again.

This seems to be a Mac-only, cabled-only problem. WiFi works fine, and every other computer I tried (Windows & Linux notebooks) doesn't have the problem.

I'm using OS X Lion, and the Router is a D-LINK DIR-615, if it matters.


texts: Why does my MBP Retina Mid 2012 show Intel HD 4000 when it came with an Nvidia GT 650M?

texts:
When I click the Apple logo in the top left -> About This Mac -> more info... I see:

  Graphics Intel HD Graphics 4000 1024 MB

But I bought it with nVidia GT 650m graphics. So I click the Displays tab and again it shows Intel HD Graphics 4000. So I then go back to the Overview tab and click System Report... -> Graphics/Displays. Intel HD Graphics 4000 is highlighted, but below it I finally see the NVIDIA GeForce GT 650M!

Is my system using Intel HD Graphics 4000 instead of the more powerful GT 650M graphics? The machine has been amazing, but Unreal Engine 4 is a bit slow.


texts: How do I disable all Option+Key shortcuts?

texts: I've used Automator to write a quick action refreshing current tab in Chrome and I've added Option+Z as a global shortcut for it. It works fine, except when the cursor is in a text field, in which case it just types Ω. I never use these odd symbols and I also want to add more Option+[key] shortcuts later, so how do I just completely disable the feature that types these esoteric symbols then I press Option+[key]?


texts: Check for available app downloads on Apple TV

texts:
Several months ago I bought Sonic the Hedgehog (1) on iOS and was very happily surprised to see it appear on my 4th gen Apple TV also. Now I bought Sonic 2 but it hasn't shown up on the Apple TV yet.
I checked that it is one of the Sonic games with an Apple TV counterpart, so it is possible.
In the Apple TV menu I went to Settings > Apps > Automatically Install Apps and switched it to "On" (I guess it was off when I purchased Sonic 2, but not 1). I then restarted the Apple TV but no new apps appeared.
I also tried switching accounts and switching back, hoping that would prompt tvOS to check for available downloads, but it didn't.
How can I get iOS apps with an Apple TV version to install on Apple TV? Thanks.


texts: Safari acting weird. Not loading pages and showing some Chinese text

texts:
Occasionally my Safari hangs on loading a page, and after some time shows this text:

  㰡ⴭ⁌佃䅌䥚䕒区⁅慣栠汯捡汩穡扬攠灩散攠潦⁴桥⁰慧攠楳慲步搠睩瑨潭浥湴ⴾਊ㱈呍䰾਼ℭⴠ䱏䍁䱉婅剓㨠䥦渠愠物杨琭瑯⵬敦琠汯捡汥Ⱐ慤搠摩爽≲瑬∠瑯⁴桥⁈呍䰠敬敭敮琮ⴾ਼䡅䅄㸊††㱌䥎䬠牥氽獴祬敳桥整⁴祰攽≴數琯捳猢牥昽≰慧攭汯慤ⵥ牲潲献捳猢㸊††㰡ⴭ⁌佃䅌䥚䕒区⁙潵楧桴⁷慮琠瑯桡湧攠瑨攠景湴慭楬礮⁙潵慮汳漠慤搠獴祬敳⁴漠潶敲物摥⁳楺敳Ⱐ整挮ⴾਠ†‼協奌䔾ਠ†††⁂佄夠筦潮琭晡浩汹㨧䡥汶整楣愠乥略✻紊††㰯協奌䔾ਊ††㰡ⴭ⁌佃䅌䥚䕒区⁔桥數琠汩湥潮瑡楮猠瑨攠灡来⁴楴汥⁴桡琠慰灥慲猠楮⁴桥⁷楮摯眧猠瑩瑬攠扡爠ⴭ㸊††㱔䥔䱅㻐鷐딠킲킴킰킻킾톁톏⃐닑雐듐뫑胐룑苐렠톁톂킾톀톖킽킺톃㰯呉呌䔾਼⽈䕁䐾ਊ㱂佄夾਼摩瘠捬慳猽≥牲潲ⵣ潮瑡楮敲∾਼摩瘠捬慳猽≩捯渢汴㴢卡晡物⁉捯渢㸼⽤楶㸊㱤楶污獳㴢瑥硴ⵣ潮瑡楮敲∾਼ℭⴠ浡楮⁴楴汥敲攬⁲数敡瑥搠㌠瑩浥猠ⴭ㸊㱐污獳㴢敲牯爭瑩瑬攠敲牯爭瑥硴ⵥ湧牡癩湧∾╀‼䄠楤㴢桥汰ⵢ畴瑯渢㸼⽡㸼⽐㸊㱐污獳㴢敲牯爭瑩瑬攠敲牯爭瑥硴∾╀‼䄠楤㴢桥汰ⵢ畴瑯渢㸼⽡㸼⽐㸊㱐污獳㴢敲牯爭瑩瑬攠敲牯爭瑥硴⵩湮敲⵳桡摯眢㸥䀠㱁搽≨敬瀭扵瑴潮∠捬慳猽∥䀢⁈剅䘽❯灥渭桥汰ⵡ湣桯爺╀✾㰯愾㰯倾਼⽤楶㸊㱤楶污獳㴢瑥硴ⵣ潮瑡楮敲∾਼ℭⴠ敲牯爠浥獳慧攠桥牥Ⱐ牥灥慴敤″⁴業敳ⴾ਼倠捬慳猽≥牲潲⵭敳獡来牲潲⵴數琭敮杲慶楮朢㸥䀼⽐㸊㱐污獳㴢敲牯爭浥獳慧攠敲牯爭瑥硴∾╀㰯倾਼倠捬慳猽≥牲潲⵭敳獡来牲潲⵴數琭楮湥爭獨慤潷∾╀㰯倾਼⽤楶㸊㰯摩瘾਼⽂佄夾ਊ㰯䡔䵌㸊

Maybe someone knows what that text is? Or how to solve a problem at all?

I'll be very grateful for reply.

P.S. Also when some page hangs while loading and I hit refresh, it usually loads instantly. So it's now a problem with an internet connection.


texts: How to register an AppleScript as a potential default web browser?

texts:
I've written an AppleScript that I want to set as the default browser.

I've added a CFBundleDocumentTypes section to the p-list (copied from Safari) and rebuilt the launch services database, but that didn't work.

The script doesn't show up in the Safari default browser list. If I choose it manually in that preferences dialog, it's ignored, and Safari becomes the default browser.


texts: Desktop image is not showing in Mountain Lion with dual monitor

texts:
I have a MBA connecting via HDMI to Samsung Monitor.
Problem is desktop background for Samsung monitor is not showing. There is only grey desktop and doesn't have any changes even I try to change the image of the desktop at System Preferences.
Changes for the MBA desktop is ok.
Is that a mountain lion bug?


texts: How to use multiple audio outputs (of a mac) simultaneously?

texts:
I have en external USB-audio device, which is great (Steinberg/Yamaha).
And a bluetooth speaker and an Apple TV.

Is it possible to stream audio to ALL this devices simultaneously and synchronously ?


texts: How do I refresh a "Lion" iMac to run "Mountain Lion" (factory install, wipe drive)

texts:
What is the easiest way to upgrade a 2011 iMac to Mountain Lion, including a full drive reformat?

I also have a new MacBook which was purchased with Mountain Lion. Do I still need to buy Mountain Lion for the iMac?

Booting with Cmd-R will allow a
http://support.apple.com/kb/HT4718

Here are some ideas:

Buy Mountain Lion in app store, then upgrade, then boot with Cmd-R to reset the drive.
Like #1, but first do the Cmd-R to reset the system, and then buy Mountain Lion in app store to upgrade.
Create install DVDs from Macbook Pro with Mountain Lion (how?) although I'd to use another machine to burn the DVDs. Or maybe use an external USB hard drive?

Update: I found this program http://liondiskmaker.com/
And this which suggests how to get the image on a new mac that has mountain lion http://hints.macworld.com/article.php?story=20110831105634716

Thanks,

Justin


texts: My brand new iMac is receiving iMessages sent to somebody else, how to fix this?

texts:
My brand new iMac is receiving iMessages from my daughters phone, not mine. Do you have any tips how to correct this?
I have tried to restart and shut hers off on her phone.


texts: OSX loud siren that starts every 1-5 minutes?

texts:
This one is very odd. My 2010 Macbook Air running latest Mavericks was working very well just yesterday and today it started to play a "siren sound" (sounds a bit like warning/alarm/police siren), the sound is very long (2-4 secs.) and it starts every 1-5 minutes. Of course when it happens it unmutes all system sounds :S It's worth noting I don't have any other software that I had yesterday, it just happened like that, overnight.

What I've done to prevent it and find what's causing it:

My system sounds are off (Preferences/Sound > "Play user interface sound effects" unchecked).

All the sound notifications are off. I also turned on "Do not disturb mode".

I ran Apple Hardware Test (for now the basic one, I will run the long one this evening as I'm at work right now) and it returned no problems.

Also I've installed SoundBunny to see what's the source of the sound - it doesn't show anything when the siren starts, like it's not software-related (by the way do I really need a software for this task in OSX? it's been in Windows for ages :/)

I've been restarting my Macbook all morning and once the siren started BEFORE I even log in to my account (woot?).

I've checked all the Apple beep codes, but none of them seems to be what I'm hearing (by the way are they recorded somewhere? I'd love to hear them all out and see if I can recognise the one I'm hearing).

HELP ME PLEASE, I can't work :(


texts: Huge file when exporting iPhoto slideshow

texts:
I am creating a slideshow in iPhoto, my slideshow contains about 70 images, each image is about 10MB. When selecting Export to 1080p, it says that it needs more than 20GB of disk space to export. This is insane. My slideshow is using Vintage Prints theme and a 7-minute music file.

Is there something wrong here? I searched on the internet for the solution but it just mentioned the issue, no solution for this at all. Or maybe this is normal? (which I don't really think so)

Update:

I took the warning seriously and tried to export the slideshow to an external 1TB hard disk (my Mac disk only had 10GB or less). The export was extremely slow, I let it run overnight and guess what I saw in the final result? The exported video was just only 308MB. Hell, I guess there is a bug in the iPhoto and they are doing crazy buffering while exporting. So, the "final exported file" is not as big as its warning, but you still need to have enough space to run the export function.


texts: How to adjust gamma correction on old monitors

texts:
I am reusing two old monitors for which I found no custom way to set brightness, contrast, and gamma (see appendix below for full details). On a bright
background, the colors look dull and I want to change the gamma correction to
something close to a MacBook Pro retina display, which has sharp colors on the
same background.

On a Windows computer with the same monitor, I can change brightness, contrast, and gamma for the NVIDIA GeForce GT 220 graphic card with the utility in C:\Program Files\NVIDIA Corporation\Control Panel Client\nvcplui.exe. It shows three sliders for brightness, contrast, and gamma that have an immediate effect.

On macOS, the Display Calibrator Assistant (from System Preferences > Displays) asks to change brightness and contrast with the monitor's buttons and to choose a white point. It says nothing about gamma, and does not change any of the settings.

With ColorSync Utility, I was able to view the ICC profile of the monitor and confirm it has gamma correction:

I was also able to load a different profile (that of an LED Home Cinema Display that has sharp and crisp colors) but this made no difference on the monitor:

I have read Set the color profile of my external monitor and Can I calibrate 2 screens to match, without buying expensive gear? and still don't know how to change the gamma. I am on macOS 10.14.6.

Can I adjust brightness, contrast, and gamma of a monitor on macOS? If not, why is it impossible?

details on monitors

The monitors are Samsung SyncMaster SA100 and S22A460. The monitor SA100 only has a power button. This page suggests an auto-adjustment by holding the on/off button for 10 seconds. This method works but the result is still dull (it's probably how it came).

I downloaded the latest MagicTune software for macOS from this page, for macOS 10.3.9-10.5.7 and the installer says:

This package is incompatible with this version of macOS and may fail to install.

The installation fails. I downloaded the latest version for Windows
8,
MagicTune Premium 64 bit 4.0.36. No program of that name is in install in
C:\Program Files, but when I try to install again I get a warning that the
program is already installed.

I found this page that addresses
the same problem. The third option mentions an open-source program, whose link
redirects to a blog where I found the
tool,
which is for Windows only. I installed .NET on a Windows computer and was able
to run the tool, but it only controls brightness, not contrast and
gamma:

Furthermore, the brightness setting does not port when I connect the
monitor to macOS, so the settings are probably saved on the Windows machine
and not on the monitor. The page does not provide the source code for me to have
a play (the 7-zip archive contains the executable).

On a SyncMaster S22A460, where I have buttons to control the display, I can
adjust the brightness and contrast but not the gamma.


texts:
I noticed that I hadn't received any new mail in my Gmail account in Mail.app in the last three days. It is being received fine on my iPhone and iPad, as well as my PC.

When I look at the Activity Window, it says it is downloading message 112,500 of 112,525. It sits there for a while, then it starts downloading those last 25. But as it starts, the other number jumps up another 1000, so now I'm on (say)v 112,520 of 113,250. This has been going on for three days.

Any ideas?


texts: Why are the iPad games Epic Citadel and Gravity HD crashing on startup?

texts: I've got 2 iPad games that crash (vanish from the screen) on startup. The games are Epic Citadel and Gravity HD. Both apps go through the loading sequence then the screen goes black and returns back to the main iPad screen. I have tried reinstalling Epic Citadel with no luck. I don't want to delete and reinstall Gravity HD as I would lose where I am up to. I have raised a support call with the latter game but have not heard anything (2 weeks ago). Any ideas on what to do?


texts:
I am running iOS 9.1 beta and it seems pretty good and more stable than past iOS 9 iterations.

Will my iPhone 5S prompt me to upgrade to the public release of iOS 9 today?


texts: MAMP on macOS Catalina doesn't list folders

texts:
I upgraded to a new Macbook Pro running Catalina. I installed MAMP and copied my project-folder to the new Macbook. My projects folder is located under /Users/myname/websites
In that folder I have projects like
/Users/myname/websites/project1/index.php
/Users/myname/websites/project2/index.html
/Users/myname/websites/project3/index.htm

and so on
Now MAMP/Apache doesn't list any folders, only files.
When I access localhost:8888/websites the Apache directory listing shows only
file1.xyz
file2.xyz
file3.xyz

instead of
Projectfolder1/
Projectfolder2/
Projectfolder3/
file1.xyz
file2.xyz
file3.xyz

I checked permissions of these files with terminal, looks good.
I gave Apache/HTTPD full disk access, no effect.
I installed/started MAMP with full admin rights (sudo), no effect.

Any ideas how to fix this?


texts: Is there a way to keep internal drive segments unmounted while booting from external device

texts:
For forensic imaging of drives and/or segments with a native Mac application, I'm booting from external device (usb, hdd, etc.) into BaseSystem. I want to keep the internal drives and/or segments unmounted during the boot process. Later will disable disk arbitration, mount these drives/segments and image them. Since the drives should be kept unmounted, there is no way of knowing drive/segment volume names and/or UUID.

I've created a deamon (System/Library/LaunchDeamons) for mount blocking (on external boot device), but it only blocks newly attached devices, not internal ones.

Also, I've also tried disabling "diskarbitrationd" daemon (desperately, on external boot device), but not worked.

Note: I've created boot image from BaseSystem.dmg of Sierra (10.12.1), and modified the contents.


texts: Why causes Chrome to make my Mac unresponsive?

texts:
I'm asking this mostly out of curiosity, as I've given up on finding a practical solution. Everyone knows that Chrome makes Macs sluggish, especially if you have a lot of tabs open. My question is what causes this, since it doesn't seem to be due to memory or CPU use.

I have a habit of keeping around 100 or more tabs open in Google Chrome, in several windows. If this number gets too high then my Mac starts to become unpredictably unresponsive - I'll sometimes have to wait a few seconds after clicking or typing for the input to be accepted, for example, or if I'm playing a game the frame rate might drop to 2-3 frames per second for a minute or two before recovering. This happens particularly if I have Keynote or Pages open in addition to Chrome. Using the Chrome plugin called "The Great Suspender" helps quite a bit, especially with keeping CPU use down, but it doesn't completely solve the unresponsiveness issue.

I used to think that this was a memory issue, but after buying a new Macbook with a lot more memory a year or two ago, this seems not to be the case. Activity Monitor tells me I currently have 4.6Gb free, and this issue can occur when less than half my 16Gb RAM is in use. It doesn't seem to be due to CPU use either (unless it's caused by sudden spikes), since I can keep that down to around 2% most of the time.

So if it's not memory or CPU that Chrome and other applications use up to make my computer behave this way, then what is it? And (since it can't hurt to ask) is there anything I can do to mitigate it?

Finally, I'm using Mountain Lion. Is this issue the same, better, or worse in Mavericks? Whether I will upgrade or not will be determined solely by this issue.


texts:
A while back I received an Apple Watch as a gift. I can’t tell whether or not the Watch is an original First Generation or a Series 1.

How do I check which model of Apple Watch I have?


texts: How do I e-mail multiple Photos from MAC desktop with Yosemite? What is keyboard shortcut to select multiple images and e-mail them?


texts: I have a Macbook Air, early 2014. How do i get 3840x2160 resolution output?

texts: I am getting only 1080p on my 4K TV, via thunderbolt to HDMI adapter. I want to know how to get more resolution output.


texts: Setup Mac for kiosk/installation environment

texts:
Is there any tool out there to automate the process of turning a regular mac into a kiosk machine? That is... not an internet kiosk but a regular machine with no warning, notifications, popups, etc... removing all start up items, all notifications, putting an app on top and any other secondary tasks.

The idea is not only to keep an app on top of everything else (which is done by software) but tell the OS to not show ANY kind of warning/window/popup.

There's tools out there such as ecrisper and xstand but they're more oriented into letting a user browse online than telling the OS to be silent.

So far, my manual (no software) process is...

Telling the software to stay on top of everything else
Go fullscreen
Removing startup items
Remove all notifications

But there's still system warnings (connection lost, secondary software crash, etc...). Any tips on this? Any software?


texts: Enabled FileVault with disabled SSV possible with Big Sur?

texts:
My Hardware is a 2019 MacBook Pro 15" has the T2 chip and runs macOS 11.0.1.
After disabling SSV via csrutil authenticated-root disable and rebooting I can not enable FileVault. Unfortunately the error is very generic: "FileVault Failed An internal error has occurred."
Is it possible to have signed system volume (SSV) disabled but FileVault enabled?


texts: PDF files replaced by question mark icon in Dock

texts:
I have pdf files in the Dock of my MacBook Air, I just left them there and everything was fine, now all of a sudden a large question mark comes up and I can't open them.

Any thoughts?


texts: Can I use my iMac as a second display with my laptop, without a Thunderbolt port?

texts:
I have looked around the Internet for an answer to my specific problem, but can't seem to find the answer I'm looking for. I am trying to figure out whether it is possible to use my 21.5-inch mid-2011 iMac as a second monitor for my Windows 10 laptop.

The problem I am faced with, is that the iMac will only take input for Target Display Mode in the form of Thunderbolt, and my laptop does not have a Thunderbolt port, only HDMI. I have tried using an HDMI to Thunderbolt cable as well as an HDMI to Thunderbolt adapter with a regular HDMI cable. Neither of these worked, so unless my iMac's Target Display Mode isn't working, then the connection is the issue.

Is there any way I can connect my laptop to my iMac and use it as a second display?


texts: When I switch to one of my workspaces with Chrome, it jumps to the other Chrome workspace

texts:
I make heavy use of workspaces, and tend to have a lot of workspaces, most of which only have one window. I pretty much always have two different workspaces that have a window of Google Chrome open.

Ever since I updated from Yosemite to High Sierra, I've had this weird issue where, when I switch to one of the Chrome workspaces, it'll instantly jump to the other Chrome workspace (even though there's like 4 other workspaces between them).

I can't seem to figure out the precise set of conditions that causes this; it's random as far as I can tell (although, infuriatingly, once it does happen, it'll probably happen again immediately after when I try to correct). It can happen whether I'm switching workspaces via keyboard shortcut or trackpad gesture, but I don't think I've ever seen it happen if I open Mission Control to switch workspaces. I've only seen it happen with Chrome, but then, Chrome is the only application that I ever have open in multiple workspaces.

I've tried toggling the "When switching to an application, switch to a Space with open windows for the application." option in System Preferences->Mission Control, but it happens whether this is turned on or off.

Does anyone know what might be causing this and how I might fix it?


texts: My iPhone says its connected to wifi but it won't let me surf the web. My iPad is using the same connection and I don't have a problem with it. Does anyone have any ideas what is wrong?


texts: I wonder if it is possible to restore one partition to another in command line? The similar operation can be performed with Disk Utility, but unfortunately I cannot boot in graphics mode (even safe mode does not work). Man page of diskutil does not describe such option. I use Mac OS X 10.7.


texts: AppleScript: Open URL in specific tab (Google Chrome)

texts:
I can no longer open a URL in a specific tab using AppleScript.
I tried the following code without success:

set URL of tab 1 to "https://"

and

set myLink to "https://"
tell application "Google Chrome"
    activate
    tell front window to make new tab 1 with properties {URL:myLink}
end tell

neither of which perform the desired action.

Question
What do I need to change in the code in order to be able to accomplish this task?


texts:
As a Windows user, I've seen my share of BSODs. I've also seen some errors from Macs, but as I haven't used them as long, I don't really know what the Mac OS X error screens are like.

I've seen some kernel panics and some other error screens, but what I want to know is which one is the basic equivalent of a BSOD. Is it a kernel panic? Is it something else?

What's the OS X equivalent of a BSOD?


texts: Will FileVault reduce the power of my hybrid SSD+HDD?

texts:
I have a MacBook with a Momentus XT hybrid SSD+HDD drive. It have a 500GB HDD plus 4GB SSD which, as I could check, it uses as a cache for read operations. It uses some kind of black magic to determine the most used data and let it easily accessible through the SSD storage.

I wonder if I can enable FileVault 2 to encrypt this drive and if it will kill these feature of the hybrid drive.

I know that FileVault always lead to a performance penalty, but my wonder is if the drive will become unable to determine the portion of data that can be SSD-boosted due to the fact that it will become encrypted.


texts: macOS How do I install and use this program?

texts:
I downloaded a command line utility from this github webpage . I clicked on the green Clone or Download button to download the zip file. Although, there are also files that can be downloaded from the releases tab. I'm not sure whether I'm supposed to download those files instead. After downloading and unzipping the zip file, I double-clicked on the file entitled displayplacer, which opened a terminal window that ran a bunch of commands.

Now what? How do I use this program?

I tried opening a new terminal window and running displayplacer list which, according to the github page, is supposed to Show current screen info and possible resolutions. However, the terminal window returned zsh: command not found: displayplacer after I entered the command. Did I not install the code properly?

Ultimately, what I want to do is set up a keyboard shortcut that switches the primary display between my macbook's internal display and my external display. How do I do this?

(macOS catalina)


texts: HomeKit sharing crashes when sharing home with guest. (Owner is legacy iCloud)

texts:
A HomeKit user has shared their home with me for the first time. They are reusing a very old iTunes/AppStore account to handle all iCloud functions... this means they are on the legacy "iCloud" and haven't yet taken the "one way upgrade" to iCloud for Xcode 6.

The issue I see is that once I accept the invitation, there is a spinning hourglass on my device that never finishes.  I've waited 4 days.

My guess is that the host iCloud account must be upgraded to the latest version, but there is no such warning that this is required.

Here is a developer screenshot of the iCloud versions I'm describing. There is a corresponding end-user dialog that could make more sense but I don't have a screenshot of that.

Question

The terms "XCode 5" and CloudKit support might not be the correct user-facing terms. What is the correct term for an end user who may need to be updated?
Can anyone confirm that "Xcode 6 support" is required for HomeKit sharing?
How else can I troubleshoot this?


texts: How to solve "User is not in sudoers file, incident reported"

texts:
I added

"Syammala Naidu" ALL=(ALL) ALL

to /etc/sudoers, rebooted and logged in as Syammala Naidu and run sudo -i. Sudo tells me: user not in sudoers file, incident Reported.

How can I fix this?


texts: How can I programmatically (CLI or code) retrieve the certificate used to sign an app bundle?

texts:
I'm interested in knowing when the key used to sign one of my macOS applications has changed after an update.  How can I get information about which developer certificate was used to sign a given application/binary?

Note that I don't really trust the name on the certificate.  I'm worried about people who game Apple's processes to get issued a legitimate developer cert, possibly with a duplicate—or at least plausible—name on them.  I'm more interested in getting something like an SHA-256 hash of the developer cert used to sign a given binary.


texts:
On my iMac, I have a 1px white vertical line all the way on the right of my screen on my wallpaper. I can confirm this is not a hardware issue nor dead pixels, because when I change my wallpaper alignment to "fit to screen," the white line disappears. It only shows when I have wallpaper that extends to the edge of the screen. It also shows up in screenshots of my screen.

Does anybody know how to fix this issue?


texts: Can I use HP:s HTML config on macOs Sierra somehow?

texts:
I've bought a HP Laserjet Pro M12 (M11-M13 series). I'm trying to setup the wireless part. No firmware has been released for Sierra yet. I have installed the drivers 10.11 instead. When I click open HTML config, I get sent to http://localhost:5050/SSI/index.htm, it seems to be a webhost provided by the printer via USB.

The first page I visit renders fine, but when I click any link the page breaks and it says safari can't connect to the server "localhost".

Is there some way to get this working? I've tried other browsers.


texts:
network map

Modem 4G (192.168.0.1) Subnet Mask: 255.255.255.240 <<<< ROUTER 10.0.4.1 / Subnet Mask: 255.255.255.0, Gateway 192.168.0.1 (modem) (then Netgear orbi for wifi AP) <<< clients

can a client (either iOS or MacOs) use the modem DHCP and totally bypass the router (even though the first node is the router) ?

From my test the answer is no but I might did something wrong, I setup a the modem as geteway with an IP within the modem DHCP and the modem sub.

Perhaps I need to setup a static root?

alternatively can I connect to my router guest DHCP? same sub but different IP range (192.168.2.1)


texts: Missing lock icon in System Preferences->Sharing on El Capitan

texts:
See attached image below. I have a few macs and on one of them, I cannot for the life of me figure out how to lock the Sharing tab under System Preferences. The lock is present and working on other panes that support locking. I also went to Security & Privacy advanced and could not find anything there. How do I re-enable the ability to lock this pane and does anyone know why or how it got that way? My other Macs don't have this problem.

Edit: I am including another screenshot from my other Mac to show that there is indeed a lock on that pane.

I am running OS X El Capitan 10.11.2 on a Macbook Pro Retina (late 2013)


texts: How to turn off autocorrect for iPhone 6 Mail?

texts:
Here's what I've tried:

Open the “Settings” app on the iPhone
Go to “General” and then to “Keyboard”
Locate “Auto-Correction” and flip the switch to OFF

This disables autocorrect for all apps, with the exception of Mail

The emails are still being autocorrected. How should I turn off autocorrect for the iphone 6 default Mail application

My IOS version is 10.3.2


texts: iCloud Drive Bird Service always running

texts:
I am having a problem with iCloud Drive. I managed to see progress thankfully with brctl log --wait --shorten (taken from here).

It seems like there is an error running every second or even more often.

[ERROR]  14.007 [2016-01-09 23:17:13.007] bird.scheduler.Uploader        fs.uploader               BRCFSUploader.m:732
Unable to copy thumbnail at '/.DocumentRevisions-V100/PerUID/501/6c131/com.apple.thumbnails/:501:QLThumbnailAdditionName/thumbnail.jpg' to upload stage: <NSError:0x7fec5e22a330(NSCocoaErrorDomain:260) - {
    NSFilePath = "/.DocumentRevisions-V100/PerUID/501/6c131/com.apple.thumbnails/:501:QLThumbnailAdditionName/thumbnail.jpg";
    NSUnderlyingError = "<NSError:0x7fec5e248200(NSPOSIXErrorDomain:2) - {\n}>";

The bird process in the Activity Monitor, which is responsible for the iCloud Drive syncing, is taking up 150 and more percent of the CPU all the time and doesn't stop.

What I tried:

installed iCloudStatus, which shows which files are being synced...
but the file doesn't show up
killed the bird and the cloudd process... will just fire up again
deleted ~/Library/Application Support/CloudDocs all my files were deleted and newly downloaded but I got the same error

What can I do to get rid of this? Thanks for any suggestions.


texts: iTunes suddenly rejecting mp4 downloads from torrent networks

texts:
For a while I have been able to add most videos coming from torrent network without problems unless they were avi encoded. But for a few weeks now, I have had to re-encode all of the mp4 videos that I download using Handbrake which is not very practical.

Why is this? Does everyone face the same issue as I do?

iTunes v 11.1.5
OS X 10.9.2 (Mavericks)


texts: What is the purpose of lock the login keychain?

texts:
This is what I mean:

When I try to lock above keychain I get a lot of pop alerts similar to this:

accountsd wants to use the login keychain, "safari wants to use the login keychain" and so on. If such thing produces a lot of annoying alerts, so what is the reason to lock login keychain? Should it be unlocked usually?


texts: How can one fix a Mac OS App Store that stops updating?

texts:
I've been occasionally (but annoyingly) noticing a situation with Mojave (I've never seen it in OS versions before Mojave) where I know that an app purchased through the AppStore has an update available, but the AppStore will not show that the app needs to be updated. In order to get the update, I have to delete the app and then redownload it.

I first noticed this for Agenda. Then the problem went away for a while, and apps that I purchased through the AppStore updated automatically.

Now it is happening for Ulysses. Specifically, Ulysses had updated automatically to version 16 on my iPhone and iPad, and since it is always updated at the same time on all platforms, I launched the AppStore to check to see whether it had been updated on my MacBook Pro. The app is still at version 15.2. When I launch the AppStore, I see this:

So it was updated on the AppStore 16 hours ago. Notice how it shows "Open" in the top right of the screenshot? Well, if I click that, it does launch Ulysses -- version 15.2.


texts: unallocated space on disk0 under Mavericks

texts:
I have the same kind of issue than here :
Create new partition in unallocated space with diskutil

but on disk0 ! I don't know what to do anymore :(

So i can't modify anything with gpt.
I had Ubuntu installed on a partition, deleted it with Disk Utility which got stuck during the process, had to force quit. Reboot the mac, and that's when it became weird :

Recovery HD was no more hidden and mounted as a standard partition on my Desktop, 20GB of the former Ubuntu partition vanished !

I tried the functions activated in the Debug Mode of Disk Utility, resetting PRAM, BootCamp tells me "the startup disk cannot be partitioned or restored to a single partition", and nothing different when booting on Recovery HD to use Disk Utility.

Macbook-Pro-de-Ced:~ Ced$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                  Apple_HFS Mac                     478.2 GB   disk0s1
   2:                  Apple_HFS Recovery HD             650.0 MB   disk0s2
Macbook-Pro-de-Ced:~ Ced$ sudo gpt -r show disk0
Password:
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34     409606
     409640  934013608      1  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  934423248    1269536      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  935692784   41080351
  976773135         32         Sec GPT table
  976773167          1         Sec GPT header

Error while trying to repair disk :

Screens from Disk Utility :

I don't even have the grey zone for the unallocated space like on this post : How can I resize a partition with Disk Utility?


texts: What are the disadvantages of jailbreaking iPhone 4 even if it's legal?

texts:
What are the disadvantages of jailbreaking the iPhone 4 even if it's legal? I'm interested in disadvantages in any and all terms, but especially about the warranty, future updates of iOS, and bricking?

Will I have to jailbreak after each iOS update?


texts: Partially installed app stuck and cannot be unistalled

texts:
After updating my iPad 3 to the latest version of iOS (9.2.1 I think, this was in February 2016) one of my apps needed to be updated. It partially installed then got stuck with the status graphic about 50%. After a day or two I tried to delete it and despite me acknowledging the warning "this will also delete the app's data" nothing happened.

So I'm stuck with an app that's not installed and can't be removed. And I still get notifications from the app, but listed as some generic notification type.

How can I remedy this?


texts: How to Copy Current URL of Web Page in Fluid App with AppleScript/Service and Bind on Keyboard Shortcut?

texts:
I'm using FluidApp Version 1.8.6 (2331) on MacOS Sierra 10.12.3. Sometimes I need to copy current URL of Web page in FluidApp. I want to do it with keyboard shortcut and I know I need to use a service for it.

So how do I create a service for this job?


texts: My wife and I have two separate iTunes accounts and two separate laptops.  Now that we are married, when it came to the time we both needed to replace our own laptops we decided just to buy one.  I would be grateful for any advice on what the best way would be to deal with our separate iTunes accounts.  Can we merge them, or both have our own iTunes accounts installed on the same machine.  Any advice would be much appreciated.


texts: How can I get the mic sound feedback in my headphone?

texts: I bought a noise canceling headphone yesterday and it works perfectly. The only problem I have is that when I myself talk, I cannot hear my voice correctly. I'm wondered if it is possible to enable the microphone sound feedback in the audio output while the headphone is connected? I have a MacBook Pro with MacOS 10.6 installed.


texts: Error when installing Apache 2.4, PHP 5.5 and MySQL via Homebrew

texts:
I tried to install Apache and PHP on Mac OS X version 10.9.5

brew install httpd24 php55 --with-mysql --with-homebrew-apache --homebrew-apxs -v

exit with this error

  local/Cellar/apr-util/1.5.4/libexec/lib/libaprutil-1.la -lexpat -liconv /usr/local/Cellar/apr/1.5.1/libexec/lib/libapr-1.la -lpthread Undefined symbols for architecture x86_64: "_TLSv1_1_client_method", referenced from: _main in ab.o "_TLSv1_2_client_method", referenced from: _main in ab.o ld: symbol(s) not found for architecture x86_64


texts: 'tmutil listbackups' doesn't work with tmux in Mojave

texts:
I've tried to list past TM backups while running in a tmux session, but the solution described in this question doesn't seem to work on macOS Mojave any longer:

root@nomi ~> tmutil listbackups
The operation could not be completed because tmutil could not access
private application data on the backup disk. Use the Privacy tab
in the Security and Privacy preference pane to add Terminal to the
list of applications which can access Application Data.

I tried to grant Terminal access to my data:

but it doesn't work. So how do I list/delete my old backups in Mojave if I run the shell in tmux?


texts: Directories treated by OS X as executable

texts:
Under OS X, there seem to be two different types of directory. One is an ordinary directory, as in Unix. The other is an "executable directory", on which you can double-click to start up an app.

Are there standard names for these two different types of directory?
Using Unix tools (perhaps downloaded from MacPorts), how would one distinguish between these?


texts: How to delete saved versions in Mac OS X Lion

texts:
The new Versions feature in Lion stores old versions of the document I'm working on in case to revert back to some older version of the document.  However, how can I delete the version files for a given document?

There're hidden files in the /.DocumentRevisions-V100, but I'm afraid I cannot just simply delete that folder.


texts: How do I change from English to my native language in Xcode?

texts:
My whole system is in my preferred language, except Xcode. There's no use Googling "Xcode change language" or even "xcode change language -iphone -IDL -parse -Python -app -localization -internationalization -swift -objective-c", it only turns up developer questions.

How do I change the UI language for Xcode?


texts: Weird message appeared, like spam, black screen, green button?

texts:
Yesterday I received a weird message on my iPhone 4, it was a completely black screen with a wide green / standard button at the bottom.

It seemed like a kind of broadcasted message.

The message said something about RSVP.

I've never seen a message like this before, wasn't an email, SMS or iMessage. I did a search on Bluetooth apps to see if I could see this type of thing, but didn't find anything.

I dont know if its related, but a few minutes later I heard a sent message noise.

I can't find the message in texts or email either.

It all feels like I've been hacked into some how.


texts: Xcode 11 hangs during Archive on CocoaPods task

texts:
After updating Xcode, when archiving my iOS app, it hangs on a specific CocoaPods task (GEOSwift). Archiving just continues for an indeterminate time (I can let it work for hours without results).

Solutions found for similar issues on previous Xcode versions (none works):

• Remove armv7 from Valid architectures (seen here)
• Change debug information format to DWARF instead of DWARF with dSYM File (seen here)
• Changing Compilation Mode from Whole Module to Incremental (seen here)
• Changing Optimization Level from Optimize for Speed to either Optimize for Size or No Optimization (seen here)
• Flip Exclusive Access to Memory to Full Enforcement (Runtime Checks in Debug Builds Only) (seen here)
• Changing the SWIFT_OPTIMIZATION_LEVEL from the PodFile (seen here)

Any other suggestion?


texts: How to launch Gnumeric after installing using Homebrew

texts:
I've installed Gnumeric using Homebrew. I first manually installed XQuartz (as required) and then ran brew install gnumeric. Everything seems to have installed fine.

Now how do I launch it?

When I run /usr/local/bin/gnumeric I see:

Cannot open display:
Run '/usr/local/bin/gnumeric --help' to see a full list of available command line options.

This is the result of /usr/local/bin/gnumeric --help:

Usage:
    /usr/local/bin/gnumeric [OPTION...] [FILE ...]

Help Options:
    -h, --help                                Show help options
    --help-all                                Show all help options
    --help-libspreadsheet                     Show Gnumeric Options
    --help-gtk                                Show GTK+ Options

Application Options:
    -g, --geometry=WIDTHxHEIGHT+XOFF+YOFF     Specify the size and location of the initial window
    --no-splash                               Don't show splash screen
    --no-warnings                             Don't display warning dialogs when importing
    --display=DISPLAY                         X display to use


texts: Adjusting the volume of a specific audio device from the command line

texts:
I'd like to adjust the volume of a specific audio device from the command line in OS X. All examples of this that I can find are for the active audio device using osascript, which doesn't appear to let you specify specific hardware.

I'm specifically looking to adjust the volume of something that /isn't/ the active output device, the same way I can manually do so by opening Audio MIDI Setup, selecting "USB Audio Device", and dragging the sliders.


texts: Installing OSX onto PPC using Intel Mac and Firewire

texts:
I have an old G5 PPC machine with no OS X installed.  I have the installation disk.  Unfortunateley there seems to be an issue with the G5 reading or accepting the data from the disk. I've tried Everything I can but the disk is not read. I've swapped drives etc. to no avail.

I know the G5 will not boot from USB, trust me, I've tried, then I tried again.

My current option is using Target Disk Mode and a Firewire cable (these G5's can boot from Firewire).

I have an Intel MacBook, an A1181 series.

I can boot into Target Disk Mode, the disks from the G5 are recognised.  I cannot use the drive of the MacBook to install onto the hard drive of the G5 because of an error that appears along the lines of "10.3 cannot be installed on this machine", I assume it's because of the Intel/PPC difference.

So I then restored the disk to a partition of the HDD from the G5 thinking I could 'boot' from that partition and then install.

That also failed, the disk was recognised but when selected a "no entry"-like symbol displayed in the middle of screen and nothing happened until the fans went into tornado mode.

I have a PPC G5, an A1181 MacBook, Firewire cable and the OS X install disk.

EDIT: The MacBook is running Leopard.
I just tried this: https://discussions.apple.com/thread/4177625?start=0&tstart=0
And the same thing happened as before: I can see the disk but when selected the Apple logo turns into a "no entry" type sign


texts: Bash Command to Export System-Roots Certificates in Mac

texts:
I am trying to write a script to export all the system-roots-certificates from Keychain Access -> System Roots -> Certificates to a path as cert.pem file. When i tried the below command it did not export the certificates that was expected. So i would like to know if it is possible to export the system-root-certificates to a .pem file like i can do manually using Keychain Access.

security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain > ~/Desktop/cert.pem


texts: Where does Preview save a clone of a document?

texts: I have a document with a base64 name that I have hit shift command s to make a copy and then hit command s to save it.  The "*" in the title bar is gone now so it has been saved. But *where* ..  It is not in the same directory as the original file and it is not anywhere underneath my home directory.


texts: When I set an export PROMPT_COMMAND, it changes my terminal settings?

texts:
So, I wanted to add a timestamp to my terminal prompt and I followed this  askUbuntu answer to do so. And it works fine. In my terminal preferences I have set the new tab to open the present working directory. After adding the export PROMPT_COMMAND in .bash_profile, however my new tab opens the default directory. When I comment out that line, it works normally again.

Why does this happen? How can I get timestamps on my terminal prompt without messing up my new tab settings


texts: Launchd to only run on schedule, not restart?

texts:
I have a script that I want to set for 3:30am daily and it does run at the set time but it also runs on every restart of the computer which I do not want.

How do I make this work with just the schedule in place and not run on every startup of the computer?

Here's my 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>Label</key>
    <string>com.xxxxx.xxxx</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Library/Scripts/script.sh</string>
    </array>
    <key>StartCalendarInterval</key>
    <dict>
        <key>Minute</key>
        <integer>30</integer>
        <key>Hour</key>
        <integer>3</integer>
    </dict>
</dict>
</plist>


texts: How can I fix my offlineimap Certificate error on a homebrew install

texts:
OfflineIMAP 7.3.3
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v2.101 (bundled), Python v2.7.17, OpenSSL 1.1.1g  21 Apr 2020
*** Processing account charles
Establishing connection to secure.emailsrvr.com:993 (charles-Remote)
ERROR: Unknown SSL protocol connecting to host 'secure.emailsrvr.com' for repository 'charles-Remote'. OpenSSL responded:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)
*** Finished account 'charles' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: Unknown SSL protocol connecting to host 'secure.emailsrvr.com' for repository 'charles-Remote'. OpenSSL responded:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)

Traceback:
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/accounts.py", line 293, in syncrunner
    self.__sync()
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/accounts.py", line 372, in __sync
    remoterepos.getfolders()
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/repository/IMAP.py", line 452, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/imapserver.py", line 655, in acquireconnection
    exc_info()[2])
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/imapserver.py", line 569, in acquireconnection
    af=self.af,
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/imaplibutil.py", line 202, in __init__
    super(WrappedIMAP4_SSL, self).__init__(*args, **kwargs)
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/bundled_imaplib2.py", line 2191, in __init__
    IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout, debug_buf_lvl)
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/bundled_imaplib2.py", line 360, in __init__
    self.open(host, port)
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/imaplibutil.py", line 210, in open
    super(WrappedIMAP4_SSL, self).open(host, port)
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/bundled_imaplib2.py", line 2204, in open
    self.ssl_wrap_socket()
  File "/usr/local/Cellar/offlineimap/7.3.3/libexec/offlineimap/bundled_imaplib2.py", line 554, in ssl_wrap_socket
    self.sock = ctx.wrap_socket(self.sock, server_hostname=self.host)
  File "/usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 369, in wrap_socket
    _context=self)
  File "/usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 599, in __init__
    self.do_handshake()
  File "/usr/local/Cellar/python@2/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()


texts: Is there a good one hand typing Mac app?

texts: Is there a (decent) Mac app that I could use to learn one handed typing?


texts: I am running a while loop which ends in & and I closed the terminal, so I can't stop it now

texts:
This is the code

while sleep 1; do say "1"; done &

I closed the terminal, but now I can't stop my Mac saying "one" every second.
It is very annoying.


texts: Notes.app is ignoring changes I make to DefaultFonts.plist

texts:
In Notes, I want to use a specific font size and style, which I'm able to set via "Show Fonts". However, when you use a bulleted list, Notes ignores the font size and style from that point on and reverts to the default font. e.g., https://www.screencast.com/t/MGYxbjOn1fdQ

Maybe this is a bug. So to work around it, I changed DefaultFonts.plist file (/Applications/Notes.app/Contents/Resources/en.lproj/DefaultFonts.plist). However, the application doesn't seem to be picking up these changes, so I'm still in the same situation. Any idea WHY Notes is ignoring the changes I make to DefaultFonts.plist? (Or, any other ideas on how to address this odd behavior with bulleted lists in Notes?) Thanks.


texts: *AMP setup Impact on upgrading from Snow Leopard to Mountain Lion

texts:
I have Snow Leopard. I want to upgrade to Mountain Lion.
I've setup PHP as mentioned here. Will upgrading to Lion affect my PHP setup or any other setup like MySQL for that matter ?


texts: retina macbook pro keyboard cleaning solution

texts:
I'm curious what solution people use for cleaning off laptop keyboard keys.
I've been told that you shouldn't use isopropyl alcohol, because it can wear away at the plastic (I've seen evidence of this, although I'm not sure that it was due to alcohol).

Can anyone steer me in the right direction?
I know there are other threads for this, but none of them quite match the exact model of my computer, and I know that the keys have been composed of various materials throughout the years...


texts: Numbers : sum if tick-box on next column is true

texts:
I have 3 column in a numbers sheet

(A) Text | (B) Currency | (C) Tickbox

At the end of (B) Currency, I have a very basic formula SUM(B)
What I'm trying to do is to have the same SUM(B) at the footer of (C) Tickbox but only add to the sum the value (in B) when there is a tick (in C)
E.g :

my understanding is the ticked box are Boolean "true" and I need to use a kind of IF statement but I'm not sure how to SUM B only if C is true
I tried the following but obviously, it's not working :
IF(C1:C13,TRUE,SUM(B2:B13))
PS I might need to do the other way (count when tick-box is not ticked, but I assume it's the same but using false instead of true)


texts: How can I change a section's title color by editing the template in iBooks Author?

texts:
I'm trying to make a book with iBooks Author on my Mac by customizing the "Contemporary" template. When I switch the view mode from landscape to  portrait, the section title color is red - I want it green!

Since I can edit the section title in landscape mode I can't understand why I'm not able to edit its color as well.

Am I missing something?


texts: Can retina display features be enabled on older (non-retina) displays?

texts:
I have an older iMac, without a true retina display. I want to be able to scale the user interface like the retina macs do, but I can't seem to find a way to do that.

Does anyone know a way to trick the computer into thinking it has a retina display, so the options are available in the Display PrefPane? That, or some utility that might let me access those settings.

Note, I'm not really talking about HiDPI mode, I've done that, it only has the option of pixel doubling. I want the variable scaling that is available on true retina displays.

I'm running mountain lion on a 2.5 GHz i5 iMac, about 1.5 years old.


texts: Can users/enterprises download and resign IPA within Apple ToS?

texts:
I have an app in the Apple App Store, and am curious whether Apple ToS permits end-users and enterprises to download my (or any) app and redistribute them using enterprise certificates (e.g. MDM) or ad-hoc Apple developer distribution?

I haven't been able to find any direct information regarding Apples stance on the matter.

As far as I know, tools exists that can change the bundle id and then using a custom provisioning profile resigning and distribution is possible outside of the Apple App Store.

(Also asked on SO: https://stackoverflow.com/questions/39971753/can-users-enterprises-download-and-resign-ipa-within-apple-tos)


texts:
I recently installed MacVim along with Janus. When I'm inside macVim I can change my color scheme with :color freya but if i restart MacVim the them is reverted back to ir_black. I've added freya to my .vimrc.local, but it doesn't help.

Also added the following: set term=xterm-256color

I'm using Lion and I've got a bunch of themes in ~/.vim/colors


texts: iOS data communication between devices (iPhones) over cellphone internet

texts:
i am looking to share data live between device...gps position tracking for a workout app.
I know i could do cloud update using firestore but that could end up costly.
I saw i could also communicate between devices using WebSockets but it's a little more complicated and i still need to pay for bandwidth / web server...which could add up.
What i'm looking for is a way to do an handshake using maybe a cloud platform or websocket but then communicate directly between device so that only data bandwidth on the iPhones are used directly and not via cloud or web server.
Is there a way to do that ? TCP hole punching ?
And no, i won't be in range for bluetooth or be on the same wifi network. Assume i'm using cellphone network for internet.
Any idea can help !


texts: How do I change the direction of a speech bubble in Preview?

texts: I'm using Preview to add some speech bubbles to a picture.  The default speech bubble assumes the speaker is below and to the left.  Can I change where the speech is coming from?


texts: Make Mac eject external drives when going to slumber or sleep/wake

texts:
I have an external drive, a "Western Digital My Passport for Mac". I usually leave it connected and walk away from my MacBook Pro. The Mac often went to slumber and many times the "not properly ejected" message pops up. Being used to Windows I just clicked it away. Windows often gives errors that have no consequences. Until at one time the disc stopped mounting. I can't help but think that that is connected to the error and lack of ejecting properly.

Is there a way to have the Mac eject USB drives safely when it goes to sleep? Either of it's own accord or even when I have it go to slumber or close the lid?

It's just very cumbersome to have to eject the drive every time I walk away. Having a very chaotic nature doesn't help with that sort of thing.

BTW, just yesterday I got the drive to mount read-only through the macOS Disc Uility app. So I salvaged my files. Would still rather not have that again, because the drive contained some photo's that weren't yet backed up. BTW, the error it displays is with the volume selected (disk passes the first test):

Schijf-EHBO uitvoeren op 'My Passport for Mac' (disk2s2)

Bestandssysteem herstellen.
Het volume is al gedeactiveerd.
fsck_hfs -fy -x /dev/rdisk2s2 uitvoeren
Eindcode bestandssysteem is 8.
De oorspronkelijke status wordt teruggezet naar gedeactiveerd.
Controle of herstel van bestandssysteem mislukt.

Bewerking mislukt…

A Google Translate, in English, of the message above:

Perform disk first aid on 'My Passport for Mac' (disk2s2)

Restore file system.
The volume has already been deactivated.
Run fsck_hfs -fy -x / dev / rdisk2s2
File code final code is 8.
The original status is reset to deactivated.
File system check or restore failed.

Operation failed ...


texts: What determines the "special" color of the status bar in SpringBoard?

texts:
I've noticed that at various times, the status bar in SpringBoard will occasionally change colors. When using the Voice Memos app on iPhone, it will be red. While in a call, it's green. Using personal hotspot, I'm seeing a blue.

Is there any significance to the colors, or is this a totally arbitrary choice by Apple?


texts: I FREQUENTLY mess with system/hidden files in /Library, /System, /bin, etc. and I'm tired of constantly being prompted for my (20+ Alphanumeric character) password. I'd like to have my "Administer" user account have all permission like root. I know it's a "security" hazard, but my network is locked down, drive is file vault 2 encrypted, and password is crazy complex (good luck dictionary brute-forcers). I can run Finder as root, but how can I make it the default behavior in 10.8/10.9?


texts: Configure OS X to pass incoming traffic to another server?

texts:
I have a PC and a 2011 Mac mini on one wireless network, which does not have Internet access.  The Mac mini is also connected to another network which has Internet access.

Is there a way I can share access to a single IP using the Mac?  i.e., Forward all requests on ports XX-YY to AAA.BBB.CCC.DDD?

EDIT: I'd prefer a solution that is 100% command-line based.

OS X 10.11.3
I need the PC to be able to access resources on the Mac's network.
Internet sharing replaces the Mac's connection to the wifi network.

The PC is wired to a wireless router without internet.  The Mac is wired to a wireless router with internet.  The Mac is also wifi connected to the PC's wireless router.  The PC's wireless router is not capable of acting as a client.


texts: Accessing network created by Internet Sharing

texts:
I would like to be able to access services on devices that are connected to my shared network.

Basically I have set up network sharing such that when I connect via Thunderbolt-Ethernet I share the connection over wifi. In order to do this my mac (I guess) creates some virtual network for devices to be be issued an IP address on. So what I would like to be able to do is to bridge (??) this network so that I can access the devices on it.

More specifically I would like to be able to access a service on a specific port that a device on the share's network is hosting.

Is this possible? And if so how?


texts:
I have a dream... One day my iTunes could read also MKV and all other codecs that are not natively supporter by it...

Is there a solution for make this reality? I have ffmpeg tool installed in my mac, and also lots of codecs.

Can I "install" one of this codec in my iTunes and make it read also MKV?


texts: Can I snapshot an OS X Application installation?

texts:
I would like to:

take a snapshot of my OS X system
install an application
and take a new snapshot.

Comparing both snapshots (file hash) would show me what settings(plist files) and files were created/edited during the installation.

It is very popular on Windows (VMware ThinApp, RegShot, Symantec Endpoint Virtualization Suite... etc.).

Is there an OS X tool or software to do this ?


texts: How can I get CarPlay to work with my 50 000 songs iCloud library

texts:
I just bought Sony XAV-AX200 to use with my iPhone 7 plus in a 2007 Volkswagen Golf (Rabbit).

Now it seams that CarPlay can’t deal with my 50 000 song iCloud music library.

It takes 5 minutes to load the playlists
It takes another 5 minutes to start playing one, being unresponsive during that time
Once it finally starts playing a track as soon as I click ‘next’, it
jams again and takes minutes to change the track

My analytics data section if full of ‘music.cpu_resource’ log entries where it says my cpu usage is around 80% over 180 seconds. Also there are standard music crash logs. And there are about 10 ‘stacks+music’ logs from a single session. All of them say ‘reason: scene update watchdog transgression: com.apple.music exhausted real (wall clock) time allowance of 10.00 seconds…..’

All the other apps on CarPlay like podcasts, maps and such work flawlessly but not ‘Music’

I am using an official Apple cable, the latest iOS 12.1, and the Sony is updated with the latest firmware.

I’ve tried most things I know from my experience with apple products:

reset all settings
restore as new
forget car (in carplay settings)
change cable

None of this fixed the problem. As soon as the icloud music library is switched on, CarPlay is in permanent beachball mode.

The only way to use it successfully is to switch off icloud music library. Then it works fine. But that’s obviously not a solution.

So I'm wondering what else I should do, or whether CarPlay can even handle 50'000 tracks. Any help appreciated!


texts: Can you transfer your applications like photoshop from your old mac to your new macbook?

texts:
Is it possible using a passport external hard drive and tome machine to transfer applications from my old macbook to my new macbook?

Please advise a safe way to do this if it is possible?


texts: USB-C dock with HDMI graphics on Late 2013 MacBook Pro

texts:
I have two MacBook Pros, a 2017 model with Thunderbolt 3 ports, and a late 2013 Retina with TB2 and USB3 ports. I use a HP USB-C Dock G4 docking station for the 2017 model. I have two 1080p HP displays attached; one is through HDMI straight to the docking station and the other goes through the HDMI input on a DisplayLink USB 3 adapter and connects to a USB3 port on the dock.

This setup is super convenient for me with the 2017 MacBook Pro as I can charge the device, use both displays and a bunch of other USB peripherals all over a single cable. I'd like to have a similar setup for the 2013 model as well.

When I connect it to the dock via a USB3 type A to type C cable, I get the DisplayLink monitor (which makes sense as it's a USB peripheral) and other USB devices, but not the direct HDMI monitor or charging. My understanding is that I probably won't be able to charge it through the dock since it uses a MagSafe connector, but I'm wondering if there's any adapter I can get to connect both monitors at the dock, without having to switch cables behind the dock?

My displays have 2 HDMI and 1 VGA inputs each. No DisplayPort on either of them. The dock has one HDMI (that I'm using) 2 DisplayPort plugs marked ++ but I don't know if they/re input/output/both/support daisy chaining etc or not.

Question is: What kind of adapter/cable should I get to connect my 2013 MacBook Pro to this dock to get maximum functionality with minimal cable clutter? My first thought is to use an HDMI cable for the direct-to-dock display, a USB A to C cable for all other peripherals and the stock MagSafe 2 adapter for charging. But I'm wondering if there are any Thunderbolt 2 (mini DP style) to USB-C type adapters that would reduce the clutter from three to two cables?

Thanks for the answers..


texts: My Macbook Pro's headphone jack is buzzing/humming

texts:
I have an audio problem with my new macbook pro 2017.

If there is an audio playing my headphone jack starts to buzz (headphones unplugged). When I stop playing audio, after a short period of time, it stops humming. When I plug the headphones and start playing the audio, headphone jack is not buzzing/humming. This is super weird. It looks like macbook for some reason thinks that it has plugged headphones even when it doesn't

Does anyone know how to deal with this problem?


texts: Airport Express with IPv6 tunnel and dynamic IP address

texts:
I'm trying to set up an IPv6 tunnel through HE, using an Airport Extreme (7.6.1). I got it to work once, but have a real chicken and egg problem: I'm on a PPPoE internet connection, the Airport Express being the primary router/dialup device. Every single time it dials in, it receives a different IP address. I have set up an automated script on a machine that's permanently on, which will update HE with the current IPv4 address, but I'm running into timing issues. It seems the Airport Express only tries to establish the tunnel once after rebooting. If HE hasn't been updated by then (very likely), it will fail and apparently never try again. To make it try the IPv6 tunnel again, I need to reboot it, which makes it assume a different IP address etc etc.

Is there any solution to this conundrum? Can the Airport Express be persuaded to try reestablishing the tunnel without restarting it?


texts: How do I convert DMG files to IMG files?  I am trying to use 'Q emulator' to run XPpro and it requires an IMG file of the XP disc.(legal copy)  I'm using a late model G5 PPC with Leopard 10.5.8


texts: Make Time Machine-like backups of Photos onto external drive

texts:
I don't need to backup my whole disk but I want to backup my Photos once a month. From what I've read, Time Machine seems to work amazingly well so I was hoping for a similar solution for Photos.

I want to be able to delete the Photos library on my internal drive but keep the files "alive" on an external one. I use the "new" photos app introduced like half a year ago and migrated my library back then accordingly.

It would be perfect if I could do that with 2 separate external drives.

Is there any software that gets this job done? Maybe even something from Apple? Most stuff I find wants you to backup to iCloud or doesn't really go with the user deleting the files off his internal drive.

Thanks in advance.

EDIT: El Capitan, MacBook Air 2013, the external drives both are NTFS but I would also accept reformatting them if that was necessary. I use 3rd party drivers for NTFS access which work fine for me.


texts:
When viewing the CPU Load on Activity Monitor today, I was curious as how to make Activity Monitor update the chart and data faster.

Is there a setting to change the update speed for Activity Monitor?


texts: How to set custom DNS entry for a particular wifi connection

texts:
Is there a way to set custom DNS settings for a single wifi connection without affecting other connections?

I use my laptop at home and work. When at work I need to type in an IP address of a local DNS server to resolve company resources. I currently do this by pressing the "Advanced..." button on the network preferences page. Unfortunately this setting is global for all of my wifi connections. So when I go home I need to remove the DNS setting.

Can I set the DNS setting to only work while I'm connected to the company's wifi?


texts: Is there any decent Wordpress blogging client for Mac?

texts:
On Windows I used to blog to Wordpress using Microsoft Word 2010 blog feature, but the Mac version is missing this feature.

I am looking for alternatives, preferably free ones. If you specify a commercial solution please include the price:  name (x$).

Please do not suggest generic text/html editors and submit different suggestions as separated answers.