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 11:50
Aurelia Image Uploader Gist with delegate
<template>
<require from="./image-uploader"></require>
Hello world!
<image-uploader></image-uploader>
</template>
@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
Created May 2, 2017 03:46
Aurelia Image Uploader Gist with setter
<template>
<require from="./image-uploader"></require>
Hello world!
<image-uploader></image-uploader>
</template>
@jmvtrinidad
jmvtrinidad / app.html
Last active May 2, 2017 03:45
Aurelia Image Uploader Gist with observable
<template>
<require from="./image-uploader"></require>
Hello world!
<image-uploader></image-uploader>
</template>
@jmvtrinidad
jmvtrinidad / app.html
Created May 2, 2017 03:15
Aurelia Image Uploader Gist
<template>
<require from="./image-uploader"></require>
Hello world!
<image-uploader></image-uploader>
</template>
@jmvtrinidad
jmvtrinidad / app.html
Last active April 26, 2017 12:15
Aurelia Gist
<template>
<require from="./pagination"></require>
<h1>Array Observation</h1>
<div>
<button click.delegate="pushTableMessage()">Push</button>
<h2>Table</h2>
<ul repeat.for="item of table.itemsOnCurrentPage">
<li>
${item}
@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 / jQuery.PrettyTextDiff.js
Created December 2, 2016 07:00
jQuery.PrettyTextDiff.js
// Generated by CoffeeScript 1.9.2
/*
@preserve jQuery.PrettyTextDiff 1.0.4
See https://github.com/arnab/jQuery.PrettyTextDiff/
*/
(function(){
var $;