- For (target customers)
- Who must (solve a specific problem)
- Our product is a new (new product category)
- That provides (key breakthrough benefit vs. current way of doing things – which solves dilemma)
- Unlike (competitor in new category)
- We have (whole product most relevant for you)
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
// PowerSync TypeORM schema | |
export const TASK_TABLE = 'task'; | |
export interface TaskRecord { | |
id: string; | |
title: string; | |
description?: string; | |
completed: boolean; | |
due_date?: string; |
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
{ | |
"red": "#f44336", | |
"pink": "#e91e63", | |
"purple": "#9c27b0", | |
"deeppurple": "#673ab7", | |
"indigo": "#3f51b5", | |
"blue": "#2196f3", | |
"lightblue": "#03a9f4", | |
"cyan": "#00bcd4", | |
"teal": "#009688", |
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
<? | |
// Creates a mysqldump and emails the resulting dump file | |
// Edit the following values | |
$dbhost = "DBHOST"; // usually localhost | |
$dbuser = "DBUSER"; | |
$dbpass = "DBPASS"; | |
$dbname = "DBNAME"; | |
$sendTo = "paranoid.programmer@email.com"; | |
$sendToName = "SEND_TO_EMAIL"; |
Sadly, elements is not a separate library.
It's just a part of the still in development Stripe.js v3, so the only way to include it is to include the whole script in the page somewhere. There is no bower library, no amd/require/commonjs package of any sort.
This is the only way to include it:
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
{ name: "Alabama", id: "AL" }, | |
{ name: "Alaska", id: "AK" }, | |
{ name: "Arizona", id: "AZ" }, | |
{ name: "Arkansas", id: "AR" }, | |
{ name: "California", id: "CA" }, | |
{ name: "Colorado", id: "CO" }, | |
{ name: "Connecticut", id: "CT" }, | |
{ name: "Delaware", id: "DE" }, | |
{ name: "District of Columbia", id: "DC" }, | |
{ name: "Florida", id: "FL" }, |
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 Ember from 'ember'; | |
const { | |
Component, | |
computed, | |
get, | |
run, | |
set | |
} = Ember; |
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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
model: function() { | |
return { | |
choices: [ | |
'friend', | |
'foe' | |
] |
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
{ | |
"name": "code-corps-ember", | |
"dependencies": { | |
"pace": "^1.0.2", | |
"dom-ruler": "0.1.13", | |
"es5-shim": "^4.5.9", | |
"FakeXMLHttpRequest": "^1.4.0", | |
"route-recognizer": "^0.2.6", | |
"pretender": "^1.1.0", | |
"Faker": "^3.1.0", |
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 Ember from 'ember'; | |
/** | |
`error-formatter' returns a formatted error message. Place within an 'if' | |
block to return only when there really is an error. | |
## default usage | |
```Handlebars | |
{{#if error}} |
NewerOlder