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
const http = require('http'); | |
const https = require('https'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const url = require('url'); | |
const exec = require('child_process').execSync; | |
const jq = require('jquery'); | |
const jsdom = require('jsdom'); | |
const SAVE_DIR = path.dirname(__filename)+'/scrape'; |
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
// npm install githubhook | |
const githubhook = require('githubhook'); | |
const exec = require('child_process').exec; | |
let config = { | |
ip: '0.0.0.0', | |
port: 1234, | |
url: '/push', | |
secret: 'whatever', | |
branch: 'master', |
NewerOlder