Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
https://*.github.com/*
https://*.github.io
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
https://*.github.com/*
https://*.github.io
# Check the dock settings | |
# Future plan is automatic removal of unwanted items and addition of only necessary items using dockutil/Ansible | |
# plutil -p Library/Preferences/com.apple.dock.plist | |
# Enable SSH server for remote management/configuration | |
sudo systemsetup -setremotelogin on | |
# Install Homebrew (if it isn't already available) | |
hash brew || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
# Find exited cleanly and set it to true | |
sed -i 's%"exited_cleanly"%c"exited_cleanly": true' ~/.config/chromium/Default/Preferences | |
# could potentially run chrome || sed or add it to the desktop shortcut before launching chrome |
{ | |
"title": "esc double mapping", | |
"rules": [ | |
{ | |
"description": "left Ctrl is remapped to Cmd, need esc when held to simulate other ctrl", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", |
{ | |
"title": "Tabs Outliner overrides", | |
"rules": [ | |
{ | |
"description": "X (Ctrl+Shift) [Only Chrome]", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "x", | |
"modifiers": { "mandatory": ["control", "shift"]} |
pool: | |
vmImage: 'macOS-10.13' | |
steps: | |
- bash: | | |
brew cask install docker # grabs Docker for Mac | |
set -x | |
echo "Running xattr" # I think brew is supposed to do this but I was still prompted to "trust" it if I didn't | |
xattr -d -r com.apple.quarantine /Applications/Docker.app | |
echo "Running Docker as root to install helpers" |
Save this XML somewhere like $HOME/Downloads
alongside the Anka .pkg file.
Install/reinstall using this xml to enabled nested virtualization with the Anka command line installation instructions:
sudo installer -applyChoiceChangesXML nanka.xml -pkg AnkaBuild-1.4.3.104.pkg -target /
If your hardware supports things properly, you should be able to install Docker for Mac inside the VM and use it.https://www.reddit.com/r/Crostini/wiki/howto/adjust-display-scaling
The BEST way to do this in ChromeOS is to right click the application icon and choose "Use low density", then either allow ChromeOS to restart the app or say "Not now" and do it yourself. Upon starting the application again you should have a readable UI without monkeying with the Java VM options or the properties of whichever app your are using.
$ sudo apt-get install dex | |
$ /usr/bin/dex -c /usr/bin/dex -t ~/.local/share/applications/ | |
When imaging a computer to speed up the process and avoid prompts but also prevent duplicate names on the network, you will typically configure your image to pull out some unique identifier from the hardware and use that as part of the hostname. This could be the system serial number or the MAC address of the on board network controller (highly unlikely to change without a new motherboard) or something else like that.
The trouble with moving a hard drive that has been imaged this way is that it doesn't magically adopt the unique attributes from the new system, and if you reimage the old system with another drive, there is now an "evil" twin on the network, which causes no end of fun and frivolity when suddenly one becomes untrusted and you can't log into any AD accounts from it.
The solution is that immediately after moving the drive to a new computer, you should login, then unjoin the domain (requires domain admin permissions) so you can rename and rejoin once you know what unique identifier you will use i