I hereby claim:
- I am cr0wst on github.
- I am cr0wst (https://keybase.io/cr0wst) on keybase.
- I have a public key ASAoUK7EBrBF05fCxCzsxRJjHxx_jpeMHD5disw3sTt_rwo
To claim this, I am signing this object:
package com.nexmo.client.sms; | |
import java.util.HashMap; | |
import java.util.Map; | |
public enum MessageStatus { | |
STATUS_OK(0), | |
STATUS_THROTTLED(1), | |
STATUS_MISSING_PARAMS(2), | |
STATUS_INVALID_PARAMS(3), |
<?php | |
namespace Smcrow\Sample; | |
class Sample | |
{ | |
protected $id; | |
protected $comments; | |
public static function builder() |
<?php | |
class Person { | |
protected $firstName; | |
protected $middleName; | |
protected $lastName; | |
protected $age; | |
protected $gender; | |
protected $height; |
package net.smcrow.sandbox.streams; | |
import java.util.List; | |
public class AllExceptCurrent { | |
private static final List<String> FRIENDS = List.of("Sarah", "John", "Megan", "Joseph"); | |
public static void main(String... args) { | |
System.out.println("Without Streams"); | |
withoutStreams(); |
package net.smcrow.sandbox.streams; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.stream.Collectors; | |
public class MultiplyAllByFive { | |
private static final List<Integer> NUMBERS = List.of(1, 2, 3, 4, 5); |
package net.smcrow.sandbox.streams; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.stream.Collectors; | |
public class CreateListsOfProperties { | |
private static final List<Person> PEOPLE = List.of(new Person("Sarah", 29), | |
new Person("John", 16), |
I hereby claim:
To claim this, I am signing this object:
// Send CODE to user | |
VerifyResponse response = client.getVerifyClient().verify(RECIPIENT_NUMBER, BRAND); | |
// Check CODE from user | |
CheckResponse checkResponse = client.getVerifyClient().check(REQUEST_ID, CODE); | |
if (checkResponse.getStatus() == VerifyStatus.OK) { | |
// Successful verification! | |
} |
****************************************************************** | |
* Author: Steve Crow (steve.crow@nexmo.com) | |
* Date: March 6 2019 | |
* Purpose: Send an SMS using COBOL to trigger the Nexmo CLI | |
* Tectonics: cobc | |
* First install the Nexmo CLI (curl example coming shortly) | |
****************************************************************** | |
IDENTIFICATION DIVISION. | |
PROGRAM-ID. SENDSMS. | |
DATA DIVISION. |
****************************************************************** | |
* Author: Steve Crow (steve.crow@nexmo.com) | |
* Date: March 6 2019 | |
* Purpose: Send an SMS using COBOL and curl via command line. | |
* Tectonics: cobc | |
****************************************************************** | |
IDENTIFICATION DIVISION. | |
PROGRAM-ID. SENDSMS. | |
DATA DIVISION. | |
WORKING-STORAGE SECTION. |