Copy/paste snippets for managing prod incidents and data cleanup
I exported a slack thread in XYZ. Please update the slack thread export, to create a condensed version of it. Some guidance:
- Avoid rewriting anything. The goal is to simply remove unnecessary messages.
- Keep messages that describe the constraints and rationale behind the decision.
- We prefer to keep just the final solution, so try to remove messages about the rejected approaches. FYI the final solution is ABC
Control wind without learning any songs (gecko). Enable this once you complete Dragon Roost island, and this will make other wind-direction cheats start working.
043e5460 01000000
Have element stones 1 and 2 (but not Jabun/Nayru). Allows you to go Greatfish Isle, then visit the pirate ship and get bombs on Windfall. Don't use this code until Dragon Roost Island.
003C4CC7 00000006
- Paste one of these into https://caiorss.github.io/bookmarklet-maker/
- Click "Generate Bookmarklet"
- Click and drag the blue thing into your bookmarks bar
There was this great chrome extension called "Popout for Google Chrome™". It gave you a button to open the current page as a popup. This is great for tiling a handful of chrome windows as if they're native applications. Google seems to have removed it from the chrome store, saying "This extension violates the Chrome Web Store policy.".
https://chrome.google.com/webstore/detail/nejkhdlfjifmhomnedomededpaeohcmi
It looks like this is literally all the source code. So I'm leaving this here, in case my current zip backup of the extension ever gets lost, and I (or someone else) wants to recreate this extension.
background.js
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.windows.create({ tabId : tab.id, type: 'popup' });| use_bpm 120 | |
| live_loop :bass do | |
| 4.times do | |
| sample :bd_haus, cutoff: 70, amp: 4 | |
| sleep 1 | |
| end | |
| end |
| # json_file_path is the response body from some REST endpoint that google play music | |
| # used to return the contents of a playlist as you loaded it in the web UI. | |
| # So you need to have saved this before GPM shut down. | |
| # | |
| # output_csv_file_path will contain a CSV file in a format suitable for https://soundiiz.com/ | |
| require 'JSON' | |
| require 'byebug' | |
| # Untangles a few git branches into a linear history by rebasing. | |
| # | |
| # Setup: | |
| # | |
| # In your .gitconfig file, create an alias like so (first line is Windows, 2nd line unix): | |
| # | |
| # [alias] | |
| # untangle = !ruby /c/DEV/git_untangle.rb | |
| # untangle = !ruby ~/git_untangle.rb | |
| # |
This is a snippet of JS code that generates a diff on the Jira comment history tab. Currently, Jira generates a nice red/green diff when it sends you an email notification, but it only offers a before/after view of changes on the Jira website itself. Running this JS code will show a similar red/green diff on the Jira website.
Instructions (Chrome):
- Create a new bookmark. Bookmark anything, even this page, whatever.

