Skip to content

Instantly share code, notes, and snippets.

@Daenks
Daenks / gist:07daa7fdc9540dcbb93f
Created September 21, 2015 16:05
meridian59-dotnet repo setup
git clone https://github.com/OpenMeridian/meridian59-dotnet Meridian59-dotnet
cd Meridian59-dotnet
git pull && git submodule init && git submodule update && git submodule status
cd Engine
git remote add upstream https://github.com/cyberjunk/meridian59-engine.git
cd ..\Resources
git remote add upstream https://github.com/cyberjunk/meridian59-resources.git
cd ..
git remote add upstream https://github.com/cyberjunk/meridian59-dotnet.git
git pull upstream master
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
Daenks / guard-my-mabook-when-i-am-away.sh
Created March 30, 2016 17:18 — forked from jay3sh/guard-my-mabook-when-i-am-away.sh
Guard My Macbook When I'm Away
#!/bin/bash
#
# 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
@Daenks
Daenks / Get-MaltegoTransformResponse.ps1
Last active April 5, 2016 17:14 — forked from anonymous/Get-MaltegoTransformResponse.ps1
Powershell Maltego Local Transform Example
Param(
$IP ##IP we will look up
)
#Define XML Header
$MaltegoHeader = @"
<MaltegoMessage>
<MaltegoTransformResponseMessage>
<Entities>
"@
@Daenks
Daenks / Apache Tomcat 8 Start stop script init.d script
Created August 3, 2017 15:07 — 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
#!/bin/bash
#
# 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
Daenks / chefquery.ps1
Created March 7, 2018 14:03 — 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.
function Get-Base64 {
param (
$data
)
# 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
Daenks / WhyNoWorky.html
Last active March 5, 2020 19:14
I'm doing a dumb somehow. Help me find it.
<HTML>
<HEAD>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js"></script>
<TITLE>A Test of the Template Broadcasting System</TITLE>
</HEAD>
<BODY>
<div class="ui two column doubling stackable grid container">
<div class="column">