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
// SPDX-License-Identifer: MIT | |
pragma solidity ^0.8.0; | |
contract PiggyWallet { | |
address payable private owner; | |
mapping (address => uint256) private wallet; | |
function putMoney() public payable { | |
wallet[msg.sender] += msg.value; |
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
<html> | |
<head> | |
<title>Проверка пароля</title> | |
<link rel='stylesheet' href='style.css' type='text/css'> | |
<meta charset="utf-8" /> | |
</head> | |
<body> | |
<?php | |
require 'flag.php'; |
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
.model SMALL | |
.386 | |
.data | |
EXTRN _begin:DWORD | |
EXTRN _end:DWORD | |
EXTRN _step:DWORD | |
EXTRN _x:DWORD | |
EXTRN _f:DWORD | |
tmp dw 0 | |
.code |
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
class A { | |
public: | |
int a; | |
}; | |
class AA : public A { | |
public: | |
int b; | |
}; |
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
02:28:55.302 [http-listener-1(4)] INFO com.citycon.dao.mysql.RouterConnectionDAO - Get count elements failed. With parameters: City(Horki), Country(Belarus) | |
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'routers on (`RouterConnection`.`ID_From` = `routers`.`ID` or `RouterConnection`.' at line 1 |
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
<build> | |
<finalName>cityCon</finalName> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.5.1</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> |
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
/* | |
required imports | |
*/ | |
puclic class StatementQuestion { | |
Connection cn; | |
PreparedStatement ps; | |
public StatementQuestion() throws ClassNotFoundException, SQLException{ | |
cn = DriverManager.getConnection("path", "user", "pass"); | |
ps = cn.prepareStatement("select `data` from table where id > ?"); | |
} |