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 ( | |
"context" | |
"fmt" | |
"go.temporal.io/sdk/testsuite" | |
"go.temporal.io/sdk/workflow" | |
"testing" | |
) |
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.6.0; | |
import { IERC20 } from "github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0/contracts/token/ERC20/IERC20.sol"; | |
library CTHelpers { | |
/// @dev Constructs a condition ID from an oracle, a question ID, and the outcome slot count for the question. | |
/// @param oracle The account assigned to report the result for the prepared condition. | |
/// @param questionId An identifier for the question to be answered by the oracle. | |
/// @param outcomeSlotCount The number of outcome slots which should be used for this condition. Must not exceed 256. | |
function getConditionId(address oracle, bytes32 questionId, uint outcomeSlotCount) internal pure returns (bytes32) { |
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
cut -d: -f1 /etc/passwd # list users on system | |
sudo lsb_release -a # Get linux release |
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 <iostream> | |
using namespace std; | |
int main() | |
{ | |
char pattern; | |
int firstRow, lastRow, counter; | |
cout << "Enter the character you want to use for the pattern: "; |