This file contains 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
license: mit |
This file contains 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
width: 820 | |
height: 730 |
This file contains 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
license: gpl-3.0 |
This file contains 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 node | |
'use strict' | |
import { createRequire } from 'module'; | |
const require = createRequire(import.meta.url); | |
const fs = require('fs') | |
const { Client } = require('@elastic/elasticsearch') | |
const client = new Client({ node: 'http://localhost:9200' }) | |
let i = 0 | |
const size = 1000 |
This file contains 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
property MY_NOTION_TOKEN : "redacted" | |
property MTG_DATABASE_ID : "redacted" | |
tell application "Microsoft Outlook" | |
-- is an evet selected in the calendar window? | |
if class of front window is main window and view of front window is calendar view then | |
set theEvt to the selection | |
-- is the event unsaved or is the buggy "New Outlook" interface being used | |
else if class of front window is window and object of front window is missing value then | |
display dialog "Unsaved events cannot be copied. Save your event and run this script again." with title "Alert!" with icon 2 buttons {"OK"} default button {"OK"} |
This file contains 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/zsh | |
# The script will iterate through the queues and terminate any jobs in these queues with any of the following states: | |
# SUBMITTED PENDING RUNNABLE STARTING RUNNING | |
# Requirements: | |
# valid ~/.aws/credentials | |
# aws cli installed | |
# Usage: | |
# pass space-delimited quoted string of queue names as argument to script, e.g., | |
# terminateJobs.zsh "my-nextflow-head-queue my-nextflow-small-process-queue my-nf-large-process-queue" | |
# |