Recently, Microsoft released the bot Framework, looked up some information, and then tried to write a piece of code. To make it easier to develop, someone has already done a bot framework development template, please download here. After the download is complete, copy the bot application.zip to "%userprofile%\documents\visual Studio 2015\templates\projecttemplates\visual C #", asThen open VS2015, here in the C # project can find the bot application template, click Create.Then locate the Messages
Peanut shell, registered account, and buy a basic package, monthly 1G traffic, 1M bandwidth, to meet the most basic external network debugging needs.
Ngrok, foreign production of a similar proxy server things, but my big celestial wall is too high, domestic and foreign traffic want to quickly circulate unless there is a special pipeline.
Natapp,ngrok of the celestial version, free relative to the abov
Today use tunnel to do the interface configuration information access operation
Various log record information is returned correctly but has been prompted for configuration failure,
I can't go straight back to echostr.
Is the server blocking the authentication of the tunnel domain name?
How do you work with the commissioning of the development?
Reply content:
Today use tunnel to do the interface configuration information access operationVarious log record information is returned correctly
of encryption:
public class Decript {public
static string SHA1 (String decript) {
try {
MessageDigest digest = messagedigest
The XML for the servlet map is as follows:
I'm using IntelliJ idea+tomcat7.0 development, start the project directly, and then use Ngrok to map the local 8080 ports to the extranet. Enter the micro-credit test public number management interface, and fill in the interface configuration informat
create a new servlet, overriding the Doget method to receive the sent GET request, some of the code is as follows:
public void doget (HttpServletRequest request, httpservletresponse response) throws Servletexception, IOException { Response.setcontenttype ("text/html"); String signature = request.getparameter ("signature"); String timestamp = request.getparameter ("timestamp"); String nonce = Request.getparameter ("nonce"); String echostr = Request.getparameter ("Echostr"); PrintWriter out = Res
. Net Core uses Socket to communicate with Raspberry Pi for details, coresocket
Preface
Last year, I bought Raspberry Pi, which had been put in a drawer for gray purposes. A few days ago, Debian 9 was released, and I was not surprised to support Raspberry Pi.
So I took out the card reader and installed the Debian desktop system again.
Introduction
At present, this is only about the communication between Python and. Net. The best version is to remotely execute Raspberry Pi commands on the server
Objective
Last year's Raspberry Pi has been in the drawer to eat ash, the previous array of Debian 9 released, there is no accidental support for the Raspberry Pi.
Then re-took out the card reader and re-installed on the Debian Desktop version of the system.
Introduced
Now this thing is just a little bit more about Python and. NET communication. The best version should be that the Raspberry Pi command can be executed remotely from the server side.
The reasons for doing so we all know, many broa
anmpp.zips used will be prompted during installation, and the CPU architecture will be placed in the anmpp.zip to this path)
If the supervisor is used for installation, decompress anmpp.zip and use anmpp. sh to install it.
ANMPP intranet penetration rules:
The ngrok solution is used for intranet penetration, and the client uses ngrokc
To start intranet penetration, you must set the intranet penetration option correctly.
Example:-SER [Shost: serv
also did not do in-depth comparison of this interface.
Introduction to REST APIs
It's tedious to tune these APIs yourself, and we just want to complete the business requirements as quickly as possible rather than get into the API.
So how to get started, it is recommended to install the official PAYPAL-PHP-SDK directly through its wiki as a starting point.
Before you complete the first example, make sure you have the sandbox account and configure it correctly:
Client ID
Client Secret
Webhook
this interface.
Introduction to REST APIs
The official API Reference document, https://developer.paypal.com/webapps/developer/docs/api/, has a more detailed description of its API and usage, but it is cumbersome to directly tune these APIs. At the same time, we just want to complete the business requirements as soon as possible rather than get into the API.
So how to get started, it is recommended to install the official PAYPAL-PHP-SDK directly through its wiki as a starting point.
Before you c
You need a test app (AppID after the creation is complete)
Attach your own created application details, my appid is 101303571
Because your local project TX is inaccessible, the development testing phase needs to map your project to the public web, where a free penetration tool is recommended. URL http://natapp.cn/
Download the corresponding client decompression, go into the folder in the directory to open command prompt cmd
prompt after entering the Natapp.exe directory to runNatapp-authtoken=9ab6b9040a624f40Run successfully, you can get the following interface:Visit http://vqix94.natappfree.cc/ngrok/Ok! Web program published to extranet server succeededResources:NATAPP1 Minute Quick Beginner Graphics tutorial: Https://natapp.cn/article/natapp_newbieUsing Local configuration Files Config.ini:https://natapp.cn/article/config_iniSoftware Download:Natapp software download:
Get client IPIn some cases, the need or access to the user's client's IP, used to statistics or interception, such as some sites need to be shielded from overseas IP access, which requires access to the client IP. The Getremoteaddr () method of the HttpServletRequest object is generally available. However, it is not correct to obtain IP after requesting an HTTP proxy or reverse proxy (such as Ngrok, Nginx, etc.), which is somewhat similar to a springb
When I was developing the telegram bot, I wrote the code locally and uploaded it to the server for testing. Because Telegram's Setwebhook URL is on the line. This is the same as the Access server configuration for the development of micro-credit public numbers.
Of course, this is not much of a development efficiency.
There are some tools for port mapping on the web, such as Ngrok, but SSH itself takes such a tool.
Assuming I telegram Webhook addres
like thishttp://192.168.1.100:8899/install
Fill in some basic informationSince I am using MySQL database, reopen a session to connect to the Raspberry Pi, then create a new database called Gitea
➜~ Mysql-uroot-penter password:w elcome to the MySQL Monitor. Commands End With; or \g.your MySQL connection ID is 2Server version:5.5.56-log Source distributioncopyright (c), Oracle and/or I TS affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corpo
such data has an exception to this situation.
This is not uncommon, the most troublesome point is that each time the same parameters to the occurrence of the Bug to request, sometimes you know the parameters of these requests, you can put them in the Postman tool, but most of the time you do not know its corresponding parameters (token)
If we can track all requests on the server: interface address, header,body, back end of the Header, Body, so that we can find the corresponding request paramete
IBrand tutorial 0.1: Build a Laravel development environment in Windows + Homestead 5, ibrandlaravelUnified Development Environment
To avoid various problems caused by inconsistent development environments during learning and work, Laravel officially provides us with a perfect development environment Laravel Homestead, this eliminates the need to install PHP, web servers, or any service software locally.
Homestead can run on any Windows, Mac, or Linux system, including Nginx Web server, PHP 7.1,
command to generate a new static page:
Git github.com/user/site {Path: /Then Hugo–destination=/home/user/hugosite/public}
Note: git directive is not middleware, but a separate goroutine implementation.
Iv. Summary
Caddy's function is not limited to the above examples, which are just a few of the most common scenarios. Caddy is still very young, the application is not many, but the well-known Golang site gopheracademy.com (Gophercon organization) is caddy support. Caddy is also actively evolving
You've been looking for ways to make your home use Xshell to connect to your company's Linux virtual machines. are in the intranet environment, where the possible methods are documentedScenario One: nat123Description: Non-site mapping or full-port mapping can be implemented, non-site mapping can be installed in the virtual machine service on the line, but the speed is not ideal. Full port mapping (peer-to)You can achieve point-to-point access, but clients are installed on both ends.Scenario Two:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.