Skip to content

Instantly share code, notes, and snippets.

<?php
/* EDIT EMAIL AND PASSWORD */
$EMAIL = "login@gmail.com";
$PASSWORD = "passpass";
$objID = 524285880946743;
function cURL($url, $header=NULL, $cookie=NULL, $p=NULL)
{
var User = {
uid : "227196016",
auth_key : "ae71a8d787ce4843628d65b485b33e46",
owner_id : "227196016",
app_id : "5469471",
app_time : 1479472658,
last_time : 1479472587,
black : 1,
group_id : 3,
@gladunrv
gladunrv / search.sql
Last active March 14, 2018 12:06
search
SELECT
*
FROM
((SELECT
uid,
users.dating_name,
users.vip,
users.city_id,
users.country_id,
users.dating_year_of_birthy,
<?
public function searchForDating($data, $limit = 200)
{
$queryTop = $this->searchForDatingQuery($data, true)->limit($limit);
$queryNonTop = $this->searchForDatingQuery($data)->limit($limit);
$queryFilterViewedUsers = $this->filterViewedUsers();
$query = (new Query)
->select('*')
->from([
0xe2FFD2dE613e406217D7d3633Fb89C63bC6cCFc5
0x65cF677D187b23416d4014E7691Df715aD3b093A
0x3797CF7779FE48161afe2Ee1c10567BD32e6e9D5
<?
$fileId = isset($_REQUEST['id']) ? (int) $_REQUEST['id'] : 0;
file_put_contents( 'log_' . $fileId . '.txt', PHP_EOL, FILE_APPEND );
file_put_contents( 'log_' . $fileId . '.txt', date('H:i d-m-Y'), FILE_APPEND );
file_put_contents( 'log_' . $fileId . '.txt', PHP_EOL, FILE_APPEND );
file_put_contents( 'log_' . $fileId . '.txt', print_r($_REQUEST, true), FILE_APPEND );
file_put_contents( 'log_' . $fileId . '.txt', print_r($_SERVER, true), FILE_APPEND );
file_put_contents( 'log_' . $fileId . '.txt', PHP_EOL, FILE_APPEND );
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TakeMyMuffin is ERC721URIStorage, Pausable, Ownable {
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract BingoCoin is ERC20, Pausable, Ownable {
mapping (address => bool) public isBlackListed;