l1 = PolarLine(l1@1, length=7, direction=Vector(-70,-50).normalized())
l2 = IntersectingLine((-9,-5), direction=Vector(0,0,1).rotate(Axis.Y, 18), other=l1)
l1 = PolarLine(l1@1, length=7, direction=Vector(-70,-50).normalized())
l2 = IntersectingLine((-9,-5), direction=Vector(0,0,1).rotate(Axis.Y, 18), other=l1)
tracepart
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""Show how to give information to the user in macros | |
""" | |
from PySide import QtCore, QtGui | |
def messageDialog(msg): | |
# Create a simple dialog QMessageBox | |
# The first argument indicates the icon used: one of QtGui.QMessageBox.{NoIcon, Information, Warning, Critical, Question} |
Use cases
instead of pass
def some_func()
...
yt-dlp -S vcodec:h264,fps,res:720,acodec:m4a --download-sections "*00:01:06-00:01:07" --force-keyframes-at-cuts https://youtu.be/bntsH_njvdQ | |
yt-dlp -S vcodec:h264,fps,res:720 --merge-output-format mp4 --download-sections "*00:01:06-00:01:07" --force-keyframes-at-cuts https://youtu.be/bntsH_njvdQ |
set shell := ["sh", "-c"] | |
set windows-shell := ["powershell", "-c"] | |
mod yt-dlp "justfile-ytdlp.just" | |
@_menu: | |
just --list | |
# Ensure PowerShell is run as Administrator | |
$CoreUtils = "C:\Users\<user>\AppData\Local\Microsoft\WinGet\Links\coreutils.exe" | |
$commands = @( | |
'arch', 'b2sum', 'b3sum', 'base32', 'base64', 'basename', 'basenc', 'cat', | |
'cksum', 'comm', 'cp', 'csplit', 'cut', 'date', 'dd', 'df', 'dir', | |
'dircolors', 'dirname', 'du', 'echo', 'env', 'expand', 'expr', 'factor', | |
'false', 'fmt', 'fold', 'hashsum', 'head', 'hostname', 'join', 'link', | |
'ln', 'ls', 'md5sum', 'mkdir', 'mktemp', 'more', 'mv', 'nl', 'nproc', |