Skip to content

Instantly share code, notes, and snippets.

@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active July 17, 2024 01:35
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@natelandau
natelandau / bootstrapNewMac
Created January 24, 2017 14:45
A bootstrap script to install my dotfiles and configure a new computer
#!/usr/bin/env bash
# This bootstraps installing ssh-keys to github
# set colors
if tput setaf 1 &> /dev/null; then
tput sgr0
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then
ORANGE="$(tput setaf 172)"
else
@dderusha
dderusha / modify_Oracle_java8_Esko.py
Last active June 10, 2016 13:20 — forked from pudquick/modify_java.py
Esko Pilot and Esko Shuttle Using Oracle JDK 8r51 no longer needs Apple's Java 6
#!/usr/bin/python
import plistlib, os.path, os
# Based off of https://forums.developer.apple.com/message/6741
# and http://apple.stackexchange.com/a/136976
def jdk_info_plists():
# Find all the JDK Info.plist files
JDK_ROOT = "/Library/Java/JavaVirtualMachines"
if (os.path.exists(JDK_ROOT) and os.path.isdir(JDK_ROOT)):