Skip to content

Instantly share code, notes, and snippets.

Avatar

Brian Stoots bstoots

  • Pittsburgh, PA
View GitHub Profile
@aescarcha
aescarcha / nodeAsyncTest.js
Created Sep 25, 2018
Javascript async / await resolving promises at the same time test
View nodeAsyncTest.js
// Simple gist to test parallel promise resolution when using async / await
function promiseWait(time) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve(true);
}, time);
});
}
View msysgit2unix-socket.py
#!/usr/bin/python
"""
msysGit to Unix socket proxy
============================
This small script is intended to help use msysGit sockets with the new Windows Linux Subsystem (aka Bash for Windows).
It was specifically designed to pass SSH keys from the KeeAgent module of KeePass secret management application to the
ssh utility running in the WSL (it only works with Linux sockets). However, my guess is that it will have uses for other
You can’t perform that action at this time.