Skip to content

Instantly share code, notes, and snippets.

Anthony Cros anthony-cros

  • Philadelphia
Block or report user

Report or block anthony-cros

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MyApp.scala
package minimal
import org.scalajs.dom
import scala.scalajs.js
object App {
def main(args: Array[String]): Unit = {
// prints to console as expected
View Bindings.scala
package minimal
import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
object Bindings {
// ===========================================================================
// ReactDOM
View test.jsx
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
View disease_express_ql_examples
{ "stage": "4" }
{ "$eq": { "mycn_status":"amplified" }}
{ "$not": { "stage": 4 }}
{ "$not": { "$lt": { "stage": 4 }}}
{ "$not": { "$not": { "stage": "4" }}}
{ "$not": { "$not": { "$lt": { "stage": 4 }}}}
{ "risk": ["high","low"] }
{ "$nin": { "risk": ["high","low"] }}
{ "$not": { "$in": { "risk": ["high","low"] }}}
{ "$or": [{ "$eq": { "mycn_status":"amplified" }},{ "stage": "4" } ] }
View data.test
# notes:
# - use 4 spaces for display tab
# - repeated tabs get trimmed to one
# - anything beyond ' #' is trimmed (including marker), so are empty lines (post line-trim)
# - \N stand for no value (eg NULL in SQL)
# - PATID, ENCOUTERID and other IDs are inferred from the _id field, including redundant fields
===========================================================================
DEMOGRAPHIC
View grinop.yaml
---
openapi: "3.0.0"
info:
version: "0.1.0"
title: "grinop"
servers:
- url: "https://localhost:9000/api/v0"
paths:
/auth/signin:
post:
View ModelToModelTransformation.scala
package nebulis.transformation
// ===========================================================================
object Example extends App { // extending App so the body runs as a main() method
val results: Iterable[OutputHybrid] = // "turn a stream of input sample and mutations into a stream of 'hybrid'"
OutputHybrid.transform(
samples = ???, // assume actual data
mutations = ???)
View wes.scala
package pedcbimport.pipelines.wes
import utils.Implicits.ProductImplicits
import utils.Implicits.StringImplicits
import utils.Implicits.SeqImplicits
import WesRaw.Cosmic._
// ===========================================================================
object Wes {
View gist:6db4add8decb074be8fd
$ gdb ./eth
GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
You can’t perform that action at this time.