- Ellipsis (...)
Use cases
-
instead of pass
def some_func() ...
#! /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', |
Cross platform tool to copy files to "cloud", which includes google drive, samba, sshfs
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
ens1: | |
dhcp4: true | |
dhcp4-overrides: | |
use-dns: false | |
nameservers: | |
addresses: [8.8.8.8, 8.8.4.4, 192.168.20.1] |