using homebrew, apt-get or whatever you have access to:
- install git
- install zsh
Directly from prezto install instructions
#!/usr/bin/env bash | |
# USAGE: | |
# 0. install jq from https://stedolan.github.io/jq/ if not already present | |
# 1. make this script executable | |
# chmod u+x gene2ensembl.sh | |
# 2. then run it on a gene list with one gene ID per line | |
./gene2ensembl.sh genesymbollist.txt > ensembl_list.txt | |
# NOTE: this command does not run in parallel on purpose |
#!/usr/bin/env bash | |
# Installation with this script in your $PATH: | |
# $ git config --global alias.deploy '!git-deploy' | |
# When in the repo just go: | |
# $ git deploy ssh://user@server/a/path/to/repo | |
# which creates a bare repository bare.git in that remote directory | |
# and copies the working tree in the directory |
#!/bin/bash | |
while true; do | |
until [[ $usedspace -ge 60 ]]; do | |
for file_ready in queue/*.downloaded; do | |
filepath=${file_ready%.downloaded} | |
file=${filepath##*/} | |
srsid=${file/.*/} | |
if [ ! -e "queue/$srsid.decompressed" ] | |
then | |
echo "Decompressing $srsid ..." |
#!/usr/bin/env python3 | |
## converting journey android app entries to dayone entries using the the dayone-cli limited input options | |
# first download all single posts zip files and place them in the folder of the script. Then run | |
# unzip '*.zip' | |
# where quotes are important! | |
# | |
# Then run this script in the folder |
using homebrew, apt-get or whatever you have access to:
Directly from prezto install instructions
Steps to setup a new OS X laptop with a data science & computational biology development environment.
Last updated: 7 Jan 2017 macOS: Yosemite => Sierra
Sure you could try to do this from dotfiles, but historically something has broken and required manual input anyway. So, inspired by the pragmatism of paul irish bash setup script and a few other gists written in markdown like this, I rolled my own.
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.elipapa.keychain-backup</string> | |
<key>OnDemand</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> |