Skip to content

Instantly share code, notes, and snippets.

View ncrmro's full-sized avatar
🦁

Nicholas Romero ncrmro

🦁
View GitHub Profile
@ncrmro
ncrmro / missingParathenasis.js
Created June 20, 2018 04:12
AI/AA Example Errors
function expandSheet(e) {
# Missing ) bellow
const expanded = e.getAttribute("style";
console.log(expanded)
if (!expanded){
}
e = document.getElementById(`${e.id}-expandable`)
console.log('EXAPND', e)
@ncrmro
ncrmro / dantes_infrastructure.md
Last active June 16, 2018 13:23
A minimum and recommended requirements for Dantes Infra.

You will need at the minimum one dediticated 64x bit server.

Minimum Requirements

Server

  • Dual core 64bit procetter with VT-D support
  • 32GB Storage
  • 2GB RAM
import React from 'react';
import { graphql, QueryRenderer } from 'react-relay';
function withRelayContainer(WrappedComponent, selectData) {
return ({environment, variables, router}) =>
<QueryRenderer
environment={environment}
query={graphql`
query PollsContainerQuery($id: ID!) {
question(id: $id) {
@ncrmro
ncrmro / mongo-dockerfile
Created December 14, 2015 10:47
A file for deploying a development mongoDB
FROM debian:wheezy
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN groupadd -r mongodb && useradd -r -g mongodb mongodb
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates curl \
numactl \
&& rm -rf /var/lib/apt/lists/*
{
name: "Find My Towed Vehicle (U)",
todoData: [
{
todoName: "Find My Towed Vehicle",
todoUrl: "http://findmytowedcar.com/tvrmscitizen/mainpage.aspx"
}
],
owner: "ncrmro"
},