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
// This Apps Script is for Google Sheets, and assigns random feedback partners from a list of names in Column A. | |
// You can use it to organize a feedback group. | |
// | |
// numPartners: number of feedback partners to assign. Defaults to 2. | |
// nameStartRow: the row that the name list starts on. Assumes names are in Column A. Defaults to row 3. | |
// outputStartCol: feedback partners will be outputted into every other column starting from outputStartCol. Defaults to Column F. | |
function assignFeedbackPartners(numPartners = 2, nameStartRow = 3, outputStartCol = 6) { | |
// Get the active spreadsheet and the active sheet | |
const sheet = SpreadsheetApp.getActiveSheet(); | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
# Runs the specified command (provided by the first argument) in all tmux panes | |
# for every window regardless if applications are running in the terminal or not. | |
function execute_in_all_panes { | |
# Notate which window/pane we were originally at | |
ORIG_WINDOW_INDEX=`tmux display-message -p '#I'` | |
ORIG_PANE_INDEX=`tmux display-message -p '#P'` |