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 bun | |
| // Quake-style Toggle for wezterm-gui on Hyprland | |
| // Add to your hyprland config: | |
| // bind = $mainMod, Space, exec, ~/.config/hypr/quake_toggle.ts quake | |
| // windowrule = float on, match:class quake | |
| // windowrule = move (cursor_x-(window_w*0.5)) (cursor_y-(window_h*0.5)), match:class quake | |
| // | |
| // or run ./quake_toggle.ts <class> | |
| import { $, spawn } from "bun"; |
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/sh | |
| set -e | |
| HOST=localhost | |
| DB=test-entd-products | |
| COL=asimproducts | |
| S3PATH="s3://mongodb-backups-test1-entd/$DB/$COL/" | |
| S3BACKUP=$S3PATH`date +"%Y%m%d_%H%M%S"`.dump.gz | |
| S3LATEST=$S3PATH"latest".dump.gz | |
| /usr/bin/aws s3 mb $S3PATH |