An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
This guide contains instructions on manually setting up Openwhisk and CouchDB on a fresh Ubuntu 16.04 server.
The guide is based on the OpenWhisk Ansible README, which at the time of writing is missing some key steps and gotchas - hence this new guide.
sudo apt-get update
| package com.paddypower.financials.market.management.rest.logging; | |
| import java.io.BufferedReader; | |
| import java.io.ByteArrayInputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import javax.servlet.Filter; | |
| import javax.servlet.FilterChain; |
| // some updates for https://rsmitty.github.io/Kubernetes-Events/ | |
| // and http://blog.ctaggart.com/2016/09/accessing-kubernetes-api-on-google.html | |
| import ( | |
| "encoding/base64" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "time" |
| #!/bin/sh | |
| # Usage: | |
| # wget -O- https://gist.githubusercontent.com/ifduyue/dea03b4e139c5758ca114770027cf65c/raw/install-proxychains-ng.sh | sudo bash -s | |
| set -eu | |
| version=4.12 | |
| wget https://github.com/rofl0r/proxychains-ng/archive/v$version.tar.gz | |
| tar xf v$version.tar.gz |
from https://github.com/hyperhq/pi/releases
$ pi config set-credentials demo --region=gcp-us-central1 \
--access-key="5ZWV9xxxxxxxxxxVO6XG9BD" \
--secret-key="4Okb91DygoRxxxxxxxxxOYqLojFmK5BQlXv"
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j
Uses v0.1-alpha.21
boilerplate.go.txt
/*
Copyright 2017 The Kubernetes Authors.目标: 用kubeadmin安装kubernetes v1.9.4 集群(单节点) 安装环境: CentOS 7