Skip to content

Instantly share code, notes, and snippets.

View evansthompson's full-sized avatar

Evans Thompson evansthompson

View GitHub Profile
@evansthompson
evansthompson / listchromeext.sh
Created February 5, 2024 17:52
Get List of Chrome extension[object Object]
#!/bin/bash
ext_dir="$HOME/snap/chromium/common/chromium/Default/Extensions/"
for i in $(find $ext_dir -name 'manifest.json'); do
n=$(jq ".name" $i)
update=$(jq ".update_url" $i)
# n=$(grep -hIr name $i| cut -f4 -d '"'| sort)
# u="https://chrome.google.com/extensions/detail/"
ue=$(basename $(dirname $(dirname $i)))
@evansthompson
evansthompson / rakuten-exclusion.txt
Last active February 5, 2024 17:44
Rakuten Excluded Sites
microsoft.com
1password.com
bestbuy.com
walgreens.com
parallels.com
amazon.com
hp.com
@evansthompson
evansthompson / brew-perms.sh
Last active March 21, 2018 20:40 — forked from jaibeee/brew-perms.sh
Configure homebrew permissions to allow multiple users on MAC OSX. Any user from the admin group will be able to manage the homebrew and cask installation on the machine.
#!/bin/sh
# Configure homebrew permissions to allow multiple users on MAC OSX.
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine.
# allow admins to manage homebrew's local install directory
chgrp -R admin /usr/local/*
chmod -R g+w /usr/local/*
# allow admins to homebrew's local cache of formulae and source files
if [ -e /Library/Caches/Homebrew ]; then
@evansthompson
evansthompson / .gitignore
Created May 17, 2016 22:35 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #