Skip to content

Instantly share code, notes, and snippets.

@ryanhex53
ryanhex53 / index.js
Created July 11, 2019 13:12
Justfly auto checkin script
'use strict';
const puppeteer = require('puppeteer');
(async() => {
let options = {
args: ['--no-sandbox']
// headless: false
}
if ('production' != process.NODE_ENV && 'win32' == process.platform)
@ryanhex53
ryanhex53 / SingleCallByTts.js
Last active May 13, 2018 20:19
阿里云通信-文本转语音外呼接口 nodejs api封装
/**
* 阿里云通信-文本转语音外呼接口 nodejs api封装
* 2018年5月14日 ryan<ouyang.em{at}gmail.com>
* 参考 https://help.aliyun.com/document_detail/56190.html
*/
var crypto = require('crypto');
var request = require('request');
// 系统参数
var config = {
accessKeyId: '',