My girlfriend attended the Massachusettes School of Professional Psychology to get her graduate degree. She has mixed feelings about the quality of her education, and I'll leave that be for now.
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
<p/> | |
Table 2.2: Relative capabilities of humans and machines.<br/> | |
From Designing the User Interface by Ben Shneiderman (Addison-Wesley, 1992). | |
<p/> | |
<table cellspacing="4"> | |
<tr> | |
<td>Humans Generally Better</td> | |
<td>Machines Generally Better</td> | |
</tr> | |
<tr> |
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
function onLogin(user) { | |
if (user.nihAccountLink.isActive) { | |
if (user.nihAccountLink.lastLogin < _24HoursAgo && user.nihAccountLink.expireTime > _24HoursFromNow) { | |
user.nihAccountLink.expireTime = _24HoursFromNow; | |
} | |
} | |
} | |
function onNihAccountLinkSuccess(user) { | |
user.nihAccountLink.lastLogin = now; |
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
task M2 { | |
File ref_fasta | |
File ref_fasta_dict | |
File ref_fasta_fai | |
File tumor_bam | |
File tumor_bai | |
File normal_bam | |
File normal_bai | |
File intervals | |
String m2_output_vcf_name |
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/bash | |
IFS=$'\n\t' | |
set -euxo pipefail | |
mkdir /etc/ssl/certs/docker | |
mkdir /etc/ssl/certs/docker/server | |
mkdir /etc/ssl/certs/docker/client | |
cd /etc/ssl/certs/docker | |
echo "$(uuidgen)" > keypass |
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/bash | |
IFS=$'\n\t' | |
set -euox pipefail | |
CNAME="$1" | |
FILE_PATH="$2" | |
TMPFILE="$(mktemp)" | |
docker exec "$CNAME" cat "$FILE_PATH" > "$TMPFILE" |
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/bash | |
IFS=$'\n\t' | |
set -euxo pipefail | |
BASE="$1" | |
SRC="$2" | |
DST="$3" | |
if [[ ! -e "$BASE" ]]; then | |
>&2 echo "Base path does not exist: $BASE" |
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
(ns com.mohsdev.groceries.status | |
(:require | |
[com.mohsdev.groceries.server :as server] | |
[com.mohsdev.groceries.utils :as utils :refer [rlog jslog cljslog]] | |
[com.mohsdev.groceries.env :as env] | |
[dmohs.react :as react] | |
) | |
) | |
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/ruby | |
require 'json' | |
require 'jwt' | |
require 'typhoeus' | |
service_account_data_file_name = ARGV.shift | |
if not service_account_data_file_name | |
STDERR.puts "Specify service account file" |
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
version: '2' | |
services: | |
app: | |
image: hseeberger/scala-sbt | |
stdin_open: true | |
tty: true | |
ports: | |
- "5051:5051" | |
working_dir: /w | |
volumes: |
OlderNewer