This file contains hidden or 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
## Configuration options with # in front are not active and they were | |
## valid at install time. Updating the package does not update this file | |
## automatically. | |
## Latest options listed at: | |
## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template | |
## Url on which GitLab will be reachable. | |
## For more details on configuring external_url see: | |
## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/configuration.md#configuring-the-external-url-for-gitlab |
This file contains hidden or 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
// eslint-disable-next-line | |
const config = require('/etc/dove.json').providers.lmobile; | |
const request = require('request-promise'); | |
const { parseString } = require('xml2js'); | |
const { promisify } = require('util'); | |
const parseXMLPromise = promisify(parseString); | |
// 发送数据 | |
async function sender(data) { |
This file contains hidden or 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
def pprint(data): | |
import json | |
import sys | |
print(json.dumps(data, sort_keys=True, indent=4, ensure_ascii=False).encode('utf8')) | |
sys.exit() |