国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
#!/bin/sh | |
if [ "$UID" -ne 0 ]; then | |
echo "This script needs to be executed as root" | |
exit 1 | |
fi | |
vendor_id="0x3000" # Valve | |
product_id="0x28DE" | |
serial_number="$(dmidecode -s system-serial-number)" # The Steam Deck's serial number |
# /etc/nsmb.conf - macOS 11.3 - 2021-04-29 | |
#------------------------------------------------------------------------------ | |
# SMB configuration for macOS 11.3 <-> Synology | |
#------------------------------------------------------------------------------ | |
# Additional information: | |
# ----------------------- | |
# https://support.apple.com/de-de/HT211927 | |
# https://support.apple.com/en-us/HT208209 | |
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra | |
# https://photographylife.com/afp-vs-nfs-vs-smb-performance |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
First you need to install pandoc.
I used brew install pandoc
to install via Homebrew since I'm on a mac.
Make a slides.md
for your slides (or name it whatever you want!). I put images in an /images/
folder. You can see how links and images and all of that work from this sample:
#!/bin/sh | |
# | |
# Author: Riyad Preukschas <riyad@informatik.uni-bremen.de> | |
# License: Mozilla Public License 2.0 | |
# SPDX-License-Identifier: MPL-2.0 | |
# | |
# OpenWRT firewall script for configuring NPTv6 (network prefix translation). | |
# | |
# # Installation | |
# |
The below is a breakdown / bird's eye view of how a sparse-array backed ECS like EnTT or Shipyard works.
Please see the thanks and references at the bottom - without their help I would not have been able to share this breakdown with you... everything here is really just notes and rephrasing of what they've written already :)
Also, these notes do not cover archetype systems (like unity) nor adaptations of archetypes (like in Flecs). Though there's a couple comparative footnotes at the end.
Here we go!
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
#! /bin/python | |
import json | |
import random | |
import re | |
import string | |
import time | |
import urllib.parse | |
from threading import Thread | |
from time import sleep, time_ns |
Allow greater control of websockets in the api without relying on libs with socket.io and ws. Looking for the basic implementation of reading and writing data and connection handshake for projects where socket.io and ws do not support the required functionalities in the project.
It is not possible to receive or send text messages longer than 65522 characters.
/* Add this into your Chrome/Chromium | |
* Address Bar and Search settings as a New Search Engine | |
* Give it a shortcut name like "search" | |
* Set it as your default search engine | |
* Now every time you search through the Address Bar | |
* or type "search" then TAB you'll get your Google search results | |
* But without listicles and review sites | |
*/ | |
{google:baseURL}search?q=%s+-"Must-have"+-"best"+-"Top+10"+-"The+best+online"+-site%3Ag2.com+-site%3Acapterra.com+-site%3Atrustpilot.com+-site%3Areddit.com+-site%3Aquora.com+-site%3Acapterra.com.de |