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
class Example { | |
static let cardpointers: [Chat] = [ | |
ChatMessage("Hey, this is Emmanuel, the founder of CardPointers!"), | |
ChatMessage("So I noticed you've been using the app quite a bit!"), | |
ChatMessageConditional("Can I borrow literally 60 seconds of your time, just wanted to ask you a quick question...", options: [ | |
ChatOption("Sure", chats: [ | |
ChatMessageConditional("Have you been enjoying CardPointers?", options: [ | |
ChatOption("Yes!", chats: [ | |
ChatMessage("Wow! So glad to hear it! That makes me so happy. If I'm being honest, we've been getting some 1-star reviews lately."), |
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
facebook.com, 1068654210673714, RESELLER, c3e20eee3f780d68 |
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 moment = require('moment'); | |
module.exports = (json, granularity) => { | |
let startDate = moment(json["Header"]["StartPeriod"], 'YYYY-MM-DD'); | |
const endDate = json["Header"]["EndPeriod"]; | |
const columns = json["Columns"]["Column"].map(col => { | |
const title = col["ColTitle"]; | |
const type = col["ColType"]; |
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
// This declare how a door works in general | |
Object Door { | |
// isOpen is like state, it's a variable tied to the object, | |
// every time you make a new instance of the object, it has its | |
// own state | |
instance var isOpen: Bool |
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
// | |
// AnalyticsProService.swift | |
// Command | |
// | |
// Created by Zachary Shakked on 1/12/17. | |
// Copyright © 2017 Shakd, LLC. All rights reserved. | |
// | |
import UIKit | |
import SwiftyJSON |
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
2016-10-04T15:11:49.275310+00:00 app[scheduler.6707]: 1/2654 succeeded 588/2654 failed ... 2065 account(s) left ... @tykest ✓ | |
2016-10-04T15:11:49.275672+00:00 app[scheduler.6707]: 1/2654 succeeded 589/2654 failed ... 2064 account(s) left ... @khaled___ ✓ | |
2016-10-04T15:11:49.282893+00:00 app[scheduler.6707]: 2/2654 succeeded 589/2654 failed ... 2063 account(s) left ... @lilricedontplaynice ✓ 20 psts 2763 flwrs 1890 flwngs 6593 likes 68 comments 329 avg likes 3 avg comments | |
2016-10-04T15:11:49.291766+00:00 app[scheduler.6707]: 3/2654 succeeded 589/2654 failed ... 2062 account(s) left ... @feli_wan_kenobi ✓ 22 psts 187 flwrs 224 flwngs 407 likes 35 comments 18 avg likes 1 avg comments | |
2016-10-04T15:11:49.293733+00:00 app[scheduler.6707]: 4/2654 succeeded 589/2654 failed ... 2061 account(s) left ... @figmentandfiber ✓ 24 psts 538 flwrs 1145 flwngs 2715 likes 354 comments 113 avg likes 14 avg comments | |
2016-10-04T15:11:49.302051+00:00 app[scheduler.6707]: 5/2654 succeeded 589/2654 failed ... 2060 account(s) left .. |
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
#include "my.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <fcntl.h> | |
int main(int argc, char **argv) | |
{ | |
FILE *fp; | |
char str[60]; |
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
func verifyButtonPressed() { | |
let rawNumber = mobileNumberTextField.text ?? "" | |
do { | |
let phoneNumber = try PhoneNumber(rawNumber: rawNumber, region: "US") | |
let formattedPhoneNumber = phoneNumber.toInternational() | |
self.mobileNumberTextField.text = formattedPhoneNumber | |
let verification = SMSVerification(applicationKey: C.APIs.SinchKey(), phoneNumber: formattedPhoneNumber) | |
self.verification = verification | |
startActivityIndicator() | |
self.verification?.initiate { (succeeded, error) in |
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
// | |
// EngagementCrawler.swift | |
// Instagrowth | |
// | |
// Created by Zachary Shakked on 10/8/15. | |
// Copyright © 2015 Zachary Shakked. All rights reserved. | |
// | |
import UIKit |
NewerOlder