Skip to content

Instantly share code, notes, and snippets.

View boboben1's full-sized avatar
🏠
Working from home

Ben boboben1

🏠
Working from home
  • Brecher Trading, LLC
View GitHub Profile
@boboben1
boboben1 / waitForKeyElements.js
Created March 22, 2017 13:44 — forked from BrockA/waitForKeyElements.js
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
@boboben1
boboben1 / DeepDecompile.py
Last active March 30, 2017 14:19
IDA Deep Decompile Plugin
Please use the new version @ https://github.com/boboben1/DeepDecompile
@boboben1
boboben1 / ME_Andromeda_Classes.hpp
Last active July 21, 2019 17:27
ME_Andromeda_Classes
This file has been truncated, but you can view the full file.
class AABBData;
class AIBehaviorTreeBoolProvider;
class AIBehaviorTreeDataProviderContext;
class AIBlackboardComponentData;
class AIBlackboardComponentDataTemplate;
class AICSMAction_AllowExoticTraversal;
class AICSMAction_ChangeTeamId;
class AICSMAction_Dash;
class AICSMAction_DisableAI;
class AICSMAction_DisableCoverStateUpdateTime;
@boboben1
boboben1 / auto_slack_notifications.gs
Created April 3, 2017 20:37
Automatically sorts slack notifications by team into Gmail labels
//Auto Slack Notifications
function auto_slack_notifications()
{
function get_or_create_label(name)
{
var label = GmailApp.getUserLabelByName(name);
return (label == null) ? GmailApp.createLabel(name) : label;
}
@boboben1
boboben1 / UCGoogle.user.js
Last active April 10, 2017 00:10
UC Search With Google
// ==UserScript==
// @name UC Searcher
// @namespace boboben1
// @description Searches on unknowncheats.me through google
// @include http*://www.unknowncheats.me/forum/*
// @version 1
// @grant GM_addStyle
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
// @require https://gist.githubusercontent.com/boboben1/231f5d3f93a0b8204d3a3c0a0ca7a86d/raw/6510dbdf4426ed559d92d37daa10de4aef8aaf13/waitForKeyElements.js
// ==/UserScript==
@boboben1
boboben1 / Dishonored2ManaHack.cpp
Last active May 30, 2018 20:22
Dishonored 2 Mana Hack
#include <windows.h>
#include "PolyHook\Polyhook.hpp"
uintptr_t FindPattern( uintptr_t base, uintptr_t size, const char* pattern )
{
const unsigned char* pat = reinterpret_cast<const unsigned char*>( pattern );
uintptr_t firstMatch = 0;
uintptr_t range = base + size;
set PATH=%PATH%;%~dp0\ffmpeg\bin;%~dp0\sox
set "output=%1"
set output=%output:"=%
set output="%output%_remastered.mp4"
set tmpaud=%~dp0\tmpaud.wav
set noise=%~dp0\noise.wav
set noiseprof=%~dp0\noise.prof
set tmpclean=%~dp0\tmpaud-clean.wav
set tmpcompand=%~dp0\tmpaud-compand.wav
@boboben1
boboben1 / Observer.cpp
Last active December 2, 2017 19:10
Observer Library
//TESTS NOT NEEDED
#include "Observer.h"
//Create Events
class TestEvent : public Observer::Event<TestEvent>
{
public:
int data = 123;
};
@boboben1
boboben1 / NVIDIA Drivers and Color Fix.md
Last active September 3, 2017 16:07
NVIDIA Drivers and Color Fix

Wiping and Updating Drivers:

Try upgrading your graphics drivers. http://www.nvidia.com/download/driverResults.aspx/123225/en-us Is the most updated drivers for GTX 960 as of 9/3/2017 for Windows 7 64bit

Before updating I would recommend running DDU to remove all old drivers as they can cause issues. https://www.guru3d.com/files-details/display-driver-uninstaller-download.html

  1. Download graphics drivers and install to desktop. Do not run it yet
  2. Extract DDU to desktop and navigate to the folder created then run the executable. It will ask if you wish to restart to safe mode. Say yes to this prompt.