Skip to content

Instantly share code, notes, and snippets.

View Mostafa-Samir's full-sized avatar

Mostafa Samir Mostafa-Samir

View GitHub Profile
@Mostafa-Samir
Mostafa-Samir / README.md
Last active March 30, 2021 20:39
auto-batcher build badges

This is used to power the dynamic-badges workflow

function loadMeatOf(name, list) {
var deferred = Promise.defer();
http.get('http://localhost:8080/meta/' + name, function(response) {
var responseBody = ""; // will hold the response body as it comes
// join the data chuncks as they come
response.on('data', function(chunck) { responseBody += chunck });