CCCPaste

Township Sector and Range finder for Collier County Area

#!/bin/bash

address="$(echo $1|sed 's/ /%20/g')"
date="$(date +%Y%M%d0800)"

Text to Speech

function Say-Text {
param ([Parameter(Mandatory=$true, ValueFromPipeline=$true)] [string] $Text)
[Reflection.Assembly]::LoadWithPartialName('System.Speech') | Out-Null
$object = New-Object System.Speech.Synthesis.SpeechSynthesizer
$object.Speak($Text)

AMR - adaptive mesh refinement

amr <- function(x, ...) UseMethod("amr", x)
is.amr <- function(x) inherits(x, "amr")

#temp
amr_vals <- function(node) if(length(node[["refinement"]])>0) {

Dump Windows Passwords

#based on notes from https://www.hak5.org/blog/15-second-password-hack-mr-robot-style
#Start CMD as Admin
powershell Start-Process cmd -Verb runAs

#get "Invoke Minikatz

Start CMD as Admin

powershell Start-Process cmd -Verb runAs

Power Shell Clear Windows Run History


powershell "Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU' -Name '*' -ErrorAction SilentlyContinue"

ColourPick.py

import cv2
import numpy as np

def nothing(x):
pass

Capture OpenCV to SDL

#include <SDL/SDL.h>
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/highgui/highgui.hpp"

deb46a10edbd0

bool LoadImages(){

VideoCapture cap(0); // open the default camera
if(!cap.isOpened()) // check if we succeeded
return -1;

200372a3423f1

#include <SDL/SDL.h>
#include "opencv2/core/core.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"