Skip to content

Instantly share code, notes, and snippets.

View uwefassnacht's full-sized avatar

Uwe Fassnacht uwefassnacht

View GitHub Profile
@uwefassnacht
uwefassnacht / keybase.md
Created February 10, 2017 16:42
keybase.io verification

Keybase proof

I hereby claim:

  • I am uwefassnacht on github.
  • I am uwefassnacht (https://keybase.io/uwefassnacht) on keybase.
  • I have a public key ASD04dJOVdhg4_jeWvq-FboJx1TipaAjWu7I0uQ_-9qAywo

To claim this, I am signing this object:

@uwefassnacht
uwefassnacht / gist:b8d4b0d29f50cd138c7ae2fbf4f9c45c
Created February 5, 2017 13:16
Creating and using a promise in Javascript
//
// General template of how to create and use a promise in javascript
//
// Defining the function that we will use later
function doAsyncWork(myObject) {
// return the promise right away