Skip to content

Instantly share code, notes, and snippets.

Limit: 10
Input: 10.0.0.6-10.0.0.12, 10.0.0.1-10.0.0.4, 10.0.0.3-10.0.0.8
Output: 10.0.0.1-10.0.0.3, 10.0.0.6-10.0.0.12
Input: 10.0.0.4-10.0.0.7, 10.0.0.10-10.0.0.12, 10.0.0.1-10.0.0.20
Output: 10.0.0.1-10.0.0.7, 10.0.0.10-10.0.0.12
Input: 10.0.0.1-10.0.0.4, 10.0.0.9-10.0.0.11, 10.0.0.2-10.0.0.8
Output: 10.0.0.1-10.0.0.7, 10.0.0.9-10.0.0.11
%everyone ALL=(root:wheel) NOPASSWD:NOSETENV: /bin/mkdir -m 775 -p /private/var/run/rancher-desktop-lima
# Manage "bridged_bridge0" network daemons
%everyone ALL=(daemon:everyone) NOPASSWD:NOSETENV: \
/opt/rancher-desktop/bin/vde_switch --pidfile=/private/var/run/rancher-desktop-lima/bridged_bridge0_switch.pid --sock=/private/var/run/rancher-desktop-lima/bridged_bridge0.ctl --group=everyone --dirmode=0770 --nostdin, \
/usr/bin/pkill -F /private/var/run/rancher-desktop-lima/bridged_bridge0_switch.pid
%everyone ALL=(root:wheel) NOPASSWD:NOSETENV: \
/opt/rancher-desktop/bin/vde_vmnet --pidfile=/private/var/run/rancher-desktop-lima/bridged_bridge0_vmnet.pid --vde-group=everyone --vmnet-mode=bridged --vmnet-interface=bridge0 /private/var/run/rancher-desktop-lima/bridged_bridge0.ctl, \
@tml
tml / v2.txt
Last active June 4, 2021 16:16
Idle Game Maker toy
*PC
"A Player Character"
costs 100 platinum
gives 1 character
visible
picture: https://e7.pngegg.com/pngimages/752/595/png-clipart-computer-icons-social-media-social-media-social-media-silhouette.png
$ pip --version
pip 19.0.3 from /home/joey/.pyenv/versions/3.7.4/lib/python3.7/site-packages/pip (python 3.7)
$ pip install https://files.pythonhosted.org/packages/eb/46/f04b5b8bf38b2eb5a62258bd831d31644af884b5fa4afd0f99271beb18ae/PyQt5-5.12.3-5.12.7-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl
PyQt5-5.12.3-5.12.7-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl is not a supported wheel on this platform.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="TV">
<meta name="keyword" content="TV Show">
<title>SHAZBAT.TV</title>
@tml
tml / AuthyToOtherAuthenticator.md
Created February 9, 2020 17:01 — forked from gboudreau/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Generating Authy passwords on other authenticators


There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.

Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes (beware, through Google) for you to use on your favorite authenticator.

His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My gues

// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
attrs==19.1.0
beautifulsoup4==4.8.0
blessings==1.7
bpython==0.18
cairocffi==1.0.2
CairoSVG==2.4.0
certifi==2019.6.16
cffi==1.12.3
chardet==3.0.4
Click==7.0
@tml
tml / oakTreeNodeCount.groovy
Created July 15, 2019 12:33 — forked from andrewmkhoury/oakTreeNodeCount.groovy
Counting nodes in a tree of Oak repository using the oak-run console tool
import org.apache.jackrabbit.oak.spi.state.NodeState
import java.util.concurrent.atomic.AtomicInteger
def countNodes(NodeState n, String path = "/", flush = 5000, AtomicInteger count = new AtomicInteger(0), root = true) {
if(root) {
println "Counting nodes in tree ${path}"
}
cnt = count.incrementAndGet()
if (cnt % flush == 0) println(" " + cnt)
  1. Download https://files.acrobat.com/a/preview/e885654b-8424-4698-b5e9-7751b647276b (or build oak-run 1.1.x version)
  2. Stop all AEM instances
  3. Upload the oak-run 1.1 version to the AEM server if using TarMK or MongoDB server (if using MongoMK)
  4. Run this command to start the oak console
  • on TarMK:
   java -jar target/oak-run.jar console --quiet /path/to/segmentstore
  • For MongoMK run this: