See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| const axios = require('axios'); | |
| const GITHUB_TOKEN = 'YOUR_GITHUB_TOKEN'; | |
| const SOURCE_ORG = 'SOURCE_ORG'; | |
| const TARGET_ORG = 'TARGET_ORG'; | |
| const api = axios.create({ | |
| baseURL: 'https://api.github.com', | |
| headers: { | |
| 'Authorization': `token ${GITHUB_TOKEN}`, | |
| 'Accept': 'application/vnd.github+json', |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
Mobile = /^9989[012345789][0-9]{7}$/
All = /^998(9[012345789]|6[125679]|7[01234569])[0-9]{7}$/
| // Create our server | |
| var server; | |
| server = http.createServer(function(req,res){ | |
| // Set CORS headers | |
| res.setHeader('Access-Control-Allow-Origin', '*'); | |
| res.setHeader('Access-Control-Request-Method', '*'); | |
| res.setHeader('Access-Control-Allow-Methods', 'OPTIONS, GET'); | |
| res.setHeader('Access-Control-Allow-Headers', '*'); | |
| if ( req.method === 'OPTIONS' ) { | |
| res.writeHead(200); |