This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Step 1: List all environment variables and store them in a variable | |
env_vars=$(vercel env ls) | |
# Step 2: Parse the output to get variable names (assuming the names are in the first column) | |
# This step can vary based on the actual output format of `vercel env ls` | |
env_var_names=$(echo "$env_vars" | awk '{if(NR>2) print $1}') | |
# Step 3: Loop through each environment variable name and remove it | |
for name in $env_var_names | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function brew | |
if test (count $argv) -gt 0 | |
if test $argv[1] = "install" | |
/opt/homebrew/bin/brew $argv | |
if test $status -eq 0 | |
echo $argv[2..-1] > /tmp/.brew_last_installed | |
end | |
return | |
else if test $argv[1] = "uninstall" -a $argv[2] = "!!" | |
if test -f /tmp/.brew_last_installed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10.7-slim as base | |
ENV PYTHONFAULTHANDLER=1 \ | |
PYTHONUNBUFFERED=1 \ | |
PYTHONHASHSEED=random \ | |
PIP_NO_CACHE_DIR=off \ | |
PIP_DISABLE_PIP_VERSION_CHECK=on \ | |
PIP_DEFAULT_TIMEOUT=100 \ | |
PIPENV_NOSPIN=true \ | |
NUMBA_CACHE_DIR=/tmp \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' All code comes from the following places: | |
' - https://stackoverflow.com/a/41546218/1649917 | |
' - https://www.ozgrid.com/VBA/excel-add-in-create.htm | |
Option Explicit | |
Dim cControl As CommandBarButton | |
' Set it to True to be able to Debug install mechanism | |
Const bVerboseMessages = False | |
' Will be use to verify if the procedure has already been run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from https://forums.aws.amazon.com/thread.jspa?messageID=332091 | |
# And https://gist.github.com/rainabba/07425c3bc14a0bb51632f12e913d9081 | |
# | |
# Usage: `sudo bash ./install_ffmpeg.sh` | |
# Config Variables | |
static_host=https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz | |
filename=ffmpeg-git-64bit-static.tar.xz | |
NewerOlder