iMac Target Display Mode

I am trying to go into target display mode on my iMac. Its a 2012 iMac which does support TDM. However, I don’t have a standard iMac keyboard because I bought a refurbished Mac which comes with a different keyboard & mouse. That being said, I can’t use the Command + F2 key combination to go into TDM. How am I able to without doing that?

How do I enter recovery mode on an iPhone XS?

I forgot my iPhone’s lock code. I know the iCloud password. I never synced with iTunes. I’m fine with deleting all the content on the device.

I tried following the directions on Apple’s website to enter recovery mode:

  1. Tap Volume up button.
  2. Tap Volume down button.
  3. Press and hold the side button.
  4. This shows me the “slide to power off” slider and a “cancel” button.
  5. Continuing to hold it restarts the iPhone.
  6. The Apple Logo appears.
  7. I continue holding the side button because it states:

    don’t release the buttons when you see the Apple logo, wait until the connect to iTunes screen appears

  8. After the phone is done rebooting, I see a screen that says:

    iPhone is disabled. try again in 15 minutes.

  9. It does not enter recovery mode.

Note: I did try entering the passcode several times a day before and it got disabled for 15 minutes at the longest setting. However, I waited over 12 hours before I tried again, so the 15 minutes should not be a problem. To be sure, I waited another 15 minutes and repeated the whole process to no avail.

I even tried holding all 3 buttons to perform a restart, but this just entered Diagnostics mode, didn’t show up in iTunes, and had no option to enter recovery mode.

No matter what I do, I can’t get iTunes to recognize the device to start the recovery process.

I even tried the steps with an iPhone X where I know the password, but that didn’t enter recovery mode either. I tried with a different iPhone XS and a different computer to no avail either.

Seems like these suggestions from Apple don’t actually work. Any ideas how to enter recovery mode or wipe a phone if you forgot its password?

Set Default “Jobs” for setting developer mode

I noticed recently the “jobs” parameter for the CLI command bin/magento deploy:static:content. Setting this to 4 for me seems to really speed up the time this command takes however when setting production mode there seems to be no way to pass this through to the static content section of deployment.

I’m wondering if there is a way to set a default value for this or a way to botch it via a module?

How to deploy pwa-studio on server in production mode?

I have successfully installed PWA-studio with Magento 2.3. But I am not able to run it on production mode on a Ubuntu 18.04 LTS server so that we can access the PWA remotely but I am always able to start the application in development mode which only accessible locally.

How I can configure my server as well as the PWA-studio so that we can access the application remotely?

CSS not updating in Production Mode

Issue

It doesn’t appear that my merged/minified files are being updated when changed whilst in Production Mode. For example, I made a change to this file:

app/design/frontend/Theme/theme_child/web/css/styles.css

But even after I run the following, the styling isn’t taking effect:

bin/magento setup:di:compile bin/magento setup:static-content:deploy en_GB en_US bin/magento cache:flush 

I even hit the Flush Javascript/CSS Cache button on the backend.

Question

Am I missing a step? Is this a known “gremlin”? Could some of the cached files not be clearing as expected? What folder can I rm -rf to manually purge them so they can be re-deployed?

Notes:

  • The changes do take affect on my Dev Server
  • It’s not my browsers cache
  • I’m not using a CDN

Production Mode app:config:import issue

after a new deployment I get the following error:

{"0":"The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration.","1":"#0 \/var\/www\/dev.xxx.com\/httpdocs\/releases\/4\/vendor\/magento\/framework\/Interception\/Interceptor.php(121): Magento\Deploy\Model\Plugin\ConfigChangeDetector->beforeDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Magento\Framework\App\Request\Http))\n#1 \/var\/www\/dev.xxx.com\/httpdocs\/releases\/4\/vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))\n#2 \/var\/www\/dev.xxx.com\/httpdocs\/releases\/4\/vendor\/magento\/framework\/Interception\/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))\n#3 \/var\/www\/dev.xxx.com\/httpdocs\/releases\/4\/vendor\/magento\/framework\/Interception\/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))\n#4 \/var\/www\/dev.xxx.com\/httpdocs\/releases\/4\/generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)\n#5 \/var\/www\/dev.xxx.com\/httpdocs\/releases\/4\/vendor\/magento\/framework\/App\/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))\n#6 \/var\/www\/dev.xxx.com\/httpdocs\/releases\/4\/vendor\/magento\/framework\/App\/Bootstrap.php(256): Magento\Framework\App\Http->launch()\n#7 \/var\/www\/dev.xxx.com\/httpdocs\/releases\/4\/pub\/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))\n#8 {main}","url":"\/","script_name":"\/index.php"} 

But when I run bin/magento app:config:import (irrelevant how often) it says Nothing to import.

Anyone a suggestion how to solve this issue?

cheers bambamboole