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
    
  
  
    
  | #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Configuration | |
| REPLICATION_USER="${REPLICATION_USER:-replicator}" | |
| REPLICATION_PASSWORD="${REPLICATION_PASSWORD:-replpass}" | |
| REPLICATION_PORT="${REPLICATION_PORT:-5432}" | |
| # Cleanup temporary files on exit | |
| trap 'rm -f globals.sql' EXIT | 
  
    
      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 PIL import Image | |
| def grayscale(image): | |
| return image.convert("L") | |
| def find_dark_pixels(image, threshold=50): | |
| dark_pixels = [] | |
| grayscale_image = grayscale(image) | |
| grayscale_data = grayscale_image.getdata() | 
  
    
      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 pathlib import Path | |
| import win32com.client as win32 | |
| def convert(excel, path: Path): | |
| ''' | |
| FileFormat = 51 is for .xlsx extension | |
| FileFormat = 56 is for .xls extension | |
| ''' | |
| wb = excel.Workbooks.Open(str(path)) | 
  
    
      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
    
  
  
    
  | Installed apps: | |
| 7zip 19.00 | |
| bat 0.18.2 [main] | |
| brotli 1.0.9_5 [main] | |
| cacert 2021-07-05 [main] | |
| ccleaner 5.82.8950 [extras] | |
| dark 3.11.2 [main] | |
| delta 0.8.3 [main] | |
| duf 0.6.2 [main] | 
  
    
      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
    
  
  
    
  | defmodule MidiParser do | |
| def parse(b) do | |
| {:ok, pid} = StringIO.open("") | |
| b |> parse_header(pid) |> parse_body(pid) | |
| {:ok, {_in, out}} = StringIO.close(pid) | |
| out | |
| end | |
| def parse_header(<< | |
| "MThd", | 
  
    
      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
    
  
  
    
  | <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Document</title> | |
| <style> | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| overflow: hidden; | 
  
    
      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
    
  
  
    
  | { | |
| init: function(elevators, floors) { | |
| var minLevel = floors[0].floorNum(), | |
| maxLevel = floors[floors.length - 1].floorNum(); | |
| var F = floors.map(function(floorInfo) { | |
| var info = { | |
| requireUp: false, | |
| requireDown: false, | |
| comingElevator: null, |