Skip to content

Instantly share code, notes, and snippets.

View travs's full-sized avatar
🐄

Travis Jacobs travs

🐄
View GitHub Profile
@travs
travs / flow.md
Created July 9, 2015 02:57
ChannelWorm Data Entry Workflow

ChannelWorm Data Entry Workflow

Go from a paper to data + digitized plots

Note that steps 2-4 may not be necessary for every plot (e.g. one Ion Channel will be used for many Graphs in the database)

  1. Select a figure/paper from the spreadsheet
  2. Back in ChannelWorm, create a Reference for the paper you chose
  3. Make an Experiment using this Reference
  4. Add an Ion Channel corresponding to the Experiment
@travs
travs / ballot.sol
Last active June 12, 2017 16:36 — forked from anonymous/ballot.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.11+commit.68ef5810.js&optimize=undefined&gist=
pragma solidity ^0.4.0;
contract Ballot {
struct Voter {
uint weight;
bool voted;
}
Voter me = Voter({
weight: 2,

Keybase proof

I hereby claim:

  • I am travs on github.
  • I am travs (https://keybase.io/travs) on keybase.
  • I have a public key ASCBgCLe6dWXS88613cq6UGfD30Zdlzdng6NheDN5L10iQo

To claim this, I am signing this object:

+ dapp quicktest out out/simpleAdapter.bin out/rewards.bin out/safeMath.bin
Secp256k1 bindings are not compiled. Pure JS implementation will be used.
Trying out/DataFeedTest, out/assets/AssetTest, out/datafeeds/DataFeedTest, out/participation/ParticipationTest, out/version/VersionTest...
...thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Invalid character '_' at position 51640', /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/result.rs:868
stack backtrace:
1: 0x55ca725a7f0c - std::sys::imp::backtrace::tracing::imp::write::hf33ae72d0baa11ed
...... at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:42
2: 0x55ca725ac33e - std::panicking::default_hook::{{closure}}::h59672b733cc6a455
[
{
"maker": "0x00360d2b7d240ec0643b6d819ba81a09e40e5bcd",
"taker": "0x0000000000000000000000000000000000000000",
"feeRecipient": "0x0000000000000000000000000000000000000000",
"makerTokenAddress": "0xa27af8713623fcc239d49108b1a7b187c133e88b",
"takerTokenAddress": "0xdc5fc5dab642f688bc5bb58bef6e0d452d7ae123",
"exchangeContractAddress": "0xb34761bee0788100919106e3d59184fb7c0d5421",
"salt": "308672",
"makerFee": "0",
[
{
"maker": "0x00360d2b7d240ec0643b6d819ba81a09e40e5bcd",
"taker": "0x0000000000000000000000000000000000000000",
"feeRecipient": "0x0000000000000000000000000000000000000000",
"makerTokenAddress": "0xa27af8713623fcc239d49108b1a7b187c133e88b",
"takerTokenAddress": "0xdc5fc5dab642f688bc5bb58bef6e0d452d7ae123",
"exchangeContractAddress": "0xb34761bee0788100919106e3d59184fb7c0d5421",
"salt": "438721",
"makerFee": "0",
[
{
"maker": "0x00360d2b7d240ec0643b6d819ba81a09e40e5bcd",
"taker": "0x0000000000000000000000000000000000000000",
"feeRecipient": "0x0000000000000000000000000000000000000000",
"makerTokenAddress": "0xa27af8713623fcc239d49108b1a7b187c133e88b",
"takerTokenAddress": "0xdc5fc5dab642f688bc5bb58bef6e0d452d7ae123",
"exchangeContractAddress": "0xb34761bee0788100919106e3d59184fb7c0d5421",
"salt": "169214",
"makerFee": "0",
[
{
"maker": "0x00360d2b7d240ec0643b6d819ba81a09e40e5bcd",
"taker": "0x0000000000000000000000000000000000000000",
"feeRecipient": "0x0000000000000000000000000000000000000000",
"makerTokenAddress": "0xa27af8713623fcc239d49108b1a7b187c133e88b",
"takerTokenAddress": "0xdc5fc5dab642f688bc5bb58bef6e0d452d7ae123",
"exchangeContractAddress": "0xb34761bee0788100919106e3d59184fb7c0d5421",
"salt": "484370",
"makerFee": "0",

COSC 101: Fall 2017
Lecture 01: Computational Thinking & Introduction to Python

Computational Thinking

Computational thinking is the thought processes involved in formulating a problem and expressing its solution(s) in such a way that a computer—human or machine—can effectively carry out.

1. The following is an algorithm someone wrote for brushing your teeth:

  1. Wet the toothbrush

  2. Put toothpaste on the toothbrush