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
import 'dart:io'; | |
import 'dart:convert'; | |
import 'dart:math'; | |
import 'dart:typed_data'; | |
import 'package:http/http.dart' as http; | |
// Upload | |
// 1MB |
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
import time | |
import requests | |
from subprocess import call | |
METADATA_URL = 'http://metadata.google.internal/computeMetadata/v1/' | |
METADATA_HEADERS = {'Metadata-Flavor': 'Google'} |
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
### Keybase proof | |
I hereby claim: | |
* I am untoldone on github. | |
* I am mmw (https://keybase.io/mmw) on keybase. | |
* I have a public key whose fingerprint is 7EEE 868D 86E5 687B E225 2C96 7EAA AD55 5CD4 711F | |
To claim this, I am signing this object: |
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
var pg = require('./lib/sources/pg'), | |
http = require('http'), | |
fs = require('fs'), | |
Q = require('q'), | |
path = './dump.json', | |
fileStream = fs.createWriteStream(path, {flags: 'w'}), | |
p; | |
fileStream.write("[\n"); |