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 | |
# This script will go through a given directory recursively, extracting all attachments from .eml files. | |
# .eml files are often how full mailbox dumps are leaked online. | |
# If an attachment with the same filename already exists, MD5 sum of the files are calculated and if not | |
# a match, the new file will be saved with _# suffix. | |
# | |
# Hamid Kashfi (@hkashfi) | |
import os |
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
local previewers = require('telescope.previewers') | |
local Job = require('plenary.job') | |
local new_maker = function(filepath, bufnr, opts) | |
filepath = vim.fn.expand(filepath) | |
Job:new({ | |
command = 'cat', | |
args = { filepath }, | |
on_exit = function(j) | |
local result = j:result() |
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
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler, Gr1d:, TheRoc | |
# Edited by Gr1D: | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# TheROC's E.T. Disable script: https://gist.github.com/thoroc/86d354d029dda303598a | |
# THIS IS VERSION 5.5, error suppression is turned on. PLEASE be patient and PLEASE restart after running the script. | |
# This script leaves more MS defaults on, including MSE and smart-screen, | |
# but blocks a ton of domains and disables remote assistance secures java, sets up ipsec.. |