Skip to content

Instantly share code, notes, and snippets.

@artemjackson
artemjackson / exmple.js
Last active October 16, 2015 11:27
Promise exampel for dear Ksenia
import q from "Q";
getNameAsync().then(greet);
function getNameAsync(){
const deferred = q.defer();
deferred.resolve("Ksenia");
return deferred.promise;
}
@artemjackson
artemjackson / .gitignore
Last active August 29, 2015 14:24
Gitignore file for .NET application
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results