I hereby claim:
- I am mitchellhuang on github.
- I am huang (https://keybase.io/huang) on keybase.
- I have a public key ASCgSFMGl8cVQntscdsdg4N5246prkoC-Vps2sF1Su1V9go
To claim this, I am signing this object:
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "ec2:DescribeAvailabilityZones", | |
| "ec2:DescribeInstances", | |
| "ec2:DescribeSnapshots", | |
| "ec2:DescribeVolumes", |
| version: '2' | |
| services: | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4 | |
| environment: | |
| discovery.type: single-node | |
| ports: | |
| - 9200:9200 | |
| - 9300:9300 | |
| kibana: |
| aws elbv2 create-target-group --name <target_group_name> --protocol HTTP --port 80 --vpc-id <vpc_id> | |
| aws autoscaling attach-load-balancer-target-groups --auto-scaling-group-name <id_of_the_autoscaling_group> --target-group-arns "<new_target_group_arns>" |
I hereby claim:
To claim this, I am signing this object:
| import React, { Component, Fragment } from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import { compose } from 'react-apollo'; | |
| import cookies from 'next-cookies'; | |
| import jsCookie from 'js-cookie'; | |
| import Script from 'react-load-script'; | |
| import { StripeProvider, Elements } from 'react-stripe-elements'; | |
| import Main from '../layouts/Main'; | |
| import withData from '../lib/withData'; | |
| import { viewerGraphql } from '../apollo/queries/viewer'; |
| def partitions(n, m): | |
| """Return a linked list of partitions | |
| of n using parts of up to m. | |
| Each partition is a linked list. | |
| """ | |
| if n == 0: | |
| return link(empty, empty) | |
| elif n < 0: | |
| return empty | |
| elif m == 0: |
| log on |
| // Unexplained crashes? Try changing mat_queue_mode to `-1'. | |
| // ---------------------------------------------------------------------------- | |
| // Chris' highframes config, designed to get you a large performance boost | |
| // v2.016 | 25 January 2013 | fakkelbrigade.eu/chris/configs/ | |
| // ---------------------------------------------------------------------------- | |
| // Problems or questions? Contact me at #christf2 on QuakeNet. | |
| // ---------------------------------------------------------------------------- | |
| // Launch options: | |
| // IMPORTANT: Remove -dxlevel 81 from the launch options after the first launch! | |
| // |
| FlashLock | |
| Switchy or MultiStory | |
| OpenSSH | |
| iFile | |
| BlurriedNCBackground | |
| BiteSMS | |
| Nitrous | |
| AdBlocker | |
| Zephyr | |
| Poof |
| sudo vmbuilder kvm ubuntu --suite oneiric --flavour virtual --arch amd64 \ | |
| -v --hostname=siriproxy.local \ | |
| --dest=/vm/vm1 \ | |
| --user 'mitchell' --name 'Mitchell Huang' --pass '12345' \ | |
| --bridge 'br0' --libvirt 'qemu:///system' \ | |
| --mem=1024 --cpus=1 \ | |
| --rootsize=10240 --swapsize=1024 \ | |
| --addpkg openssh-server \ | |
| --addpkg vim \ | |
| --addpkg acpid |