This is mostly for my own benefit when I invariably format a computer using these adapters and forget how to get wifi working again:
Plug device in and ensure it is detected via lsusb:
For the T3U Plus, the ID is 2357:0138.
| #!/usr/bin/env python | |
| import re | |
| import subprocess | |
| def get_edid_for_output(connector: str) -> bytes: | |
| xrandr = subprocess.run( | |
| ['xrandr', '--props'], | |
| check=True, |
| #!/bin/bash | |
| # Check for current power save state | |
| cat /sys/module/snd_hda_intel/parameters/power_save | |
| cat /sys/module/snd_hda_intel/parameters/power_save_controller | |
| # Immediately disable session power save | |
| echo "0" | sudo tee /sys/module/snd_hda_intel/parameters/power_save | |
| echo "0" | sudo tee /sys/module/snd_hda_intel/parameters/power_save_controller | |
| # Disable power save forever |
| # Regardless of how our topology looks, we'll need the local interface | |
| auto lo | |
| iface lo inet loopback | |
| # Configuration basics taken from: | |
| # http://www.kernel.org/doc/Documentation/networking/bonding.txt | |
| # Define the bonding master, which is ideally our only interface to the outside world | |
| # - define slaves as none initially, this helps with booting faster | |
| # - the primary line makes most sense here, but is not enough | |
| # - set the interface check interval to 100ms |
| #OSX Tweaks: | |
| =========== | |
| - Most need reboot to show changes | |
| - Most of these tweaks are just for speed, but some are specific for development | |
| - All of these are to be ran in terminal. The commands to be copy and pasted start after the less-than sign. | |
| - I'm not responsible for any adverse effects to your computer, at all. | |
| ##Increase the speed of OS X dialogs boxes: |
This is mostly for my own benefit when I invariably format a computer using these adapters and forget how to get wifi working again:
Plug device in and ensure it is detected via lsusb:
For the T3U Plus, the ID is 2357:0138.
This guide looks at what it will take to build dockerd and docker-cli from source with Ubuntu. Ubuntu was chosen as the OS as it uses the same apt-get calls the standard Dockerfile method uses making the experience a bit more seamless. While the official method is building docker in a container, here are some reasons why you may want to build this way:
As you can probably tell using this method means you're delving away from support. Please don't file issues/PRs unless you can reproduce in the official build environment. In fact unless you really have one of the strong needs above you're better off building off a container since this guide is mostly a lot of copy/paste from the Dockerfile used in the official build system.
Thanks everyone for commenting/contributing! I made this in college for a class and I no longer really use the technology. I encourage you all to help each other, but I probably won't be answering questions anymore.
This article is also on my blog: https://emilykauffman.com/blog/install-anaconda-on-wsl
Note: $ denotes the start of a command. Don't actually type this.
x86_64.sh. If I had a 32-bit computer, I'd select the x86.sh version. If you accidentally try to install the wrong one, you'll get a warning in the terminal. I chose `Anaconda3-5.2.0-Li| import threading | |
| from playwright.sync_api import sync_playwright | |
| from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor | |
| class Tls(threading.local): | |
| def __init__(self) -> None: | |
| self.playwright = sync_playwright().start() | |
| print("Create playwright instance in Thread", threading.current_thread().name) |
| # This snippet demonstrates Pythonic formatting and parsing of | |
| # ISO 8601 durations. | |
| # A little work is required to navigate between Python's | |
| # timedelta syntax and ISO 8601 duration syntax. | |
| import re | |
| from datetime import datetime | |
| from datetime import timedelta |
| # GPG keys | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
| # list file for MongoDB | |
| echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
| # install | |
| sudo apt-get update | |
| sudo apt-get install -y mongodb-org |