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
#!/usr/bin/env python3 | |
import fileinput | |
import glob | |
import os | |
import re | |
import sys | |
pattern = re.compile(r'from [\'\"](\.(\.)?(\/)?.*)[\'\"];') | |
def regex_match_rewrite(match, file_path, debug=False): |
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
'use strict'; | |
const aws = require('aws-sdk'); | |
const COOKIE_KEY = 'ABTesting-SegmentID'; | |
const s3 = new aws.S3({ region: 'eu-west-1' }); | |
const s3Params = { | |
Bucket: 'abtesting-ttblog-map', | |
Key: 'map.json', |