Skip to content

Instantly share code, notes, and snippets.


YuanSheng Wang membphis

  • Zhuhai, China
View GitHub Profile
View gist:89d4fcfd1a2e39585d6919ecb36b7726
$ p ssh root@
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] Strict chain ... ... ... OK
The authenticity of host ' (' can't be established.
ECDSA key fingerprint is SHA256:7Iq6szdIdXAEkWv1iY27AgXu0xPy6VYGu4/gwCDKX9I.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '' (ECDSA) to the list of known hosts.
root@'s password:
$ cat
ETCDCTL_API=2 etcdctl rm -r /apisix
make init
make run
curl -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
"cert": "-----BEGIN CERTIFICATE-----\nMIIEojCCAwqgAwIBAgIJAK253pMhgCkxMA0GCSqGSIb3DQEBCwUAMFYxCzAJBgNV\nBAYTAkNOMRIwEAYDVQQIDAlHdWFuZ0RvbmcxDzANBgNVBAcMBlpodUhhaTEPMA0G\nA1UECgwGaXJlc3R5MREwDwYDVQQDDAh0ZXN0LmNvbTAgFw0xOTA2MjQyMjE4MDVa\nGA8yMTE5MDUzMTIyMTgwNVowVjELMAkGA1UEBhMCQ04xEjAQBgNVBAgMCUd1YW5n\nRG9uZzEPMA0GA1UEBwwGWmh1SGFpMQ8wDQYDVQQKDAZpcmVzdHkxETAPBgNVBAMM\nCHRlc3QuY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyCM0rqJe\ncvgnCfOw4fATotPwk5Ba0gC2YvIrO+gSbQkyxXF5jhZB3W6BkWUWR4oNFLLSqcVb\nVDPitz/Mt46Mo8amuS6zTbQetGnBARzPLtmVhJfoeLj0efMiOepOSZflj9Ob4yKR\n2bGdEFOdHPjm+4ggXU9jMKeLqdVvxll/JiVFBW5smPtW1Oc/BV5terhscJdOgmRr\nabf9xiIis9/qVYfyGn52u9452V0owUuwP7nZ01jt6iMWEGeQU6mwPENgvj1olji2\nWjdG2UwpUVp3jp3l7j1ekQ6mI0F7yI+LeHzfUwiyVt1TmtMWn1ztk6FfLRqwJWR/\nEvm95vnfS3Le4S2ky3XAgn2UnCMyej3wDN6qHR1onpRVeXhrBajbCRDRBMwaNw/1\n/3Uvza8QKK
View apache svn
resty@ubuntu  ...git/membphis/apache_svn 
$ svn --username=membphis co
A apisix/1.5
A apisix/apisix
A apisix/apisix/1.4
A apisix/apisix/1.3
A apisix/apisix/1.2
A apisix/apisix/1.1
A apisix/apisix/dashboard-1.0
A apisix/apisix/1.0
View Apache APISIX vs KONG
Apache apisix benchmark script:
Kong beanchmark script:
curl -i -X POST \
--url http://localhost:8001/services/ \
--data 'name=example-service' \
--data 'host='
curl -i -X POST \
View release apache new version
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
View gist:d540420334e99a857237a4d1e1b8124d
View gist:14f35bd9c7750c1f855a7fed44d78e0e
[root@ppp-202 apisix]# gdb /usr/local/openresty/nginx/sbin/nginx /tmp/apisix_cores/core.21067
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see: