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
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH: | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/myusername/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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
import urllib.request, json | |
with urllib.request.urlopen("https://launchermeta.mojang.com/mc/game/version_manifest.json") as manifest_url: | |
manifest_data = json.loads(manifest_url.read().decode()) | |
current_url = manifest_data['versions'][0]['url'] | |
with urllib.request.urlopen(current_url) as current_url: | |
current_data = json.loads(current_url.read().decode()) | |
jar_url = current_data['downloads']['server']['url'] |
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
// Logiops (Linux driver) configuration for Logitech MX Master 3 for Mac | |
// More or less mirrors the default Logi Options settings | |
// Ie mostly just the thumb button gestures | |
// Several options commented out for reference | |
// File location: /etc/logid.cfg | |
devices: ({ | |
name: "MX Master 3 for Mac"; | |
//smartshift: { |