In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
var client = {}; | |
client.run = function (options) { | |
options = options || {}; | |
var socket = io.connect(options.remote || "http://localhost:8080"); | |
socket.on('connect', function() { | |
var term = new Terminal({ |
-- Authentication -- | |
URL: https://api.sense.com/apiservice/api/v1/authenticate | |
Method: POST | |
Fields: | |
email (your email) | |
password (your password) | |
response JSON: | |
{ |
#!/bin/bash | |
readonly BACKUP_DIR=/backup/speck | |
usage() { | |
echo "usage: $(basename "$0") addon_name" 2>&1 | |
exit 1 | |
} | |
addon_install() { |
These are notes from my efforts to get Ubuntu 20.04 installed on my older MacBook Pro. I'm making this gist public in the hopes that it's helpful to others.
I did a Minimal install, but selected the option to install additional 3rd-party drivers.
Wifi doesn't work during the install (because it requires a 3rd-party driver), so you won't be able to choose to download updates while installing. No big deal, run a software update after the install.
The installer takes about 25 minutes to complete. Post-install, most things work. The only driver I had to manually install was for the FaceTime camera. More on that below.