All of the following information is based on go version go1.17.1 darwin/amd64
.
GOOS | Out of the Box |
---|---|
aix |
✅ |
android |
✅ |
default_platform(:android) | |
platform :android do | |
desc "Submit a new QA Build to Crashlytics Beta" | |
lane :qa do | |
crashlytics( | |
api_token: 'CRASHLYTICS_API_TOKEN', | |
build_secret: 'CRASHLYTICS_BUILD_SECRET', | |
notes_path: 'qa-change.log', |
// ==UserScript== | |
// @name jd_autobuy | |
// @namespace http://fwindpeak.github.com | |
// @version 0.0.1 | |
// @description autobuy jd item | |
// @author fwindpeak | |
// @match *://item.jd.com/*.html* | |
// @match *://marathon.jd.com/seckill/seckill.action* | |
// @match *://marathon.jd.com/koFail.html* | |
// @match *://cart.jd.com/addToCart.html* |
/* | |
* decaffeinate suggestions: | |
* DS102: Remove unnecessary code created because of implicit returns | |
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md | |
*/ | |
const OldHttpRequest = Turbolinks.HttpRequest; | |
Turbolinks.CachedHttpRequest = class CachedHttpRequest extends Turbolinks.HttpRequest { | |
constructor(_, location, referrer) { | |
super(); |
package main | |
import ( | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
"io" | |
"math/big" | |
) |
minikube start --kubernetes-version=v1.7.0 --extra-config=apiserver.Authorization.Mode=RBAC | |
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default | |
minikube dashboard |
orderSummary.js |
brew services stop postgresql | |
initdb /usr/local/var/postgres9.6 -E utf8 | |
pg_upgrade -d /usr/local/var/postgres -D /usr/local/var/postgres9.6 -b /usr/local/Cellar/postgresql/9.5.5/bin -B /usr/local/Cellar/postgresql/9.6.1/bin -v | |
mv /usr/local/var/postgres /usr/local/var/postgres9.5 | |
mv /usr/local/var/postgres9.6 /usr/local/var/postgres | |
brew services start postgresql |
curl
to get the JSON response for the latest releasegrep
to find the line containing file URLcut
and tr
to extract the URLwget
to download itcurl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
package main | |
import ( | |
"net/http" | |
"testing" | |
"net/http/httptest" | |
) | |
func TestHealthCheckHandler(t *testing.T) { | |
// Create a request to pass to our handler. We don't have any query parameters for now, so we'll |