Skip to content

Instantly share code, notes, and snippets.

View rshan1515's full-sized avatar

Shan181818 rshan1515

View GitHub Profile
<button type="button", id="click">Click for a Name</button>
<div id="response"></div>
<script src="nameme.js"></script>
<script>
var button = document.getElementById('click');
var div = document.getElementById('response');
button.addEventListener('click', function () {
nameMe().then(function (r) {
div.innerText = r;
});
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
{
#region Adornment Factory
/// <summary>
/// Establishes an <see cref="IAdornmentLayer"/> to place the adornment on and exports the <see cref="IWpfTextViewCreationListener"/>
/// that instantiates the adornment on the event of a <see cref="IWpfTextView"/>'s creation
/// </summary>