Skip to content

Instantly share code, notes, and snippets.

View jasonpott's full-sized avatar
🗯️

Jason Pott jasonpott

🗯️
View GitHub Profile
This file has been truncated, but you can view the full file.
@article{Christie_2019_Seminars_in_Respiratory_and_Critical_Care_Medicine,
year = {2019},
title = {{Acute Respiratory Distress Syndrome Phenotypes}},
author = {Reilly, John and Calfee, Carolyn and Christie, Jason},
journal = {Seminars in Respiratory and Critical Care Medicine},
issn = {1069-3424},
doi = {10.1055/s-0039-1684049},
pmid = {31060085},
abstract = {{The acute respiratory distress syndrome (ARDS) phenotype was first described over 50 years ago and since that time significant progress has been made in understanding the biologic processes underlying the syndrome. Despite this improved understanding, no pharmacologic therapies aimed at the underlying biology have been proven effective in ARDS. Increasingly, ARDS has been recognized as a heterogeneous syndrome characterized by subphenotypes with distinct clinical, radiographic, and biologic differences, distinct outcomes, and potentially distinct responses to therapy. The Berlin Definition of ARDS specifies three severity classifications: mild,
local snacks = require("snacks")
local Path = require("plenary.path")
local scan = require("plenary.scandir")
local loop = vim.loop
local utils = {}
utils.file_present = function(table, filename)
for _, file in pairs(table) do
if file.name == filename then
@jasonpott
jasonpott / init.lua
Created March 10, 2025 21:36
Plugin to run languagetool CLI on markdown files and populate a quicklist with the message and suggested corrections. Written with ChatGPT
local M = {}
-- Configuration options
M.config = {
enable_in_all_folders = false, -- Set to true to enable word count globally for all directories
}
-- Function to check if word count should be enabled
local function should_enable_wordcount()
-- Check for the .wordcount_enable file in the current directory

Keybase proof

I hereby claim:

  • I am jasonpott on github.
  • I am jasonpott (https://keybase.io/jasonpott) on keybase.
  • I have a public key ASCNKIOjnU7M_9r4ICOHtKm4ZxepagvnjllEqCJeDMW5Fwo To claim this, I am signing this object:
{
  "body": {
    "key": {
@jasonpott
jasonpott / purrr_map_multiple_event_extract.R
Created December 10, 2021 20:11
Method to extract sequential events for a defined population in MS SQL via dbplyr / purrr / R
# con is a connection object
#Package load
pacman::p_load(tidyverse, tidylog, janitor, pool,odbc, dbplyr)
dbConnect(
odbc(),
Driver = "SQL Server",
Server = "server name",
@jasonpott
jasonpott / project_setup.R
Last active May 7, 2025 13:26
R analysis project folder setup script
cat(
"# History files",
".Rhistory",
".Rapp.history",
"# Session Data files",
".RData",
"# User-specific files",
".Ruserdata",
"# Example code in package build process",