I hereby claim:
- I am theryanmiller on github.
- I am ryanmiller (https://keybase.io/ryanmiller) on keybase.
- I have a public key whose fingerprint is 3B99 DEA5 1EE0 EDAC DF4B 7158 5FA6 9337 22DF 2D95
To claim this, I am signing this object:
// method to get name, contact id, and birthday | |
private Cursor getContactsBirthdays() { | |
Uri uri = ContactsContract.Data.CONTENT_URI; | |
String[] projection = new String[] { | |
ContactsContract.Contacts.DISPLAY_NAME, | |
ContactsContract.CommonDataKinds.Event.CONTACT_ID, | |
ContactsContract.CommonDataKinds.Event.START_DATE | |
}; |
private static final int MY_PERMISSIONS_REQUEST_SEND_SMS = 1; //Custom value identifier for permission req | |
private static final int MY_PERMISSIONS_REQUEST_READ_CONTACTS = 2; | |
if (ContextCompat.checkSelfPermission(MainActivity.this,Manifest.permission.SEND_SMS) != PackageManager.PERMISSION_GRANTED){ | |
//Permission is not granted | |
} | |
else{ | |
success = sendSms(msg, smsRecipient); | |
if(success==false) { | |
Toast.makeText(MainActivity.this,"Need to enter a valid ph# & text before you can send",Toast.LENGTH_SHORT).show(); |
I hereby claim:
To claim this, I am signing this object:
pipeline { | |
agent any | |
stages { | |
stage('testing pipeline'){ | |
steps{ | |
echo 'test1' | |
sh 'pwd' | |
} | |
} |
# OpenSSL root CA configuration file. | |
# Copy to `/root/ca/openssl.cnf`. | |
[ ca ] | |
# `man ca` | |
default_ca = CA_default | |
[ CA_default ] | |
# Directory and file locations. | |
dir = ~/ca |
[ v3_req ] | |
# Extensions to add to a certificate request | |
authorityKeyIdentifier=keyid,issuer | |
basicConstraints=CA:FALSE | |
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment | |
subjectAltName = @alt_names | |
[alt_names] | |
DNS.1 = localhost |
// SPDX-License-Identifier: AGPL-3.0 | |
pragma solidity >=0.6.0 <0.7.0; | |
pragma experimental ABIEncoderV2; | |
interface IUniswapV2Router01 { | |
function factory() external pure returns (address); | |
function WETH() external pure returns (address); | |
function addLiquidity( |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.6.0; | |
/** | |
* @dev Wrappers over Solidity's arithmetic operations with added overflow | |
* checks. | |
* | |
* Arithmetic operations in Solidity wrap on overflow. This can easily result | |
* in bugs, because programmers usually assume that an overflow raises an |