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
# Create a Bootable macOSHighSierra.iso for installing macOS High Sierra in Virtualbox or VMware with macOS High Sierra.app | |
# Create a "virtual USB flash drive"/disk image: | |
hdiutil create -o /tmp/HighSierra -size 8G -layout SPUD -fs HFS+J -type SPARSE | |
# Mount it: | |
hdiutil attach /tmp/HighSierra.sparseimage -noverify -mountpoint /Volumes/install_build | |
# Write the installer files into this new disk image: |
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 Ubiquiti Unifi Controller on Ubuntu 20.04. | |
# As tested on a fresh install of ubuntu-20.04.1-live-server, August 22nd 2020. | |
# Thanks to https://gist.github.com/tmuncks for posting the updated install steps. | |
sudo apt update | |
sudo apt install --yes apt-transport-https | |
echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list | |
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[ | |
{ | |
"name": "Acetone", | |
"start": 1.36 | |
}, | |
{ | |
"name": "Acrylic glass", | |
"start": 1.49, | |
"stop": 1.492 | |
}, |
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
Silver 0.18 | |
Gold 0.47 | |
Helium 1.000036 | |
Hydrogen (gas) 1.00014 | |
Water (gas) 1.000261 | |
Oxygen (gas) 1.000276 | |
Argon 1.000281 | |
Air 1.0002926 | |
Nitrogen (gas) 1.000297 | |
Carbon Dioxide (gas) 1.000449 |
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
#!/usr/bin/python | |
import uuid | |
import os | |
from zipfile import ZipFile, is_zipfile | |
import sys | |
import time | |
from random import randint | |
import argparse | |
import re |
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
#!/usr/bin/env python | |
# Based on http://stackoverflow.com/questions/17555345/creating-a-montage-of-pictures-in-python | |
from sys import path | |
# needed for some package installs, harmless otherwise | |
path.append('/usr/local/lib/python2.7/site-packages') | |
import argparse | |
import os | |
import sys | |
from time import strftime |