This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name SAFe bullshitizer | |
// @version 1 | |
// @grant none | |
// @include https://app.zenhub.com/* | |
// @include https://github.com/* | |
// ==/UserScript | |
console.log("starting replacement script"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass | |
from typing import Callable | |
@dataclass | |
class ExprVisitor: | |
matcher: Callable[[HighLevelILInstruction], bool] | |
block: HighLevelILBasicBlock | |
def visit_insn(self, expr): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tqdm | |
import tqdm.notebook | |
tqdm.tqdm = tqdm.notebook.tqdm | |
from tqdm import tqdm | |
import pdb | |
def custom_exc(shell, etype, evalue, tb, tb_offset=None): | |
shell.showtraceback((etype, evalue, tb), tb_offset=tb_offset) | |
pdb.post_mortem(tb) | |
get_ipython().set_custom_exc((Exception,), custom_exc) |
OlderNewer