On macOS Mojave and above
defaults write com.apple.Dock autohide-delay -float 0.0001; killall Dock
on a version prior to macOS Mojave
defaults write com.apple.Dock autohide-delay -float 0; killall Dock
To undo this behavior:
| struct Keycode { | |
| // Layout-independent Keys | |
| // eg.These key codes are always the same key on all layouts. | |
| static let returnKey : UInt16 = 0x24 | |
| static let enter : UInt16 = 0x4C | |
| static let tab : UInt16 = 0x30 | |
| static let space : UInt16 = 0x31 | |
| static let delete : UInt16 = 0x33 | |
| static let escape : UInt16 = 0x35 |
| #!/usr/bin/env python3 | |
| """ | |
| Mac OSX Catalina User Password Hash Extractor | |
| Extracts a user's password hash as a hashcat-compatible string. | |
| Mac OSX Catalina (10.15) uses a salted SHA-512 PBKDF2 for storing user passwords | |
| (hashcat type 7100), and it's saved in an annoying binary-plist-nested-inside-xml-plist | |
| format, so previously reported methods for extracting the hash don't work. |
| FROM ubuntu:22.04 | |
| LABEL Maintainer=arag0re.eth | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get -y update | |
| RUN apt-get install -y ssh zsh curl wget git libssl-dev ca-certificates sudo build-essential systemd dbus dbus-user-session python3 openssh-server openssh-client | |
| RUN apt-get install -y python-is-python3 neofetch libnet-ssleay-perl libcrypt-ssleay-perl freeradius freeradius-utils eapoltest | |
| RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| RUN git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
| RUN sed 's,plugins=(git)[^;]*,plugins=(git zsh-autosuggestions),' -i /root/.zshrc | |
| RUN source /root/.zshrc | bash |
| # high sierra | |
| sudo launchctl stop com.openssh.sshd | |
| sudo launchctl start com.openssh.sshd | |
| # latest | |
| sudo vim /etc/services # (update the port config for ssh and save) | |
| sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist | |
| sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist |
On macOS Mojave and above
defaults write com.apple.Dock autohide-delay -float 0.0001; killall Dock
on a version prior to macOS Mojave
defaults write com.apple.Dock autohide-delay -float 0; killall Dock
To undo this behavior:
npm install -g npm to update npm to the latest versionNow you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.
| ## You need to start Powershell as Admin for this!!! | |
| ### WARNING: First you have to set the execution policy for powershell scripts on this system to "Set-ExecutionPolicy unrestricted" | |
| ### after executing this script change it back to "Set-ExecutionPolicy allSigned" (may have to restart powershell for this) | |
| $Packages = 'googlechrome', | |
| "firefox", | |
| "notepadplusplus", | |
| "7zip", | |
| "openjdk8", | |
| "openjdk11", | |
| "office-tool", |
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') { | |
| Import-Module PSReadLine | |
| } | |
| Import-Module -Name Terminal-Icons | |
| diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2 | |
| hdiutil mount ~/Desktop/Win10_2004_EnglishInternational_x64.iso | |
| rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-GB_DV9/* /Volumes/WIN10 | |
| install homebrew if not already installed by executing: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew install wimlib | |
| mkdir /Volumes/WIN10/sources | |
| wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-GB_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 3800 |
| diskutil eraseDisk "Free Space" disk /dev/disk2 | |
| sudo dd if=~/Downloads/manjaro-kde-21.1.3-minimal-210916-linux513.iso of=/dev/disk2 bs=4096 |