Skip to content

Instantly share code, notes, and snippets.

View bananaoomarang's full-sized avatar

Milo Mordaunt bananaoomarang

  • United States
View GitHub Profile
@bananaoomarang
bananaoomarang / docker-compose.yml
Last active September 20, 2017 20:11
ES Docker compose
version: '1'
services:
elasticsearch:
image: elasticsearch
ports:
- "127.0.0.1:10346:9200"
- "9300:9300"
volumes:
- esdata1:/usr/share/elasticsearch/data
environment:
Net::OpenTimeout in ArticlesController#update_file
execution expired
<div class="source hidden" id="frame-source-0">
<div class="info">
Extracted source (around line <strong>#880</strong>):
</div>
<div class="data">
<table cellpadding="0" cellspacing="0" class="lines">
<tr>
\usepackage{multirow}
\usepackage{fullpage}
\usepackage[table,dvipsnames]{xcolor}
\usepackage{xspace}
\usepackage{listings}
\usepackage{pifont}
\lstset{ %
backgroundcolor=\color{white}, % choose the background color
basicstyle=\footnotesize, % size of fonts used for the code
breaklines=true, % automatic line breaking only at whitespace
@bananaoomarang
bananaoomarang / checked-params.md
Last active August 29, 2015 14:27
Checked paramters UX example
/**
 * @param {secret} MONGO_URL - URL of Mongo Database
 * @param {string} COLLECTION - Collection to read
 */
 
 module.exports = ...
@bananaoomarang
bananaoomarang / package.json
Last active October 18, 2015 15:32
Redux package.json
{
"name": "isomorphic-redux",
"version": "1.0.0",
"repository": "https://github.com/bananaoomarang/isomorphic-redux",
"description": "",
"main": "index.js",
"scripts": {
"start": "NODE_PATH=$NODE_PATH:./shared node --harmony .",
"dev": "npm run start & webpack-dev-server --progress --color",
"build": "NODE_ENV=production webpack --progress --color -p --config webpack.prod.config.js"
@bananaoomarang
bananaoomarang / webpack.config.js
Last active October 9, 2019 16:49
Redux Webpack Config
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: [
'webpack-dev-server/client?http://127.0.0.1:8080/',
'webpack/hot/only-dev-server',
'./client'
],
output: {
@bananaoomarang
bananaoomarang / gist:76cf0e72911b38b4f9e0
Created July 13, 2015 20:54
wt-cli config proposal
$ wt create --watch ./services

Spin up a webtask for every js file in ./services, loading a configuration based on the following:

package.json