Skip to content

Instantly share code, notes, and snippets.

@misbach
misbach / aground.js
Created December 23, 2018 00:19
Remove junk from AGround
// Paste this into the javascript console at following website to remove all the junk that slows down the app.
// https://www.kongregate.com/games/terra0nova/aground
document.getElementsByClassName('gamepage_header_outer')[0].remove();
document.getElementById('headerwrap').remove();
document.getElementById('chat_container_cell').remove()
document.getElementsByClassName('game_details_outer')[0].remove();
document.getElementsByClassName('game_lower_horizontal_ad')[0].remove();
document.getElementById('below_fold_content').remove();
document.getElementById('quicklinks').remove();
document.getElementById('subwrap').remove();
@misbach
misbach / collectionsearch.js
Last active July 18, 2018 17:14
FamilySearch Search Form
function doSearch() {
var base = "https://familysearch.org/search/records/results?count=20&query=";
var first = document.getElementById("firstName").value;
var last = document.getElementById("lastName").value;
var place = document.getElementById("place").value;
var year = document.getElementById("year").value;
var collections = "(2125045%202126214%201921547%201878523%202761957%202489920%201807269%202568864%202202707%201858291%201968530%202513098)";
var url = base+'%2Bgivenname%3A'+first+'~%20%2Bsurname%3A'+last+'~%20%2Bany_place%3A'+place+'~%20%2Bany_year%3A'+year+'~&collection_id='+collections;
window.location = url;
}
@misbach
misbach / decentralization.md
Last active February 24, 2021 21:43
Decentralization

Videos

Keybase proof

I hereby claim:

  • I am misbach on github.
  • I am misbach (https://keybase.io/misbach) on keybase.
  • I have a public key ASCXICc5hmGi7MoU5XhOQF-C16f7of-AT_sr_qE2ZN_hzwo

To claim this, I am signing this object:

@misbach
misbach / README.md
Created November 8, 2017 15:22 — forked from dovy/README.md
A simple utility to help work with LDS.org Hometeaching for district leaders. Now updated to work for Presidency members as well.

What is this?

This is a utility to properly output all the assignments and teachers in a way that would allow easy email or text message generation.

Instructions

  • Open Google Chrome (Should work on Firefox or Safari as well)
  • Go to this website: https://www.lds.org/htvt/?lang=eng#/companionships
  • Right click on the page, and click on Inspect
  • Click on the Console tab at the top.
  • Copy the code above and paste it in the console (starts with a > symbol, button of the window).
@misbach
misbach / ExportOffice365Org.js
Last active January 29, 2021 02:00
Export Office 365 Org Chart
/*
Description:
Exports all people in an organization starting from a specified person.
To run:
1. Go to the People landing page in Office 365 and view a specific person
2. Change the starting person email, and UUID.
3. Paste the code below into the javascript console
Misc. Info