Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Ask Ubuntu Orangifier
// @version 0.1
// @description Changes the bounty colors from blue to orange.
// @author Seth @ Ask Ubuntu
// @match *askubuntu.com/*
// @grant none
// ==/UserScript==
$('.bounty-indicator, .bounty-indicator-tab, .bounty-award').not('.accept-indicator-tab').css('background-color', '#F25E19');
param(
[int]$startNum = $(throw "starting number is required")
)
#Function preformRename {
Get-ChildItem -filter *.mp3 | Foreach-Object {
$NewName = $_.BaseName -replace "^[0-9][0-9]",$startnum
$startNum += 1
write $NewName
#write $startNum
// ==UserScript==
// @name Admin/mod link changer
// @version 0.1
// @description change the 'mod' and 'history' admin links to point to the daily stats
// @author Seth @ askubuntu.com
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @match *://*.serverfault.com/*
// @match *://*.askubuntu.com/*
@Seth-Johnson
Seth-Johnson / .mkd
Last active March 31, 2017 17:50
Give moderators better tooling to detect bad reviewers

Moderators have very little tooling to help deal with consistently bad reviewers. We have [review audits & bans][1] and some fancy stats pages. This is enough to stop true robo-reviewers, people that apply the same action to everything indiscriminately, but it breaks down when it comes to stopping just plain bad reviewers. I'm defining "bad" as reviewers who are otherwise paying attention (they pass all/most audits) but consistently apply wrong actions to things they review, actions they have to be corrected later. I've seen users that tend to "no action needed" most things, even if they are badly in need of an edit, comment, etc and other users who tend to "close & delete" everything, even if it's on-topic or otherwise acceptable. This is where it gets hairy.

I can look at a reviewer's stats and say "wow, 75% of this person's reviews are (no action needed/delete/close/etc) but moderators have no tooling to actually tell if this is pure coincidence or if bad actions are actually being taken, and no too

@Seth-Johnson
Seth-Johnson / userscript.user.js
Last active January 30, 2018 19:10
Show a site specific profile link in chat
// ==UserScript==
// @name Chat site profiler thingy
// @namespace http://askubuntu.com/users/44179
// @include *chat.stackexchange.com/*
// @include *chat.stackoverflow.com/*
// @include *chat.meta.stackexchange.com/*
// @version 1
// @grant none
// ==/UserScript==
@Seth-Johnson
Seth-Johnson / canvas_class_average.js
Last active June 7, 2018 17:00
Calculates the average class grade based on the mean of each individual assignment. WIP.
// ==UserScript==
// @name Canvas average class grade
// @namespace sethj@ubuntu.com
// @version 0.1a
// @description Calculate class average grade
// @author Seth Johnson
// @match https://egator.greenriver.edu/courses/*/grades
// @grant none
// ==/UserScript==