This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
| # One-shot Codex: cdx "do x y and z" | |
| cdx() { | |
| codex -a on-request \ | |
| --sandbox danger-full-access \ | |
| exec \ | |
| --skip-git-repo-check \ | |
| "$*" 2>/dev/null | |
| } |
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
Hanging out in subtitling and video re-editing communities, I see my fair share of novice video editors and video encoders, and see plenty of them make the classic beginner mistakes when it comes to working with videos. A man can only read "Use Handbrake to convert your mkv to an mp4 :)" so many times before losing it, so I am writing this article to channel the resulting psychic damage into something productive.
If you are new to working with videos (or, let's face it, even if you aren't), please read through this guide to avoid making mistakes that can cost you lots of computing power, storage space, or video quality.
| #cloud-config | |
| # Enable automatic package updates and upgrades during cloud-init execution | |
| package_update: true | |
| package_upgrade: true | |
| packages: | |
| # Security and Hardening | |
| - ufw | |
| - fail2ban |
Relax, I only have one Sunday to work on idea, literally my weekend project. So I tried Deepseek to see if it can help. Surprisingly, it works and it saves me another weekend...
Just chat.deepseek.com (cost = free) with prompts adapted from this gist.
| /* converter.c | |
| * | |
| * This code converts `.md` files into `.html` files. | |
| * | |
| * The main use is to write a static website in `.md` files, and then run this | |
| * program to convert it to `.html` | |
| * | |
| * The program relies on the following variables: | |
| * | |
| * - INPUT_FOLDER: full path of the website with `.md` files. |
| #!/usr/bin/perl | |
| ## Put this (Perl) file in the root of your Overleaf project. It overrides the | |
| ## `pdflatex` compilation command to run GhostScript as a post-process which will | |
| ## compress non-JPEG images to JPEG in the output PDF file. The JPEG quality | |
| ## settings are set to high to minimize the loss of image quality. This should | |
| ## work well even for images that contain a lot of high-frequency noise. | |
| ## To disable, simply rename the file to something other than latexmkrc. | |
| ## | |
| ## Created by Iliyan Georgiev. |
| # THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG | |
| # PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT. | |
| # | |
| # | |
| # Libraries and infrastructure | |
| sudo apt update -y | |
| sudo apt install -y \ | |
| docker.io docker-buildx \ | |
| build-essential pkg-config autoconf bison rustc cargo clang \ |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/attr.h> | |
| #include <unistd.h> | |
| #include <stdio.h> | |
| /* | |
| * For a list of files set "Date Added" in | |
| * macOS Finder to match "Date Modified" | |
| * |