How To Install Different JDK Versions on MacOS with Homebrew
Keywords: Java, JDK (Java Development Kit), MacOS, Homebrew, Specific Version
This how-to guide covers how to install different versions of the JDK on MacOS with Homebrew.
I recently relocated for new employment. I've been staying in an extended stay hotel for about 3 weeks now. The hotel I'm staying in gives its guests free Wifi access. However, it requires users to accept terms and conditions on a splash page via browser interface before they can use the network. This makes it difficult to use my Chromecast with the network, as it doesn't have a means of accessing that splash page. While I could call the IT help line, I decided to explore a work-around.
Like many networks, my hotel's network attempts to improve security by using MAC address filtering. Luckily, Mac OS X (10.4 - 10.10) makes it very easy to spoof your network card's MAC address.
Here's how to add a devices like Chromecast, AppleTV, Roku to a wireless network that requires a browser to authenticate and accept terms and conditions.
|# Borrowed from https://github.com/y310/rspec-retry/blob/master/lib/rspec/retry.rb|
|CAPYBARA_TIMEOUT_RETRIES = 3|
|RSpec.configure do |config||
|config.around(:each, type: :feature) do |ex||
|example = RSpec.current_example|
|CAPYBARA_TIMEOUT_RETRIES.times do |i||
|self.instance_variable_set('@__memoized', nil) # clear let variables|
|# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)|
|# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos|
|# Alot of these configs have been taken from the various places|
|# on the web, most from here|
|# MOTIVATION: As rails apps are growing, people are noticing the drawbacks|
|# of the ActiveRecord pattern. Several apps I have seen, and several|
|# developers I have spoken to are looking towards other patterns for object|
|# persistence. The major drawback with ActiveRecord is that the notion|
|# of the domain object is conflated with what it means to store/retrieve|
|# it in any given format (like sql, json, key/value, etc).|
|# This is an attempt to codify the Repository pattern in a way that would|
|# feel comfortable to beginner and seasoned Ruby developers alike.|
|<?xml version="1.0" encoding="UTF-8"?>|
|<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">|
|<string>기능|機能|功能|フィーチャ|خاصية|תכונה|Функціонал|Функционалност|Функционал|Особина|Могућност|Özellik|Właściwość|Tính năng|Savybė|Požiadavka|Požadavek|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Fīča|Funzionalità|Funktionalität|Funkcionalnost|Funkcionalitāte|Funcționalitate|Functionaliteit|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Feature|Egenskap|Egenskab|Crikey|Característica|Arwedd(.*)</string>|