This gist contains the source code in my video series about Realtime Database triggers. You can watch the three parts here:
index.ts contains the Cloud Functions code, and dialog.ts contains the script to run
| <div ng-app="wizardApp"> | |
| <div ng-controller="WizardSignupController"> | |
| <h2>Signup wizard</h2> | |
| <div ui-view></div> | |
| </div> | |
| </div> | |
| <script type="text/javascript" src="/js/vendor/angular-ui-router/release/angular-ui-router.min.js"></script> | |
| <script type="text/javascript"> | |
| angular.module('wizardApp', [ | |
| 'ui.router', |
| import UIKit | |
| import Alamofire | |
| class OrderListTableViewController: UITableViewController { | |
| var orderNameList = ["jack", "ken", "howard"] | |
| var orderLandlordNameList = ["ord1", "ord2", "ord3"] | |
| var orderDurationList = ["1~2", "3~4", "5~6"] | |
| var orderStatusList = ["new", "old", "change"] | |
| var result = " " |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| #import "XXRootViewController.h" | |
| @implementation XXRootViewController { | |
| NSMutableArray *_objects; | |
| } | |
| - (void)loadView { | |
| [super loadView]; | |
| _objects = [[NSMutableArray alloc] init]; |
| #import "XXRootViewController.h" | |
| @implementation XXRootViewController { | |
| NSMutableArray *_objects; | |
| } | |
| - (void)loadView { | |
| [super loadView]; | |
| _objects = [[NSMutableArray alloc] init]; |
| // | |
| // TableViewController.m | |
| // testProject | |
| // | |
| // Created by WZ on 03/10/2017. | |
| // Copyright © 2017 zeus. All rights reserved. | |
| // | |
| #import "DeviceInfoTableViewController.h" |
| import copy | |
| class Solution: | |
| def subsets(self, nums): | |
| """ | |
| :type nums: List[int] | |
| :rtype: List[List[int]] | |
| """ | |
| numsCount = dict() | |
| numsCount[nums[0]] = 1 |
This gist contains the source code in my video series about Realtime Database triggers. You can watch the three parts here:
index.ts contains the Cloud Functions code, and dialog.ts contains the script to run
| import UIKit | |
| enum KeyboardDirection { | |
| case none | |
| case up | |
| case down | |
| } | |
| struct KeyboardFrameDelta { |