Skip to content

Instantly share code, notes, and snippets.

@derac
derac / texas_county_data.csv
Last active April 22, 2022 15:05
Texas counties with public court record resource info
county population website portal type version
Anderson 59120 http://www.co.anderson.tx.us/ http://ac5.co.anderson.tx.us/PublicAccess/default.aspx odyssey 2003
Andrews 19588 http://www.co.andrews.tx.us/
Angelina 90669 http://www.angelinacounty.net/ http://public.angelinacounty.net/default.aspx odyssey 2003
Aransas 23649 http://www.aransascountytx.gov/main/
Archer 9135 http://www.co.archer.tx.us/
Armstrong 2028 http://www.co.armstrong.tx.us/
Atascosa 51233 http://www.atascosacounty.texas.gov/
Austin 32344 http://www.austincounty.com/ http://public.austincounty.com/default.aspx odyssey 2003
Bailey 7082 http://www.co.bailey.tx.us/
function Get-BrowserData {
<#
.SYNOPSIS
Dumps Browser Information
Original Author: u/424f424f
Modified by: 51Ev34S
License: BSD 3-Clause
Required Dependencies: None
Optional Dependencies: None
.DESCRIPTION
@aplater
aplater / Apps Script pdfToText utility.md
Created February 2, 2021 17:56 — forked from mogsdad/Apps Script pdfToText utility.md
For http://stackoverflow.com/questions/26613809, a question about getting pdf attachments in gmail as text. I got a little carried away - this does much more than asked.

Google Apps Script pdfToText Utility#

This is a helper function that will convert a given PDF file blob into text, as well as offering options to save the original PDF, intermediate Google Doc, and/or final plain text files. Additionally, the language used for Optical Character Recognition (OCR) may be specified, defaulting to 'en' (English).

Note: Updated 12 May 2015 due to deprecation of DocsList. Thanks to Bruce McPherson for the getDriveFolderFromPath() utility.

    // Start with a Blob object
    var blob = gmailAttchment.getAs(MimeType.PDF);
    
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
script_dir=/var/root/scripts
pattern=AccessPopup
last_command="NoNe"
if ps ax | grep $0 | grep -v $$ | grep bash | grep -v grep; then
echo "The script is already running."
exit 1
fi
@jhoneill
jhoneill / Chrome Databases.ipynb
Last active March 10, 2024 21:12
Exploring data saved by Chrome/Edge/Any Chromium (passwords done in another Gist)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@akkys77
akkys77 / gist:2768380671b54e18637d7c4ac5da9b75
Created October 16, 2020 09:52
Extract snippets from chrome
# Tested with jq-1.6
# The script converts json entries into lines of format
# `filename[TAB]content-in-base64` and then
# for each line creates the corresponding file
# with the content decoded.
# Better be in a safe directory!!
mkdir /tmp/snippets-backup
cd /tmp/snippets-backup
@Riebart
Riebart / remarkable_find_update_device_id.py
Last active December 15, 2020 15:55 — forked from leezu/remarkable_find_update_device_id.py
Python script to rotate the machine IDs and OEM identifiers to find one that is eligible for a software update.
#!/usr/bin/env python3
import time
import uuid
import random
import re
import sys
import requests
@Stephanevg
Stephanevg / ConvertScriptTo-Function.ps1
Created August 10, 2020 09:21
Converts a script saved in a ps1 file to a function for testability.
### This works
## Content of C:\Plop.ps1
Write-host "plop"
# Code to import a script file as function
$Content = Get-Content C:\plop.ps1 -raw