- Gruvbox Themes:
tomphilbin.gruvbox-themes
- File Utils:
sleistner.vscode-fileutils
- Todo Tree:
gruntfuggly.todo-tree
- Debugger for Chrome:
msjsdiag.debugger-for-chrome
- Prettier - Code formatter:
esbenp.prettier-vscode
+Esc::ExitApp | |
#IfWinActive Minecraft | |
!z::Send 1 | |
!x::Send 2 | |
!c::Send 3 | |
!a::Send 4 | |
!s::Send 5 | |
!d::Send 6 | |
!q::Send 7 |
{ | |
"type": "minecraft:block", | |
"pools": [ | |
{ | |
"rolls": 1, | |
"entries": [ | |
{ | |
"type": "minecraft:alternatives", | |
"children": [ | |
{ |
# Selectors with operator overloading: | |
# (-) Pollutes module scope with many imports | |
# (+) Arguably more expressive/readable | |
# (+) More creative potential more new functionality | |
from pyckaxe.gamemodes import spectator | |
from pyckaxe.selectors import a | |
from pyckaxe.selector_arguments import gamemode, tag, distance, scores, score, advancements, advancement, nbt, level, limit | |
from pyckaxe.selector_sorts import nearest |
UPDATE: See: https://github.com/Arcensoth/blueprints
Blueprints are a text-based, human-readable/writable structure format. A blueprint compiles-down to a single NBT structure file that can be loaded with a structure block.
Note that all examples use YAML instead of JSON, but the YAML used is 1:1 convertible to/from JSON.
# Advance the given PRNG seed, optionally using salt to diverge into a new stream. | |
# multiplier = 1103515245 | |
# increment = 12345 | |
# truncate = 16 | |
# start with the seed | |
scoreboard players operation $result foo._out = $seed foo._in | |
# mutate the seed by multiplying by the salt |
tellraw @a "\n ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳"
tellraw @a "\n Ⓐ Ⓑ Ⓒ Ⓓ Ⓔ Ⓕ Ⓖ Ⓗ Ⓘ Ⓙ Ⓚ Ⓛ Ⓜ Ⓝ Ⓞ Ⓟ Ⓠ Ⓡ Ⓢ Ⓣ Ⓤ Ⓥ Ⓦ Ⓧ Ⓨ Ⓩ"
tellraw @a "\n ⓐ ⓑ ⓒ ⓓ ⓔ ⓕ ⓖ ⓗ ⓘ ⓙ ⓚ ⓛ ⓜ ⓝ ⓞ ⓟ ⓠ ⓡ ⓢ ⓣ ⓤ ⓥ ⓦ ⓧ ⓨ ⓩ"
tellraw @a "\n ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀"
tellraw @a "\n ☲ ☵ ☰ ☱ ☳ ☴ ☶ ☷ ⅒ ⅘ ⅛ ⅜ ⅝ ⅞ ⅓ ⅔ ⅐ ⅑ ⅕ ⅖ ⅗ ⅙ ⅚ ⅟ ↉"
tellraw @a "\n ⁰ ¹ ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₌ ₍ ₎"
tellraw @a "\n ∅ ∈ ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ · √ ⁿ ² ■ ☈ Є ∫ ∮ − ∓ ∞ ∝ ⌀ ⌂ ⌘ 〒 ↔ ⇒ ⇏ ⇔ ⇵"
from abc import ABC, abstractmethod | |
class AbstractThing(ABC): | |
@classmethod | |
@abstractmethod | |
def classy(cls): | |
... | |
@classmethod |
#!/usr/bin/env python3 | |
# | |
# gif2mp4.py | |
# Bulk convert a folder of GIFs into MP4s | |
# | |
# Requirements: | |
# - Python 3.8+ | |
# - pip install MoviePy | |
# | |
# Usage: |