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 os | |
| import time | |
| import signal | |
| import socket | |
| import argparse | |
| from multiprocessing import Process | |
| def send_loop(tid, target, port, plen): | |
| sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # Sets the WSL eth0 adapter to the same MTU as a Juniper Networks Virtual Adapter, from the Windows side. | |
| # This can help make certain connections (SSH/HTTPS specifically) more stable/reliable, as they can use | |
| # larger packets when initiating connections or sending large chunks of data. | |
| # Recommended to run in ~/.profile to persist across reboots. Remember to make this script executable. | |
| # Add to sudoers file if running in ~/.profile | |
| # %sudo ALL=(ALL) NOPASSWD: /usr/sbin/ip link set mtu * dev * | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| if [ $# -eq 0 ] ; then | |
| echo "Usage: $0 <input PDF> [output filename] [custom temp dir]" | |
| echo "\tSlices, Straightens, and OCRs scanned PDFs from books" | |
| echo "" | |
| echo "\tIf [output filename] is not provided, then outputs to <input>.normalized.pdf | |
| echo "\tIf [custom temp dir] is not provided, then uses a directory from 'mktemp' which is automatically deleted" | |
| echo | |
| echo "\tUses commands from packages poppler-utils, imagemagick, img2pdf, ghostscript, ocrmypdf" | 
  
    
      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 Make D2L a bit better | |
| // @namespace https://gist.github.com/chrismooredev/4bd7605a47ca89d65699bbbaef474c38 | |
| // @version 0.5.5 | |
| // @description Add QoL changes to D2L's user interface | |
| // @author https://github.com/csm123199 | |
| // @include https://d2l.*.edu/d2l/le/content/*/viewContent/*/View | |
| // @grant none | |
| // @updateUrl https://raw.githubusercontent.com/chrismooredev/d2l-tweaks/master/d2l-tweaks.user.js | |
| // ==/UserScript== | 
  
    
      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
    
  
  
    
  | hjaksdhjakdhsjak | 
