This workflow uses the GitHub CLI to keep a forked repo in sync with the upstream repo. Add it to your repo as .github/workflows/sync-fork.yaml.
It runs daily to sync the default branch and can be triggered manually for any branch.
| javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |
The Logitech Options program isn't available for Linux, but by a nice guy on GitHub (PixlOne) created an open source project that lets you obtain some of that functionality. It's called logiops. It works in conjunction with the Solaar project as well, which I find especially handy since that shows your available battery life in the system tray and lets you pair/unpair devices with the Logitech Unifying Receiver.
Here are some additional pages with info that I used to generate this documentation:
| Teams_GetMainWindow(){ | |
| ; See implementation explanations here: https://tdalon.blogspot.com/get-teams-window-ahk | |
| ; Syntax: hWnd := Teams_GetMainWindow() | |
| WinGet, WinCount, Count, ahk_exe Teams.exe | |
| If (WinCount = 0) | |
| GoTo, StartTeams | |
| If (WinCount = 1) { |
This is a companion piece to my instructions on building TensorFlow from source. In particular, the aim is to install the following pieces of software
on an Ubuntu Linux system, in particular Ubuntu 20.04.
| # /root/.unison/10Documents.prf | |
| # Create one config file for each folder, or add one per | |
| # root folder and add subfolders via | |
| # path = 10Documents | |
| # path = 20Media | |
| # To make this unison job load at machine startup use an init-script | |
| # or systemd service such as | |
| # https://gist.github.com/thunfischbrot/0b6a21a84f166c4fa74fc5df4a470b17 | |
| # local root to sync |
root user (sudo su).nginx in /opt/redash.certs and certs-data./opt/redash/nginx/nginx.conf and place the following in it: (replace example.redashapp.com with your domain name)
upstream redash {
server redash:5000;
}
| # Split a repository into batches to avoid `pack exceeds maximum allowed size` on git push | |
| REMOTE=origin | |
| BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
| BATCH_SIZE=500 | |
| # check if the branch exists on the remote | |
| if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then | |
| # if so, only push the commits that are not on the remote already | |
| range=$REMOTE/$BRANCH..HEAD |