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/sh | |
set -e | |
# having an app tree set up messes up the build. Clear the field. | |
if [[ $(type -t module) == "function" ]]; then | |
module purge | |
fi | |
cat << "EOYAML" > etc/spack/packages.yaml | |
packages: |
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
# -*- mode: sh -*- | |
# vim: set ft=sh | |
# | |
# The typical user's .bash_profile would include: | |
# | |
# APPS_MODULES="emacs git htop the-silver-searcher" # and etc.... | |
# source /moose/apps/init.sh | |
# | |
# Even setting APPS_MODULES is optional if user is ok with default list... | |
# |
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
begin | |
remote = Apple_A1156 | |
button = KEY_UP | |
repeat = 0 | |
prog = squeezelite | |
config = volup | |
end | |
begin | |
remote = Apple_A1156 |
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
echo -n "CAAT" | perl -pe '{tr/atcgATCG/tagcTAGC/; $_=reverse}' | |
or for IUPAC: | |
tr/ABCDGHMNRSTUVWXYabcdghmnrstuvwxy/TVGHCDKNYSAABWXRtvghcdknysaabwxr/; |
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
$ cat emacs-profile | |
Built an X emacs and ran esup. Here's what it told me: | |
FWIW: The total of the non-zero times excluding sm-modules is 3.95.... | |
--- | |
Total User Startup Time: 17.204sec Total Number of GC Pauses: 0 Total GC Time: 0.000sec |
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
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
from dash.dependencies import Input, Output, State | |
from dash.exceptions import PreventUpdate | |
from flask import Flask, send_file | |
server = Flask(__name__) | |
app = dash.Dash(server=server) |
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
# this has a problem that the "new_jobs" values aren't reset after | |
# being used. | |
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
from dash.dependencies import Input, Output, State | |
from dash.exceptions import PreventUpdate | |
from flask import Flask, send_file | |
server = Flask(__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
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
from dash.dependencies import Input, Output, State | |
from flask import Flask | |
server = Flask(__name__) | |
app = dash.Dash(server=server) | |
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
######################## | |
## Variables | |
######################## | |
variable "environment_name" { | |
description = "The name of the environment" | |
} | |
variable "vpc_id" { |
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
[ghartzell@bifx1n03 spack-update-kallisto]$ spack -d install kallisto | |
==> [2020-02-28-15:43:15.438065, 15427] Imported install from built-in commands | |
==> [2020-02-28-15:43:15.439304, 15427] Reading config file /home/ghartzell/tmp/spack-update-kallisto/etc/spack/defaults/config.yaml | |
==> [2020-02-28-15:43:15.453801, 15427] Imported install from built-in commands | |
==> [2020-02-28-15:43:15.455972, 15427] Reading config file /home/ghartzell/tmp/spack-update-kallisto/etc/spack/defaults/repos.yaml | |
==> [2020-02-28-15:43:15.525066, 15427] Reading config file /home/ghartzell/tmp/spack-update-kallisto/etc/spack/defaults/packages.yaml | |
==> [2020-02-28-15:43:15.541270, 15427] READ LOCK: /home/ghartzell/.spack/cache/tags/.builtin-index.json.lock[0:0] [Acquiring] | |
==> [2020-02-28-15:43:15.541371, 15427] read locking [0:0]: timeout 120 sec | |
==> [2020-02-28-15:43:15.541434, 15427] READ LOCK: /home/ghartzell/.spack/cache/tags/.builtin-index.json.lock[0:0] [Acquired at 15:43:15.541416] | |
==> [2020-02-28-15:43:15.541831, 15427] READ L |
NewerOlder