ref Apple modifer key map is bull of shit. swap obfucated any key, left to right right to left , dang , then i figure it out how to config it thanks a post. Now to can set it as you want like the guid below.
Key | Code / left | right |
---|---|---|
no action | 30064771072 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '################ SECTION MDM MDM HIDING | CODE GENERATED !! | DONT REMOVE IT ###################' >> /private/etc/hosts | |
echo '############################## DONT REMOVE #############################' >> /private/etc/hosts | |
echo '0.0.0.0 iprofiles.apple.com' >> /private/etc/hosts | |
echo '0.0.0.0 deviceenrollment.apple.com' >> /private/etc/hosts | |
echo '0.0.0.0 mdmenrollment.apple.com' >> /private/etc/hosts | |
echo '0.0.0.0 gdmf.apple.com' >> /private/etc/hosts | |
for var in "$@" | |
do | |
echo "0.0.0.0 $var" >> /private/etc/hosts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e RAM=16 -e SMP=8 -e CORES=8 --name htn.macos sickcodes/docker-osx:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//example | |
// obj { | |
// a:0, | |
// b:1 | |
// } | |
// output { | |
// a1:1, | |
// a2:2 | |
// } | |
console.log(JSON.stringify(Object.fromEntries(Object.entries("your object with key value").map(([key,value])=>{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install via | |
# wget -O - https://gist.github.com/hotrungnhan/7b7a4a479fc9825fb342e2a6e50b2672/raw/install.sh | bash | exit | |
################################################################################################### | |
# This is a very simple .bashrc file that I'm using on a daily basis. # | |
# It completely replaced my zsh setup, and should be relatively simple to understand and modify. # | |
# # | |
# Built by Moritz (mo-mar.de) - just do whatever you want with it, according to the Unlicense: # | |
# https://choosealicense.com/licenses/unlicense/ # | |
# # | |
# Simple installation: # |