$ curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
$ curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh && sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server
version: "3.8" | |
# NOTE! This docker container has hard-coded values for passwords - this is intentional as this is testing machine. DO NOT EXPOSE TO THE INTERNET. | |
services: | |
database: | |
image: mariadb:10.6.4-focal | |
restart: unless-stopped | |
ports: | |
- 3306:3306 | |
environment: | |
MYSQL_ROOT_PASSWORD: 'CTBB_ROOT_PASSWD' |
ASCI art characters for creating diagrams
Installed MongoDB using the following guide: Install MongoDB
However, the installation in the guide is for MongoDB 5.0
on WSL with Ubuntu 20.04 (focal)
distro.
The following is an adaptation of the guide for installing MongoDB 6.0
on WSL with Ubuntu 22.04 jammy
distro.
cd ~
sudo apt update
App.ActiveDocument
. I would suggest to use doc
instead of App.ActiveDocument
and e.g. objs.Box
instead of App.ActiveDocument.Box
. doc.Objects
would continue to be the list of children.App.Rotation
takes angle(s) in degrees as input but Rotation.Angle
is in radians.App.Quantity.getValueAs
returns a unit-less quantity instead of a floatgetGlobalPlacement
does not return the global placement.App.GuiUp
is not available at the start of FreeCAD.PySide
but not under a different name.import FreeCAD as App
and import freecad as App
) but they are not equivalent.# PowerShell script to add Windows Defender exclusions for WSL2 and JetBrains IDE performance issues | |
# | |
# For context please read this thread: | |
# https://github.com/microsoft/WSL/issues/8995 | |
# | |
# How to use? | |
# - Save the Script: Open a text editor like Notepad and paste the PowerShell script into it. | |
# - Save the file with a .ps1 extension, for example, Add_WindowsDefender_Exclusions.ps1. | |
# - Run PowerShell as Administrator: Search for "PowerShell" in the Start menu, right-click on it, and choose "Run as administrator". | |
# - Navigate to the Script's Location: Use the cd command to navigate to the directory where you saved the .ps1 file. |
#Users
{
id: integer
username: string
email: string
created_at: datetime(iso 8601)
updated_at: datetime(iso 8601)
}