This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Postman Test Script | |
* URL: https://doing-api.herokuapp.com/api/0.1/events/?latitude=27.782887&longitude=-82.6329571 | |
* Description: Events in St. Petersbug, FL | |
* Method: GET | |
*/ | |
var jsonData = JSON.parse(responseBody); | |
// Test Request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 设置环境变量 | |
var access_key_id = pm.environment.get('access_key_id'); | |
var secret_access_key = pm.environment.get('secret_access_key'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var access_key_id = pm.environment.get('access_key_id'); | |
var secret_access_key = pm.environment.get('secret_access_key'); | |
pm.request.headers.add({ | |
key: 'Content-Type', | |
value: 'application/json' | |
}); | |
pm.request.headers.add({ | |
key: 'x-iot-timestamp', | |
value: Date.parse(new Date())/1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// proto/device/device.proto | |
syntax = "proto3"; | |
package device; | |
import "list.proto"; | |
import "pointer.proto"; | |
import "device_group.proto"; | |
import "thing/property.proto"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setw -g mode-keys vi | |
set -g history-limit 100000 | |
bind-key C-b last-window | |
bind -r h select-pane -L | |
bind -r l select-pane -R | |
bind -r j select-pane -D | |
bind -r k select-pane -U |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Encoding related | |
set encoding=utf-8 | |
set langmenu=zh_CN.UTF-8 | |
set fileencoding=utf-8 | |
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,iso-8859,euc-jp,euc-kr,latin1 | |
set nu | |
set go= | |
syntax on | |
set ruler | |
set showcmd |