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 { fabric } from "fabric"; | |
import { ILineOptions } from "fabric/fabric-impl"; | |
/** | |
* Should objects be aligned by a bounding box? | |
* [Bug] Scaled objects sometimes can not be aligned by edges | |
* | |
*/ |
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
/** | |
* Converts a flat file structure like: | |
* about.html, features.html, blog.html | |
* into | |
* features/index.html, about/index.html, blog/index.html | |
* Usage: node cleaner.js or node cleaner.js watch | |
*/ | |
const fs = require("fs") |
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
"use strict"; | |
const AWS = require('aws-sdk'); | |
const serverless = require('serverless-http'); | |
const Koa = require('koa'); | |
const Router = require('koa-router'); | |
const crypto = require('crypto'); | |
const bodyParser = require('koa-bodyparser'); | |
const fs = require("fs"); | |
const app = new Koa(); |
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
User Flow Purchase a Product | |
Search for Product | |
Select Item -> View Product Description | |
View Product Description | |
Checkout Form -> Validate Card Details | |
Validate Card Details | |
Card valid -> Complete Checkout | |
Card invalid -> Invalid Details | |
Valid Details | |
Card valid -> Complete Checkout |
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
Abandoned Cart | |
Items in Cart | |
Leave Website -> Cart Abandoned | |
Cart Abandoned | |
Click Email Link -> Items in Cart | |
After 14 Days -> Cart Expired | |
Cart Expired | |
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
User Funnel | |
Visit Website | |
Click Download -> Download App | |
Register Email -> Email Download Link | |
Email Download Link | |
Click Link -> Download App | |
Download App | |
Click Pro Mode -> Expert Screen | |
Expert Screen | |
Cancel -> Download App |
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
Appointment Booking | |
Visit Appointment Page | |
patient requests appointment -> Admin Calls Patient | |
Admin Calls Patient | |
Schedule Time -> Appointment Scheduled | |
Cancel Request -> Appointment Cancelled | |
Appointment Scheduled | |
Appointment Cancelled | |
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
Register User | |
Visit Website | |
Create Account -> Send Confirm Email | |
Login with Oauth -> Welcome Screen | |
Send Confirm Email | |
Click Link -> Welcome Screen | |
Welcome Screen | |
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
declare class ReactTrelloBoard<CardMetaData> extends React.Component< | |
ReactTrello.BoardProps<CardMetaData> | |
> {} | |
declare module ReactTrello { | |
/** | |
* react-trello uses `React.cloneElement`, so these props | |
* will have to be added to `defaultProps`, otherwise | |
* TypeScript will (understandably) freak out. | |
*/ |
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
void Handle_MessageChanged(object sender, TextChangedEventArgs e) | |
{ | |
Editor editor = sender as Editor; | |
string val = editor.Text; //Get Current Text | |
if (val.Length > 140)//If it is more than your character restriction | |
{ | |
val = val.Remove(val.Length - 1);// Remove Last character | |
editor.Text = val; //Set the Old value | |
} |
NewerOlder