Giter Site home page Giter Site logo

eclsnippets's Introduction

Snippets & References


Deployment

ISE

vagrant ssh
cd ecl
fab package:cloudlab
fab --host=54.149.66.159 --user=ubuntu deploy_restart:cloudlab, release_master_1231

Rosetta

vagrant ssh
cd ecl
fab package:rosettajs
fab --host=54.149.66.159 --user=ubuntu deploy_restart:rosettajs, release_master_1231

Quick References

Rosetta Domain
ISE Domain

SSH

  • Adding SSH Keys
ssh-keygen -t rsa -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
pbcopy < ~/.ssh/id_rsa.pub
  • Adding SSH Keys
cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys'

IPs

  • Dev: 54.149.66.159
  • Production1: 52.25.160.219
  • Production2: 52.26.89.219
  • Dev Database: 52.24.79.91
  • Emerald Server 1: 10.0.0.101 (upstairs)
  • Emerald Server 1: 10.0.0.103 (lab)

Mathematica

Protocol Assignment:
Search[protocol[HPLC], Status == Requested];
ChangeProtocolStatus[protocol[748, HPLC], Enqueued];
Inform[person[57, Emerald] -> {CurrentProtocol -> protocol[748, HPLC]}];
Database Configuration:
Configuration["Connections", "SLL"]
Instrument Availability:
Search[instrument[HPLC], Status == Available];
Map[Inform[# -> {Status -> Available}] &, Search[instrument[HPLC], Status == Running]];
Reset Protocol to Movement:
ChangeProtocolStatus[protocol[752, HPLC], Troubleshooting];
ResetToTask[protocol[752, HPLC], "d08619b0-6ebb-4aca-b823-f2ba30daefbf"];
ResumeProtocol[protocol[752, HPLC]];
Inform[protocol[752, HPLC] -> {CurrentOperator -> $PersonID}]

Rosetta Development

Create Recording:
Backbone.Events.trigger("recorder:dump","/Users/erikmellum/Desktop/iolink-recordings/")
Replay Recording:
env IOLINK_RECORDING=~/Desktop/iolink-recordings/.json npm start
Mocking Recordings:
pc.iolink.lookup._expressions
Launching:
cd ~/ecl/vagrant
vagrant ssh
devrun exec ecl/cmd/protoexec
cd ~/EmeraldSci/desktop/nw
node select-profile protoexec-dev
npm start

ISE

Launching:
cd ~/ecl/vagrant
vagrant ssh
devrun exec ecl/cmd/cloudlab
cd ~/EmeraldSci/desktop/nw
node select-profile cloudlab-dev
npm start

Object Store

ecldbinit createuser username:=erik email:[email protected] org_id:=1 password=e

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.