View trialDB.csv
index name ctID lastUpdate
0 DV281 NCT03326752 November 1, 2017
1 SD101 NCT02521870 December 7, 2017
2 AZD1419 NCT02898662 December 21, 2017
3 SD101+MK1966 NCT02731742 December 11, 2017
View -
remove your ~/.toprc (if any)
start "top"
press z
press V
press 1
press y
press m m
press t t t
press W
View iPyNbViewer_v3.applescript
on open this_item
tell application "Finder"
set pathList to (quoted form of POSIX path of (folder of the front window as alias))
set command to "clear; cd " & pathList
end tell
tell application "System Events"
-- some versions might identify as "iTerm2" instead of "iTerm"
set isRunning to (exists (processes where name is "iTerm")) or (exists (processes where name is "iTerm2"))
View iPyNbViewer_v2.applescript
on open this_item
tell application "iTerm"
set iPyNbViewer to (make new terminal)
tell iPyNbViewer
activate current session
launch session "Default Session"
tell the last session
set name to "IPython Notebook"
View iPyTerm.applescript
on run {input, parameters}
-- Run ipython on a new iTerm (OS X version)
-- See
tell application "iTerm"
set ipy to (make new terminal)
#!/usr/bin/env bash
# Source:
# Author: Mike
#define local path for backups
#define remote backup path
#!/usr/bin/env bash
# Source:
# Author: Mike
# Editted by Yi Liu (
# Changes: packup path, site path, use find wp-admin to skip non-wp apps, removed permission lines.
# Run this as user serverpilot
#define local path for backups
# Help / usage info.
USAGE=$'WordPress Helper script, adapted from Phil Banks (emirpprime@github) EasyEngine script for Serverpilot .\nWithout any args it will search /srv/users/serverpilot/apps for WordPress sites, loop over them in alphabetical order and check for core and plugin updates.\nAlso accepts:\n\t--sites=[space seperated list of site paths relative to /srv/users/serverpilot/apps]\n\t--update=[plugins|wp|all].'
# Die function for exiting on errors.
die () {
echo "${1}, exitting..." >&2 ; echo ; exit 1
#/usr/bin/env python
from pandas import np
from import DataReader
def historical_volatility(sym, days):
"Return the annualized stddev of daily log returns of `sym`."
quotes = DataReader(sym, 'yahoo')['Adj Close'][-days:]