Skip to content

Instantly share code, notes, and snippets.

View brandonhellman's full-sized avatar

Brandon Hellman brandonhellman

View GitHub Profile
// ==UserScript==
// @name mTurk Slow or Just Me?
// @namespace salembeats
// @version 1.23
// @description UPDATE: Better formatting for box+whisker plot area. NOTE: Requires Kadauchi's "MTurk Dashboard Enhancer" script to function properly.
// @author Cuyler Stuwe (salembeats)
// @include https://worker.mturk.com/dashboard*
// ==/UserScript==
// Minified, synchronous SHA-256 transform function copied from: http://geraintluff.github.io/sha256/
// ==UserScript==
// @name Enable Linkedin Copy
// @namespace https://github.com/Kadauchi
// @version 1.0.0
// @description Allows you to copy and paste on linkedin.com
// @author Kadauchi
// @icon http://i.imgur.com/oGRQwPN.png
// @include https://www.linkedin.com/*
// ==/UserScript==
// ==UserScript==
// @name HIT Export Mod for HIT Catcher
// @namespace https://gist.github.com/Kadauchi
// @version 1.0.1
// @description Adds panda and once links to HIT exports
// @author Kadauchi
// @icon http://i.imgur.com/oGRQwPN.png
// @include https://turkerhub.com/threads/*
// @include http://www.mturkcrowd.com/threads/*
// ==/UserScript==
@brandonhellman
brandonhellman / HITDB Force Date Scrape
Last active March 13, 2017 21:32
Makes HITDB scrape the date you choose. Useful for when you had rejections overturned but HITDB won't scrape that date to update. Paste in console, change date (be sure to follow the format), then hit enter.
const date = `MMDDYYYY`;
const fetchData = JSON.parse(localStorage.getItem(`hitdb_fetchData`) || `{}`);
fetchData[date] = {submitted: 1, pending: 1};
localStorage.setItem(`hitdb_fetchData`, JSON.stringify(fetchData));
// ==UserScript==
// @name Favicon Alert
// @namespace https://github.com/Kadauchi/
// @version 1.0.2
// @description blank
// @author Kadauchi
// @icon http://i.imgur.com/oGRQwPN.png
// @include http://www.mturkcrowd.com/*
// @include https://turkerhub.com/*
// @grant GM_log
@brandonhellman
brandonhellman / Block & Include List Converter | HIT Scraper to HIT Finder
Last active February 23, 2017 01:38
Copy the code below into the console on any https://www.mturk.com/ page and hit enter. This will print out your HIT Scraper block and include list formatted for Mturk Suite - HIT Finder.
const MTS_BL = {}, MTS_IL = {};
const BL = localStorage.getItem(`scraper_ignore_list`).split(`^`);
const IL = localStorage.getItem(`scraper_include_list`).split(`^`);
for (let i = 0; i < BL.length; i ++) {
MTS_BL[BL[i]] = {
term: BL[i],
name: BL[i]
};
}