Skip to content

Instantly share code, notes, and snippets.

View agentreno's full-sized avatar

Karl Hopkinson-Turrell agentreno

View GitHub Profile
"""
Converts https://www.languagereactor.com/saved-items words JSON export to
Mochi cards via their REST API: https://app.mochi.cards/
Corresponding Mochi template:
<< Image1 >> << Image2 >>
<< FormattedSentence >>
<speech lang="ja"> << Sentence >> </speech>
---

Keybase proof

I hereby claim:

  • I am agentreno on github.
  • I am kturrell87 (https://keybase.io/kturrell87) on keybase.
  • I have a public key ASBA7fBwGbg45Gsu46VCs1kzQV4fckSX-98HmgSL7hcj3go

To claim this, I am signing this object:

@agentreno
agentreno / revealing-module-pattern.html
Created January 19, 2017 15:25
Revealing module pattern with instance variables
var mymodule = (function() {
function init() {
this.first = undefined;
this.second = 'blah';
this.third = [];
}
var getFirst = function(){
console.log(this.first);
};