I hereby claim:
- I am jwcounts on github.
- I am jwcounts (https://keybase.io/jwcounts) on keybase.
- I have a public key ASBUJIToBaBqoI3T9FOammTIX9zEGwp2r6POgZ3Q9MJXFgo
To claim this, I am signing this object:
| const inIframe = () => { | |
| try { | |
| return window.self !== window.top; | |
| } catch (e) { | |
| return true; | |
| } | |
| } | |
| window.addEventListener('DOMContentLoaded', (event) => { | |
| if ( inIframe() ) { | |
| console.log( 'loading in iframe' ); | 
| <?php | |
| // You can either include or require the file. That will bring the class into your script | |
| require "s3.php"; | |
| // Replace the variables below with your AWS credentials | |
| $aws_key = 'YOUR AWS KEY'; | |
| $aws_secret = 'YOUR AWS SECRET'; | |
| $bucket_name = 'S3 BUCKET NAME'; | |
| $region = 'S3 BUCKET REGION'; | |
| $custom_endpoint = 'CUSTOM ENDPOINT'; // Can leave blank | 
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| // You can set a custom user agent if you like, this one is for Firefox 60 | |
| $user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Firefox/60.0'; | |
| // Username and password | |
| $username = ""; | |
| $password = ""; | |
| // Set the start and end time, and add 3 zeroes, since Twitter measures in microseconds | |
| $start = mktime( 0, 0, 0, 6, 19, 2018 ).'000'; |