Skip to content

Instantly share code, notes, and snippets.

View jmvtrinidad's full-sized avatar
🏠
Working from home

Jan Michael Vincent Trinidad jmvtrinidad

🏠
Working from home
View GitHub Profile
@jmvtrinidad
jmvtrinidad / readme.md
Created July 20, 2017 10:45 — forked from coolaj86/how-to-publish-to-npm.md
How to publish packages to NPM

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

@jmvtrinidad
jmvtrinidad / app.html
Last active May 8, 2017 08:54 — forked from jdanyow/app.html
Aurelia Gist
<template>
<button ref="btn" click.delegate="onClick(btn)">Click Me!</button>
</template>
@jmvtrinidad
jmvtrinidad / app.html
Last active April 26, 2017 09:08 — forked from AshleyGrant/app.html
Aurelia Gist
<template>
Hello world!
</template>
@jmvtrinidad
jmvtrinidad / app.html
Created April 10, 2017 09:31 — forked from jdanyow/app.html
removeAttribute binding behavior
<template>
<require from="./remove-attribute"></require>
<input type="checkbox" ref="myInput">
<input ref="test" foo.bind="myInput.checked & removeAttribute">
<pre><code>${test.outerHTML}</code></pre>
</template>
@jmvtrinidad
jmvtrinidad / app.html
Last active February 2, 2018 12:24 — forked from jdanyow/app.html
Aurelia Gist
<template>
<h1>${message}</h1>
<input type="text" ref="json"/>
<button click.delegate="generate(json.value)">Generate</button>
<button click.delegate="selectElementContents(table)">select</button>
<table ref="table">
<tbody repeat.for="row of rows">
<tr>
<td>${row.name}</td>
<td>${row.type}</td>