See how a minor change to your branch name style can make you a better programmer.
Format: <type>/#<issueNumber>-<alias>
# This Script uses the following dependancies | |
# pip install nums-from-string | |
# pip install datetime | |
# | |
# To Run this script type: | |
# python analyze_snowflake_logs.py <Log File Name> | |
# | |
# The default <Log File Name> is ./docker_snowflake.log | |
# | |
# Example: |
feature LED_STRIP | |
led 0 0,0::CV:0 | |
led 1 1,0::CV:0 | |
led 2 0,0::C:0 | |
led 3 0,0::C:0 | |
led 4 0,0::C:0 | |
led 5 0,0::C:0 | |
led 6 0,0::C:0 | |
led 7 0,0::C:0 | |
led 8 0,0::C:0 |
{ | |
"latest": "1.20.4", | |
"versions": { | |
"1.20.4": "https://api.papermc.io/v2/projects/paper/versions/1.20.4/builds/484/downloads/paper-1.20.4-484.jar", | |
"1.20.2": "https://api.papermc.io/v2/projects/paper/versions/1.20.2/builds/318/downloads/paper-1.20.2-318.jar", | |
"1.20.1": "https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/196/downloads/paper-1.20.1-196.jar", | |
"1.20": "https://api.papermc.io/v2/projects/paper/versions/1.20/builds/17/downloads/paper-1.20-17.jar", | |
"1.19.4": "https://api.papermc.io/v2/projects/paper/versions/1.19.4/builds/550/downloads/paper-1.19.4-550.jar", | |
"1.19.3": "https://api.papermc.io/v2/projects/paper/versions/1.19.3/builds/448/downloads/paper-1.19.3-448.jar", | |
"1.19.2": "https://api.papermc.io/v2/projects/paper/versions/1.19.2/builds/307/downloads/paper-1.19.2-307.jar", |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.editor { font-family: 'Roboto Mono', monospace; font-size: 12px; outline: none; overflow-y: auto; padding-left: 48px; counter-reset: line; } | |
.editor div { display: block; position: relative; white-space: pre-wrap; } | |
.editor div::before { content: counter(line); counter-increment: line; position: absolute; right: calc(100% + 16px); opacity: 0.5; } | |
</style> | |
</head> |
To disable "This file comes from another computer" | |
Disable blocking when files are downloaded, open the following registry key: | |
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments\SaveZoneInformation | |
Change SaveZoneInformation to 1. | |
NOTE: | |
0 = Not Configured |
import sys | |
import inspect | |
import time | |
import traceback | |
def deeper(func, depth): | |
if depth > 0: | |
return deeper(func, depth-1) | |
else: | |
return func() |
/etc/pve/qemu-server/VMID.conf
args: -fsdev local,security_model=mapped,id=fsdev0,path=/path/to/share -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare
This tells qemu to create a 9pvirtio device exposing the mount_tag hostshare
(just a name to identify the mount point). That device is coupled to an fsdev named fsdev0, which specifies which portion of the host filesystem we are sharing, and in which mode.
systemctl list-unit-files
systemctl list-units
systemctl --failed
systemctl --all
systemctl start [SERVICE_NAME]
systemctl stop [SERVICE_NAME]