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
/** | |
* External dependencies | |
*/ | |
import { auth } from 'react-native-twitter'; | |
import * as firebase from 'firebase'; | |
import Expo, { AuthSession } from 'expo'; | |
/** | |
* Internal dependencies | |
*/ |
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
// Credit Card Validation Javascript | |
// copyright 12th May 2003, by Stephen Chapman, Felgall Pty Ltd | |
// You have permission to copy and use this javascript provided that | |
// the content of the script is not changed in any way. | |
function validateCreditCard(s) { | |
// remove non-numerics | |
var v = "0123456789"; | |
var w = ""; |
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
package main | |
import ( | |
"crypto" | |
"crypto/ed25519" | |
"encoding/base32" | |
"encoding/base64" | |
"encoding/hex" | |
"flag" | |
"fmt" |
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
pragma solidity ^0.8.15; | |
// SPDX-License-Identifier: MIT | |
contract PaymentSplitter { | |
address payable [] public recipients; | |
event TransferReceived(address _from, uint _amount); | |
constructor(address payable [] memory _addrs) { | |
for(uint i=0; i<_addrs.length; i++){ | |
recipients.push(_addrs[i]); |