sudo apt update
sudo apt install openjdk-8-jdk-headless| #!/bin/bash | |
| #--------------------------------------------------------------------------------# | |
| # # | |
| # Fix WSL DNS resolution with Cisco AnyConnect # | |
| # # | |
| # ! Don't forget to set this configuration in /etc/wsl.conf: # | |
| # [network] # | |
| # generateResolvConf = false # | |
| # # | |
| # Based on: # | 
| javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ | 
| # We'll be installing Homebrew in the /opt directory. | |
| cd /opt | |
| # Create a directory for Homebrew. This requires root permissions. | |
| sudo mkdir homebrew | |
| # Make us the owner of the directory so that we no longer require root permissions. | |
| sudo chown -R $(whoami) /opt/homebrew | |
| # Download and unzip Homebrew. This command can be found at https://docs.brew.sh/Installation. | 
| tell application "Contacts" | |
| -- repeat with aPerson in people of group "Test Group" | |
| repeat with aPerson in people | |
| set thePhones to phones of aPerson | |
| if thePhones is not {} then | |
| set errorList to {} | |
| repeat with aPhoneNumber in thePhones | |
| set theNumber to value of aPhoneNumber | |
| try | |
| set value of aPhoneNumber to my getNewNumber(theNumber) | 
| #!/bin/bash | |
| if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then | |
| echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists" | |
| exit -1 | |
| fi | |
| mkdir -p ~/Library/KeyBindings | |
| cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict | |
| { | |
| "₩" = ("insertText:", "\`"); | 
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.
Please follow these steps to set up your nick and configure your client. Check off each step to make sure it's been done:
Select a permanent, master nickname. If the nickname you want is registered but has expired, just ask a staffer and in most cases, we will be happy to drop it for you.
Please avoid using the name of a community project or trademarked entity, to avoid conflicts. Write down your password and be sure to keep the sheet of paper in a safe place.
Register your IRC nick: