Skip to content

Instantly share code, notes, and snippets.

version: '2'
services:
db:
image: percona:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
ports:
- "3306:3306"
environment:
{
"MRData": {
"xmlns": "http://ergast.com/mrd/1.4",
"series": "f1",
"url": "http://ergast.com/api/f1/2018/circuits.json",
"limit": "30",
"offset": "0",
"total": "21",
"CircuitTable": {
"season": "2018",
hasher:
image: 'jpetazzo/dockercoins_hasher:1456493297'
target_num_containers: 4
redis:
image: 'redis:latest'
rng:
image: 'jpetazzo/dockercoins_rng:1456493297'
target_num_containers: 4
webui:
image: 'jpetazzo/dockercoins_webui:1456493297'
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
@dcunited08
dcunited08 / my_atom_needs
Created May 12, 2014 11:36
My Atom.io needs to use
Major
---------
SFTP Support
Open unrelated files in same window
Multiple directories in a project
Minor
--------
Preview mode
@dcunited08
dcunited08 / atom_tree-view_custom_nodes
Last active August 29, 2015 14:00
Recommended API for tree-view to allow custom nodes.
myCallbackFunc: (node) =>
node.on "click", =>
#do something
node.on "delete", =>
#do something else
atom.project.tree-view().addNode
text: "node text" #text to be displayed
class: "my-special-node" #optional, adds extra class but a class is added for each package as well
var yui2Base = 'http://yui.yahooapis.com/2.8.0r4/';
YUIConfig = {
insertBefore: 'styleoverrides',
loadOptional: true,
combine: true,
modules: {
asdf