This file contains 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
Show hidden characters
{ | |
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", | |
"logo": { | |
"type": "iterm", | |
"source": "~/.config/fastfetch/logo.png", | |
"padding": { | |
"right": 5, | |
"top": 5 | |
}, | |
"height": 16, |
This file contains 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
import requests | |
#### import httpx | |
import urllib | |
json_list = [ | |
"https://github.com/replete/obsidian-minimal-theme-css-snippets/blob/main/%5Bui%5D%20Compact%20Tabs.css", | |
"https://github.com/efemkay/obsidian-modular-css-layout/blob/main/MCL%20Gallery%20Cards.css", | |
"https://github.com/efemkay/obsidian-modular-css-layout/blob/main/MCL%20Multi%20Column.css", | |
"https://github.com/efemkay/obsidian-modular-css-layout/blob/main/MCL%20Wide%20Views.css", |
This file contains 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
""" | |
Script to get macOS apps info and write to CSV. | |
""" | |
import argparse | |
import csv | |
import os | |
import plistlib | |
import subprocess |
This file contains 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
########################################### | |
# | |
# Installation Script | |
# | |
########################################### | |
param ( | |
[string]$password = "", | |
[string]$pkg_url = $null, | |
[string]$pkg_file = ".\pkg.json", | |
[bool]$nochecks = $false |
This file contains 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
{ | |
"info": [ | |
{ | |
"label": "CPU Temp", | |
"command": "/opt/vc/bin/vcgencmd measure_temp | cut -d = -f 2 | awk '{printf \"%s \", $1}'", | |
"interval": 5 | |
}, | |
{ | |
"label": "CPU Load", | |
"command": "top -bn1 | grep load | awk '{printf \"%.2f%%\", $(NF-2)}'", |
This file contains 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
#!/bin/sh | |
# ref - https://stackoverflow.com/questions/9612090/how-to-loop-through-file-names-returned-by-find | |
# ref - https://github.com/kimocoder/wifite2/tree/master/wifite/tools/ | |
# ref - https://stackoverflow.com/questions/55011240/how-to-count-the-number-of-valid-wpa-handshakes-in-a-cap-file | |
# ref - https://kalitut.com/how-to-extract-handshake-from-capture/ | |
echo "WARNING: quick & dirty, will miss valid wpa handshake pcap files :(" | |
TARGET=$1 |
This file contains 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
#!/usr/bin/python | |
# coding=utf-8 | |
# stolen from https://github.com/InoriJam/DLL-hijack-X64 tested on vs2019 | |
import os | |
import pefile | |
import sys |
This file contains 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
[{ | |
"type": "battery", | |
"align": "left", | |
"width": 80, | |
"image": { | |
"base64": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAeb0lEQVR4Xu2dCXhU1dnH/3eyTZKZyT5ZgJCEXRZZFGzVqtVaERKCG4lfa12xte6t/bRWRb9Pa2nVuitaQa0EREkgoFhrpZ8LakVQlkDYsq9k35OZud9zJkaT3JncZe7M3Dvznufx8XmY95zznv97fzl3ec85HKiQAqSAWwU40oYUIAXcK0CA0NVBCoyhAAFClwcpQIDQNUAKKFOAZhBlulGtIFGAAAmSQNMwlSlAgCjTjWoFiQIESJAEmoapTAECRJluVCtIFCBAgiTQNExlChAgynSjWkGiAAHiQaCXL1kxy8Fx08FhAsfD4kFTqlflObSDRyVvsO/bunXTYdU7CJIGCRCZgc7JyUszwLASPJ8L4FSZ1f1izoP/jOOxwxAeumbz5r/X+sUJnXZKgMgIXO7SvFUAtxIcUmVU05JpDXh+TdG2DQ9qySkt+0KASIzOspz81RyPuySaa9qMA7YXFhcs1bSTGnGOAJEQiNzsvA8B7lwJpvox4fBK0daC6/TjsH88JUBEdM/NyX8MPO70T3i82ysHPFBYXPCQd3vRd+sEyBjxy8nJO83Ac//Rd4jH9J6Hgzu9aPv63QE8Ro+GRoCMId+ypflrOA43eKSw5ivza4qKN9yoeTf95CAB4kb45cuvSnDYBqo4wOin2PikWw7oDbXZ0je9u6nRJx3qrBMCxB0gS/Nu4Dlujc7iqcxdjrupaOv655VVDuxaBIib+OYuzXsaHHezWPiNxggkp1gRGxsjZurT37u7ulFZWY3e3j4p/T5dVFxwqxTDYLMhQNwBkp33NsBdInZBTJs+BSkpVjEzv/xeV9eAw4eOSOn77aLigsukGAabDQHiFpD8nQDOEbsgzjn3TDETv/7+752fSOl/Z1FxwXlS |
This file contains 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
#!/usr/bin/env python | |
"""Extend Python's built in HTTP server to save files | |
curl or wget can be used to send files with options similar to the following | |
curl -X PUT --upload-file somefile.txt http://localhost:8000 | |
wget -O- --method=PUT --body-file=somefile.txt http://localhost:8000/somefile.txt | |
__Note__: curl automatically appends the filename onto the end of the URL so |
This file contains 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
package main | |
import ( | |
"log" | |
"flag" | |
"os" | |
"github.com/armon/go-socks5" | |
) | |
var ( |
NewerOlder