I use Ubuntu 16.04/Ubuntu Xenial.
Add a new user who isn't root, but who can sudo:
- Update all the things:
apt-get update && apt-get dist-upgrade && apt-get autoremove - Reboot, just in case:
shutdown -r now
Scenario:
Problem:
At boot TTY are randomly assigned to devices causing depending services/programs instabilities. They could indeed fail to start because of different TTY configurations.
Solution:
Swift-evolution thread: https://forums.swift.org/t/pitch-compile-time-constant-expressions-for-swift/12879
| OVERVIEW: Swift compiler | |
| USAGE: swiftc [options] <inputs> | |
| MODES: | |
| -dump-ast Parse and type-check input file(s) and dump AST(s) | |
| -dump-parse Parse input file(s) and dump AST(s) | |
| -dump-scope-maps <expanded-or-list-of-line:column> | |
| Parse and type-check input file(s) and dump the scope map(s) | |
| -dump-type-refinement-contexts |
The following intructions can be used to install .NET Core on Linux ARM64.
Pro tip: Check out .NET Core Docker files to determine the exact instructions for installing .NET Core builds, for example .NET Core 3.1 ARM32 SDK Dockerfile.
The following instructions install the latest .NET Core globally. It isn't required to do that, but it provides the best experience.
| Install WireGuard via whatever package manager you use. For me, I use apt. | |
| $ sudo add-apt-repository ppa:wireguard/wireguard | |
| $ sudo apt-get update | |
| $ sudo apt-get install wireguard | |
| MacOS | |
| $ brew install wireguard-tools | |
| Generate key your key pairs. The key pairs are just that, key pairs. They can be |
I am assuming you are here because like me, you installed a bazillion different python interpreters on mac and the whole thing is a spagetti. Today, I finally fixed my python installation. Whatever I install for python2 or python3 using pip JUST.WORKS.. My god! finally.
Here is what I had messed up, which you also probably did:
⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
Note: This gist may be outdated, thanks to all contributors in comments.
adb is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
| extension Collection { | |
| public subscript(inplace_slice bounds: Range<Index>) -> Slice<Self> { | |
| get { fatalError() } | |
| _modify { | |
| var slice = Slice(base: self, bounds: bounds) | |
| yield &slice | |
| } | |
| } | |
| } |