How to fix "Flutter requires Android SDK 29"
The simplest approach if you're not using a specilized IDE is to use the command line and sdkmanager as follows:
sdkmanager "platform-tools" "platforms;android-29"
The simplest approach if you're not using a specilized IDE is to use the command line and sdkmanager as follows:
sdkmanager "platform-tools" "platforms;android-29"
Non-removable MDM profiles cannot officially removed without doing a full system wipe. This is a problem when you restore a system from Time Machine after you enrolled it into the MDM, as the MDM will break, leaving you unable to re-enroll the machine.
csrutil disable
. This will disable SIP (System Integrity Protection).cd /var/db/ConfigurationProfiles
rm -rf *
mkdir Settings
touch Settings/.profilesAreInstalled
csrutil enable
. This will re-enable SIP.The profile will be now removed and you will be able to re-enroll the Mac to your MDM.
Restoring from a Time Machine backup can create duplicate MDM VPN profiles.
If the Button isn’t available,you have to use a terminal command to remove it. Open the integrated Terminal and type
networksetup -removenetworkservice "duplicateVPNProfile"
target: 'static'
in your nuxt.config.js
generate: { fallback: '404.html' }
location /.
{
# Remove trailing slash and redirect it
rewrite ^(.+)/+$ $1 permanent;
# Redirect index.html
rewrite ^(.+)/index.html$ $1 permanent;
# Serve folder path via index.html
try_files $uri $uri/index.html =404;
# Serve a custom static error page
error_page 404 /404.html;
}
Sometimes you need to follow an url trough multiple redirects. I've created a simple script you can alias into your .bashrc
or .zshrc
file and then just use it as a regular shell command:
Add this line to .zshrc
or .bashrc
# Follow URL
alias checkurl='_checkurl() { curl -v -L $1 2>&1 | egrep "^(> Host:|> GET|> Code|< HTTP|\* SSL)"}; _checkurl'
Then you can use it like so:
checkurl google.com
it will output this:
> GET / HTTP/1.1
> Host: google.com
< HTTP/1.1 301 Moved Permanently
> GET / HTTP/1.1
> Host: www.google.com
< HTTP/1.1 200 OK
Really useful when debugging URLs.