export OPT=/opt
export BUILDS=/some/where/mini_linux
mkdir -p $BUILDS
This primer is licensed under your choice of MIT or CC0, do whatever you want.
BUT do note that this can be updated, so leave a link here so readers can see the updated information themselves.
1.13 and 1.14 are lumped together in this doc, you're on your own if you just want to go to 1.13 and not 1.14, for some reason.
1.15 stuff: https://gist.github.com/williewillus/30d7e3f775fe93c503bddf054ef3f93e
ResourceLocationnow throw on non-snake-case names instead of silently lowercasing for you, so you probably should go and change all those string constants now. More precisely, domains must only contain alphanumeric lowercase, underscore (_), dash (-), or dot (.). Paths have the same restrictions, but can also contain forward slashes (/).
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft
See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.jsonfile in/etc/docker:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
| """ | |
| Please understand Music bots are complex, and that even this basic example can be daunting to a beginner. | |
| For this reason it's highly advised you familiarize yourself with discord.py, python and asyncio, BEFORE | |
| you attempt to write a music bot. | |
| This example makes use of: Python 3.6 | |
| For a more basic voice example please read: | |
| https://github.com/Rapptz/discord.py/blob/rewrite/examples/basic_voice.py |
| #/usr/bin/env python3 | |
| import time | |
| import threading | |
| import functools | |
| import tqdm | |
| def long_running_function(*args, **kwargs): |
| # /usr/share/BasiliskII/keycodes | |
| # | |
| # Basilisk II (C) 1997-2005 Christian Bauer | |
| # | |
| # This file is used to translate the (server-specific) scancodes to | |
| # Mac keycodes depending on the window server being used. | |
| # | |
| # The format of this file is as follows: | |
| # | |
| # sdl <driver string> |
| FROM golang:1.9 | |
| WORKDIR /go/src/github.com/purplebooth/example | |
| COPY . . | |
| RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go | |
| FROM scratch | |
| COPY --from=0 /go/src/github.com/purplebooth/example/main /main | |
| CMD ["/main"] |
| # InstallQEMUOnMac v1 | |
| # colebob9 | |
| # Installs QEMU using homebrew and downloads Ubuntu on a Mac | |
| # Execute `chmod +x InstallQEMUOnMac.sh` before using. | |
| echo "This will install QEMU on your Mac. Please note that this will take about 40 minutes to get through. Go watch some YouTube videos or something cause you're going to be here for a while. This script will take care of everything." | |
| echo "Please make sure you have your charger plugged in, and a lot of patience." | |
| echo "Do not *at any point* exit out of this Terminal window, even if it looks stuck. It's not." | |
| echo "It is also recommended to have the Mac apps \"Amphetamine\" or \"Caffeine\" installed and enabled now, so your Mac doesn't sleep. Do not close your lid either." |