Skip to content

Instantly share code, notes, and snippets.

View chapati23's full-sized avatar

chapati chapati23

View GitHub Profile
Verifying that "chapati.id" is my Blockstack ID. https://onename.com/chapati
@chapati23
chapati23 / create-kubernetes-cluster-on-aws.sh
Last active October 23, 2021 12:34
Setup script to create a fresh kubernetes cluster on AWS with kops incl. all required AWS resources (S3 buckets, IAM etc.)
#!/bin/bash
# Prerequisites (macOS):
# - aws cli => to create AWS resources
# => pip install --upgrade --user awscli
# => aws configure
# - jq => to parse JSON results returned by the AWS CLI
# => brew install jq
@chapati23
chapati23 / react-router-v4-page-transitions.jsx
Created November 8, 2016 22:41
React Router v4 Page Transitions
import React from 'react'
import { TransitionMotion, spring } from 'react-motion'
import Router from 'react-router/BrowserRouter'
import Match from 'react-router/Match'
import Link from 'react-router/Link'
import Redirect from 'react-router/Redirect'
const styles = {}
styles.fill = {