Skip to content

Instantly share code, notes, and snippets.

Daenks / WhyNoWorky.html
Last active Mar 5, 2020
I'm doing a dumb somehow. Help me find it.
View WhyNoWorky.html
<script src=""></script>
<link rel="stylesheet" type="text/css" href="">
<script src=""></script>
<TITLE>A Test of the Template Broadcasting System</TITLE>
<div class="ui two column doubling stackable grid container">
<div class="column">
Daenks / chefquery.ps1
Created Mar 7, 2018 — forked from devblackops/chefquery.ps1
PowerShell script to query Chef nodes via REST API. Assumes you have the BouncyCastle.Crypto.dll in the same folder as the script.
View chefquery.ps1
function Get-Base64 {
param (
# if the $data is a string then ensure it is a byte array
if ($data.GetType().Name -eq "String") {
$data = [System.Text.Encoding]::UTF8.GetBytes($data)
Daenks / Apache Tomcat 8 Start stop script init.d script
Created Aug 3, 2017 — forked from miglen/Apache Tomcat 8 Start stop script init.d script
Apache Tomcat init script (or startup/controll script). Works fine for version 7/8. Read the comments for release history. Feel free to modify, copy and give suggestions. (c) GNU General Public License
View Apache Tomcat 8 Start stop script init.d script
# description: Apache Tomcat init script
# processname: tomcat
# chkconfig: 234 20 80
# Copyright (C) 2014 Miglen Evlogiev
# This program is free software: you can redistribute it and/or modify it under
Daenks / Get-MaltegoTransformResponse.ps1
Last active Apr 5, 2016 — forked from anonymous/Get-MaltegoTransformResponse.ps1
Powershell Maltego Local Transform Example
View Get-MaltegoTransformResponse.ps1
$IP ##IP we will look up
#Define XML Header
$MaltegoHeader = @"
# When you are working on your macbook sitting in cafe and you have to go pee,
# you need some way to guard you machine.
# Start this script, remove any earphones, and go do the job.
# The assumption is the thief will close the lid of the laptop before taking it away.
# This script detects the closing of the lid and plays some loud audio that will
# likely distract the thief and/or grab attention of nearby people, making the
View gist:f0fe302602f5982d6d6f
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ClientPatcher.OgreClientPatcher.CheckDependencies()
at ClientPatcher.ClientPatchForm.StartScan()
at ClientPatcher.ClientPatchForm.PatchProfile()
at ClientPatcher.ClientPatchForm.btnPatch_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
Daenks / gist:07daa7fdc9540dcbb93f
Created Sep 21, 2015
meridian59-dotnet repo setup
View gist:07daa7fdc9540dcbb93f
git clone Meridian59-dotnet
cd Meridian59-dotnet
git pull && git submodule init && git submodule update && git submodule status
cd Engine
git remote add upstream
cd ..\Resources
git remote add upstream
cd ..
git remote add upstream
git pull upstream master
Daenks / gist:96e564523e8f49daa8bd
Created Jul 14, 2015
Meridian 59: Insurrection - Readme.txt
View gist:96e564523e8f49daa8bd
Meridian 59(TM) Insurrection
Readme (07 July 1998)
Table of Contents
1. System Requirements
2. Welcome
3. What's in Meridian 59
View gist:8905d3e0bc43db4993eb
Jun 24 08:28:31 *HOSTNAME* logstash[117760]: Exception in thread "elasticsearch[logstash-*HOSTNAME*-117760-2548][generic][T#1]" java.lang.NullPointerException
Jun 24 08:28:31 *HOSTNAME* logstash[117760]: at org.elasticsearch.action.bulk.TransportBulkAction.setResponseFailureIfIndexMatches(
Jun 24 08:28:31 *HOSTNAME* logstash[117760]: at org.elasticsearch.action.bulk.TransportBulkAction.access$100(
Jun 24 08:28:31 *HOSTNAME* logstash[117760]: at org.elasticsearch.action.bulk.TransportBulkAction$1.onFailure(
Jun 24 08:28:31 *HOSTNAME* logstash[117760]: at$ThreadedActionListener$
Jun 24 08:28:31 *HOSTNAME* logstash[117760]: at java.util.concurrent.ThreadPoolExecutor.runWorker(
Jun 24 08:28:31 *HOSTNAME* logstash[117760]: at java.util.concurrent.ThreadPoolExecutor$
Jun 24 08:28:31 *H
Daenks / gist:194a1d505b635727a7d6
Created Jun 9, 2015
Regular Expression for URLs and Emails
View gist:194a1d505b635727a7d6
must be a case-insensitive search (i).