Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

#!/usr/bin/env python3 | |
# This script reads the filespecs in the current directory, collects names of files | |
# in the default screenshot file name format, converts the names to lower case | |
# with spaces converted to hyphens, and removes the "at" to produce a command line friendly filespec; | |
# for example, "Screenshot 2024-02-18 at 21.06.31.pdf" becomes "screenshot-2024-02-18--21.06.31.pdf". | |
# | |
# It ignores but preserves the extensions, so if you have changed the screenshot file type with, e.g.: | |
# defaults write com.apple.screencapture type pdf && killall SystemUIServer | |
# then it will rename those PDF files too. |
These are my eggs. I like this recipe because it's delicious, doesn't take too much time to make, and goes well with other meals in my life.
All instructions are negotiable, adjust based on vibes.
Start by slicing up an onion. I like using a milder tasting onion, or a banana shallot. I like slices so I can taste it in the final product, but feel free to chop it finer if you'd like.
In a bowl, make the 'sauce'. A teaspoon each of gochugang paste, soy sauce, sesame oil, a couple of pinches of brown sugar, mirin or rice vinegar (I prefer mirin because it doesn't smell as strong, but the vinegar is more 'traditional'). Also add a teaspoon of garlic paste, and a teaspoon of ginger paste.
Moved to https://api.fmhy.net
Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.
Prompts for path to .mov
and allows user to enter a .gif
name. Then converts that .mov
file to a .gif
and saves to ~/Downloads/
.
Inspired by: https://gist.github.com/dergachev/4627207
convert_movie_to_gif.sh
, and then run chmod +x ./convert_movie_to_gif.sh
to make it executable.
#!/bin/sh | |
# | |
# Script that will use the provided Android App Bundle (.aab) and change its version code and version name to the provided values, avoiding re-building the whole .aab. | |
# Run this script with: sh rollback.sh your_project.aab android_signing_key.key key_alias key_pwd version_code version_name | |
# | |
# Necessary setup: | |
# | |
# jarsigner - This binary should exist in the path | |
# | |
# Configuration.proto and Resources.proto can be found in aapt2's github |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/aleville3/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
Recently I came across a web service that required two-factor authentication using the Symantec VIP Access App. I already manage all of my OTP tokens in a different app (If you are on iOS I highly recommend using OTP Auth by Roland Moers.) and did not want to have to use yet another app to generate the TOTP.
There is a way to generate a Symantec VIP Access compatible token very easily if you have access to an environment which can run Python PIP. I happen to have Ubuntu Windows Subsystem Linux running on my machine. (If you are running Windows 10 and don't have this you should really check it out.) Let's get started...
Here we install python3-pip and qrencode so we can generate our secret, I