Skip to content

Instantly share code, notes, and snippets.

View zbee's full-sized avatar
👾

Ethan Henderson zbee

👾
View GitHub Profile
@zbee
zbee / proof.md
Created March 31, 2024 13:33
keyoxide proof

aspe:keyoxide.org:IXD7E2CAVYZXKCYYXNKF63JLG4

@zbee
zbee / fflogs-backlog-uploader.ahk
Last active February 11, 2022 16:15
fflogs-backlog-uploader.ahk
; This script will go through and upload every log in your ACT folder to fflogs,
; and then remove or archive those log files according to your configuration.
; Just update the configuration below, run the script, click your fflogs uploader
; (not companion) window, and press <Delete> to start it up!
; Fortunately, the fflogs uploader program has a minimum width and height, so
; just reduce the window width and height all the way.
; <Delete> inside of the fflogs window will start the script
; <Home> will pause and un-pause the script
; <F1> will end the script
@zbee
zbee / aDarkRoomMonitor.user.js
Last active October 9, 2019 10:25
A monitor for A Dark Room (doublespeakgames/adarkroom)
// ==UserScript==
// @name Dark Monitor
// @namespace https://gist.github.com/Zbee/0df652f096b670ec13a6
// @version 0.3.6
// @description A monitor for A Dark Room (doublespeakgames/adarkroom)
// @author Zbee
// @match http://adarkroom.doublespeakgames.com/
// @grant none
// ==/UserScript==
@zbee
zbee / dokuwikiResetPassword.md
Created July 29, 2015 06:58
How to reset your dokuwiki password

If you've lost your password and can't recover it via email but have access to the doku file system, you're still good.

Open up conf/user.auth.php and replace the password of your user with 21232f297a57a5a743894a0e4a801fc3, that will make the password be admin.

@zbee
zbee / fingerprint.js
Last active April 14, 2016 06:51
Fingerprinting without Flash (only JS)
//All stitched together by Ethan Henderson (Zbee) 2015-07-28
/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){r
@zbee
zbee / _iso8601.md
Last active March 13, 2016 16:32
How to do ISO 8601 in various languages (2015-01-14T20:55).
@zbee
zbee / strReplaceArr.js
Last active March 1, 2016 15:26
Replace one character in a string with a correlating item in an array of replacements
//Before now or writing your own function you could only do String.prototype.replacewith a search and a replacement,
//or an array of searches to be repalced with their matching item in an array of replacements.
//Meaning you couldn't do something like replace all question marks in `cake ? pie ? noodles` with a matching
//item in an array of replacements, like this: `thatString.replace("?", ["meat","veggies"])` and get something like
//`cake meat pie veggies noodles`, but now you can! :D (note: number of occurences of search must match count() of $replace)
//"?no?".replaceArray("?", ["s","w"]) //returns `snow`
if (!String.prototype.replaceArray) {
String.prototype.replaceArray = function(find, replace) {
var x = 0
@zbee
zbee / getListOfMyListTitles.js
Last active December 8, 2015 06:47
Aide in making a new account from an existing Netflix profile
/* global jQuery */
/* global netflix */
/* global $ */
//Now please reference: https://github.com/zbee/netflixscripts
//Does not currently support using two accounts
//Open page: https://netflix.com/browse/my-list - Netflix will normalize the URL
@zbee
zbee / sublime_preferences.json
Created October 8, 2015 19:16
My preferences in Sublime Text 3
{
"color_scheme": "Packages/User/SublimeLinter/Flatland Dark (SL).tmTheme",
"flatland_sidebar_tree_xsmall": true,
"flatland_square_tabs": false,
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"rulers":
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("reddit.com") {
body, html, #header, #header-bottom-left {
background: #F7F7F7 !important;
font-family: calibri !important;
}
.listing-chooser, #sr-header-area, #userbarToggle, #header-img,
.rank, .trending-subreddits, .domain, .RESUserTag, .userattrs,
.expando-button, .redditSingleClick, .linkflairlabel, .nub,