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
include .env | |
PROJECTNAME=$(shell basename "$(PWD)") | |
# Go related variables. | |
GOBASE=$(shell pwd) | |
GOPATH="$(GOBASE)/vendor:$(GOBASE) | |
GOBIN=$(GOBASE)/bin | |
GOFILES=$(wildcard *.go) |
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
(async () => { | |
const itterations = Array.from({length: 4}); | |
console.log('starting'); | |
itterations.map(async (_, i) => { | |
await wait(300); | |
console.log(`itteration done ${i}`); | |
}); |
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
# iPad | |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15 | |
# iPhone | |
Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1 |
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
(() => { | |
const asyncForEach = (array, callback, done) => { | |
const runAndWait = i => { | |
if (i === array.length) return done(); | |
return callback(array[i], () => runAndWait(i + 1)); | |
}; | |
return runAndWait(0); | |
}; | |
const dump = {}; |
OlderNewer