Skip to content

Instantly share code, notes, and snippets.

Jeremy Shimko jshimko

Block or report user

Report or block jshimko

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 keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@jshimko
jshimko / 01-container.js
Last active Oct 3, 2017
Container/Component Patterns
View 01-container.js
/**
* Container
*/
import { compose, withProps } from 'recompose';
import { graphql } from 'react-apollo';
import gql from 'graphql-tag';
import { withPermissions, withIsAdmin, composeWithTracker } from '/client/api';
import UserDashboard from '../components/dashboard';
import usersListQuery from '../graphql/usersList.graphql';
@jshimko
jshimko / deploy.sh
Created Jan 16, 2017
Rancher 1.3 deployment
View deploy.sh
# start a server on AWS
# (see docs for options)
# https://docs.docker.com/machine/drivers/aws/
docker-machine create --driver amazonec2 \
--amazonec2-access-key <YOUR ACCESS KEY> \
--amazonec2-secret-key <YOUR SECRET KEY> \
--amazonec2-instance-type t2.medium \
rancher-test
# Nginx
@jshimko
jshimko / docker-ssl-deployment.sh
Last active Sep 30, 2019
Deploy Reaction Commerce on Digital Ocean with Nginx and a Let's Encrypt SSL certificate
View docker-ssl-deployment.sh
# start a server on Digital Ocean
# https://docs.docker.com/machine/drivers/digital-ocean/
docker-machine create \
--driver digitalocean \
--digitalocean-access-token <YOUR API KEY> \
--digitalocean-size 2gb \
reaction
# tell Docker to run commands on that server
@jshimko
jshimko / reaction-commerce-cla.md
Created Dec 4, 2015
Reaction Commerce - Contributor License Agreement (CLA)
View reaction-commerce-cla.md

Contributing to Ongo Works

Thank you for contributing code to Ongo Works and Reaction Commerce!

Like many open source projects, we need a Contributor License Agreement (CLA) from you before we can merge in your changes. You only need to fill out this agreement once. So bear with us, here comes the legalese.

In brief, by submitting your code to any Ongo Works and Reaction Commerce project, you are granting us a right to use that code under the terms of this Agreement, including providing it to others. You are also certifying that you wrote it, and that you are allowed to license it to us. You are not giving up your copyright in your work.

Contributor License Agreements are important because they define the chain of ownership of a piece of software. Some companies won't allow the use of free software without clear agreements around code ownership. That's why many open source projects collect similar agreements from contributors.

View repset_mongo.sh
#!/bin/bash
#
# Starts up a MongoDB replica set
#
# There is a lot of documentation about replica sets:
#
# http://docs.mongodb.org/manual/reference/replica-configuration/
# http://docs.mongodb.org/manual/administration/replica-sets/
#
# To read data from a SECONDARY, when in the client, use:
You can’t perform that action at this time.