I hereby claim:
- I am mcint on github.
- I am mcint (https://keybase.io/mcint) on keybase.
- I have a public key ASCfrC1CkNEqo47DDEgRsIdKR5ID8BGp719vfN0__wfCFAo
To claim this, I am signing this object:
// With MultiSelect for YouTube, delete 100 at a time from playlist | |
// https://chromewebstore.google.com/detail/multiselect-for-youtube/gpgbiinpmelaihndlegbgfkmnpofgfei?hl=en | |
f_open_modal = ()=> $('div.ytd-masthead#end > div').click() | |
async function multi_remove(){ | |
f_list_item = ()=> $$('#msfy-video-checkbox')[0] | |
f_select = ()=> $('body > div > div#content').children[6].click() | |
f_menu = ()=> $('body > div > div#content').children[10].click() | |
f_menu_remove = ()=> $('div#msfy-action-remove-videos').click() | |
f_popup_submit = ()=> $('button#submit').click() |
// ==UserScript== | |
// @name New script semantle.com | |
// @namespace Violentmonkey Scripts | |
// @match https://semantle.com/* | |
// @grant none | |
// @version 1.0 | |
// @author mcint | |
// @description 3/27/2024, 10:18:04 PM | |
// ==/UserScript== |
#!/usr/bin/env bash | |
: ${DEBUG:=} # 0 ... 2 | |
shopt -s extglob | |
debug(){ if [[ $DEBUG -ge $1 ]]; then shift 1; eval "${@}"; fi; } | |
debug 2 shopt -p extglob | |
acceptArg () { | |
local spec="$1" cb="$2" arg="$3"; |
-- Javascript for Automation | |
-- *this* works, but simple naive JS-literate variants do not. | |
-- prepending newlines b/c values are returned with implicit trailing "," | |
Application("Brave") | |
.windows.tabs() | |
.map(w=>"\n"+ | |
w.map(t=>"\n"+ | |
t.url()+" | "+t.title())) |
# pip3 install fluentpy jinja2 | |
python3 -m fluentpy '_.lib.jinja2.Template("""asdf\n{% if "qwer" in lst %}rewq{% endif %}\nfdsa""").render({"lst":["qwer"]}).print()' |
#!/bin/bash | |
set -eu -o pipefail | |
gen_priv() { | |
openssl genrsa 2048 2> /dev/null | |
} | |
gen_pub() { | |
echo "${1}" | openssl rsa -pubout 2> /dev/null | |
} |
{ | |
"settingsVersion": "1.63.3", | |
"exclusionRules": [ | |
{ | |
"pattern": "https?://mail.google.com/*", | |
"passKeys": "" | |
} | |
], | |
"filterLinkHints": true, | |
"waitForEnterForFilteredHints": true, |
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am mcint on github. | |
* I am mcint (https://keybase.io/mcint) on keybase. | |
* I have a public key ASCUlyLiIN-lEUEuiJGoi1vceKBWs4nu9TifsX--2O99Ywo | |
To claim this, I am signing this object: |
# Unix SysAdmin Decal | |
## Lab 1: Unix, the Shell, OSS {#lab1} | |
[Slides](https://ocf.io/decal/slides/1) and [lab](https://ocf.io/decal/labs/1) links for Tuesday 9-12-2017. | |
### Table of Contents {#toc} | |
1. [Create ssh key](#ssh-create) | |
2. [VPS hosting provider](#vps-hosting) | |
- We'll be providing the machines, one of | |
- Amazon Web Services | |
- Google Cloud Platform - account provided by us | |
- Digital Ocean |