Has field live template, suggested name: hf
public boolean has$SET_NAME$() {
return hasFieldSet("$SET_NAME$");
}
PresenceTrackingSetter Template,
#set($paramName = $helper.getParamName($field, $project))
Has field live template, suggested name: hf
public boolean has$SET_NAME$() {
return hasFieldSet("$SET_NAME$");
}
PresenceTrackingSetter Template,
#set($paramName = $helper.getParamName($field, $project))
#include <assert.h> | |
#include <stdbool.h> | |
#include <stddef.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct node { | |
int key; | |
int val; | |
struct node *next; |
Sign an electron dev executable,
$ codesign --deep --force --verbose --sign - node_modules/electron/dist/Electron.app
Made some updates to this PR due after following up on the error Akash got in running the tests locally. In turn this past week I have to come to learn a lot about Visual Regression Testing that I want to share here and discuss with you all. The things I want to share are organized in these topics,
Add to Travis
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
or apply sed call to repo:
import inspect | |
def call_depth(instance): | |
methods_to_consider = [ | |
func_name | |
for func_name, _ in inspect.getmembers( | |
instance, predicate=inspect.ismethod) | |
] | |
stack_funcs = [i.function for i in inspect.stack()] |
# To use this API: | |
# | |
# Uninstall previously installed API | |
# pip uninstall -y opentrons | |
# | |
# Install API from here | |
# pip install "git+https://github.com/opentrons/opentrons@release-2.5.0#egg=opentrons&subdirectory=api" | |
# imports | |
from opentrons import robot, containers, instruments |
num_samples = 8 | |
DNA_delay = 6 | |
heat_shock_delay = 6 | |
cold_delay = 6 | |
DNA_vol = 2 | |
cell_vol = 25 | |
total_vol = 27 | |
LB_vol = 200 |
pump = instruments.Pipette(axis='a', ...)
pump.dispense(volume, <location>)
from opentrons import robot, instruments, containers | |
from opentrons import smart_module | |
md = smart_module.MagDeck() | |
md.connect('/dev/tty123') | |
sh = smart_module.Shaker() | |
sh.connect('/dev/tty124') |