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
openapi: 3.0.0 | |
info: | |
title: Test API | |
version: 0.0.1 | |
servers: | |
- url: 'localhost:3000/api' | |
description: Local API URL. | |
paths: | |
/test: | |
post: |
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.4.21; | |
/** | |
* @title ERC20Basic | |
* @dev Simpler version of ERC20 interface | |
*/ | |
interface ERC20 { | |
function balanceOf(address who) external view returns (uint256); | |
function transfer(address to, uint256 value) external returns (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
swagger: "2.0" | |
info: | |
version: "1" | |
title: "Admin notification preferences" | |
consumes: | |
- "application/json" | |
produces: | |
- "application/json" | |
paths: | |
/notifications/:account-id: |
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
swagger: "2.0" | |
info: | |
version: "1" | |
title: "User KYC" | |
consumes: | |
- "application/json" | |
produces: | |
- "application/json" | |
paths: | |
/users: |
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 <stdio.h> | |
const int GRID_SIZE = 9; | |
void print(int grid[GRID_SIZE][GRID_SIZE]) { | |
for (int i=0;i<GRID_SIZE;i++) { | |
for (int j=0;j<GRID_SIZE;j++) { | |
printf("%d", grid[i][j]); | |
if (j < GRID_SIZE-1) { | |
printf(" "); |
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
if (today.getDayOfYear() == 0x100) { | |
celebrate(); | |
} | |
------------------------------------ | |
if (today.getDayOfYear() == 0x100) { | |
printf("Поздравляю, %s!", "%username%"); | |
while (!isDead()) { | |
celebrate(); |