If you have a Graffle document (doc.graffle) with a canvas named "mycanvas" holding the following layers ...
- Extra 3
- Extra 2
- Extra 1
- Base
... then these images will be generated:
#!/usr/bin/env python | |
# Flipper RAW .sub format | |
# | |
# Having a look at some of the code in lib/subghz/protocols/raw.c | |
# - Decoded data is stored as a line starting with the text "Raw_Data: " followed by space delimited integers. | |
# - Each line stores a maximum number of integers limited to SUBGHZ_DOWNLOAD_MAX_SIZE ,defined as 512. Then a new line is written. | |
# - The sign of each integer represents a decoded signal logic level, positive / negative , logic level 1 / 0 | |
# - The absolute value of each integer represents the signal level duration. I am guessing this is in micro-seconds |
#!/usr/bin/env python3 | |
''' | |
Two-pass re-run safe micro (85 LOC) patcher in python. | |
Sample patch config (yes, it's in YAML): | |
---->8---- | |
version: 0 | |
title: tribute to sublimetext_4126_crack_linux.py by dmknght @github | |
file: /tmp/sublime_text | |
# size: 8862888 # optional check for file size |
#!/usr/bin/env swift | |
import Foundation | |
struct TerminationStatus: Error { | |
let code: Int32 | |
} | |
func run(_ command: Command) throws { | |
print(command.rendered.joined(separator: " ")) |
defaults write com.apple.Dock appswitcher-all-displays -bool true | |
killall Dock |
brew install pandoc | |
brew tap homebrew/cask | |
brew install --cask basictex | |
eval "$(/usr/libexec/path_helper)" | |
# Update $PATH to include `/usr/local/texlive/2022basic/bin/universal-darwin` | |
sudo tlmgr update --self | |
sudo tlmgr install texliveonfly | |
sudo tlmgr install xelatex | |
sudo tlmgr install adjustbox | |
sudo tlmgr install tcolorbox |
A copy/paste guide to getting a full working astro-imaging computer running on Ubuntu 20.04 LTS. Installs latest stable versions of gpsd, KStars, INDI, OACapture, SkyChart, ASTAP, and Astrometry.net.
It uses the lightweight XFCE4 desktop, and allows you to VNC in, running everything locally on the astro-imaging pc.
Note
If you want to use pure WSLg, you can try the new WSLg tutorial.
In this tutorial, we will setup GUI in WSL2, and access it using VNC. No additional software outside WSL (like VcXsrv) is required, except, of course, a VNC Viewer (RealVNC, TightVNC, TigerVNC, UVNC, etc, all of them might work flawlessly).
The key component we need to install is the desktop metapackage you want (GNOME, KDE, Xfce, Budgie, etc) and tigervnc-standalone-server
.
For this setup, I will use Ubuntu (20.04, 22.04 and 24.04 are working), and install GNOME Desktop. Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. Check the Sample screenshots section for examples.