product_id_for_member | stock_amount | title | start_price |
---|---|---|---|
PR2-B | 4 | Enamel 28cm Pie Dish - B Grade | $6.00 |
PR3 | 18 | Enamel 24cm Pie Dish | $10.00 |
PR4 | 3 | Enamel 20cm Pie Dish | $8.00 |
PR5 | 1 | Enamel 16cm Pie Dish | $5.00 |
PR7 | 13 | Enamel 16cm Pudding Basin | $10.00 |
PR8 | 19 | Enamel 14cm Pudding Basin | $8.00 |
PR9 | 35 | Enamel 350ml Mug | $4.00 |
View star.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnChanges, Input, Output, EventEmitter } from '@angular/core'; | |
@Component({ | |
selector: 'ng-star-rating', | |
templateUrl: 'app/shared/star.component.html', | |
styleUrls: ['app/shared/star.component.css'] | |
}) | |
export class StarComponent implements OnChanges { |
View snippets.cson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'.text.html.basic, .text.html.handlebars': | |
'FE Horizontal Rule': | |
'prefix': 'hr' | |
'body': '<hr />' | |
'FE Button': | |
'prefix': 'button' | |
'body': '''<button> | |
$1 |
View hbs_if_helper.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Handlebars.registerHelper("if", function (expression, options) { | |
try { | |
if (expression.split(' ').length == 1 && (!/@(\w+)/.test(expression))) { | |
if (options.data.root[expression] && !!(options.data.root[expression])) { | |
return (options.data.root[expression]) ? options.fn(this) : options.inverse(this); | |
} else { | |
return options.inverse(this); | |
} | |
} else { | |
return Handlebars.helpers["x"].apply(this, [expression, options]) ? options.fn(this) : options.inverse(this); |
View current_trademe_stock.md
View index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { | |
getLoader, | |
loaderByName, | |
removeLoaders, | |
throwUnexpectedConfigError | |
} = require("@craco/craco"); | |
const CracoLessPlugin = require("craco-less"); | |
const path = require("path"); |
View app.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const targets = { | |
AppOne: { | |
name: "App One", | |
}, | |
AppTwo: { | |
name: "App Two", | |
}, | |
}; | |
export default ({ config }) => { |
View machine.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
View machine.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const repMachine = Machine( | |
{ | |
id: "formWorkflowApp", | |
initial: "loggedOut", | |
states: { | |
loggedOut: { | |
on: { | |
"LOGIN.TAP": "loggedIn.idle", | |
}, | |
}, |
View machine.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |