Skip to content

Instantly share code, notes, and snippets.

Leonid Rezvitsky Rezvitsky

Block or report user

Report or block Rezvitsky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View typing-icon.html
<svg fill="currentColor" width="24px" height="24px" viewBox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" class="n-spinner text-dark-s">
<circle cx="15" cy="15" r="11.0006">
<animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"></animate>
<animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"></animate>
</circle>
<circle cx="60" cy="15" r="12.9994" fill-opacity=".3">
<animate attributeName="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcMode="linear" repeatCount="indefinite"></animate>
<animate attributeName="fill-opacity" from=".5" to=".5" begin="0s" dur="0.8s" values=".5;1;.5" calcMode="linear" repeatCount="indefinite"></animate>
</circle>
<circle cx="105" cy="15" r="11.0006">
View ivinete_audio.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>IVinete Audio</title>
<style type="text/css">
.post-content__music-wrap {
display: -webkit-box;
display: -ms-flexbox;
View json.php
<?php
$user_id = isset($_REQUEST['user_id']) ? intval($_REQUEST['user_id']) : false;
$count = isset($_REQUEST['count']) ? intval($_REQUEST['count']) : false;
$offset = isset($_REQUEST['offset']) ? intval($_REQUEST['offset']) : false;
$rev = isset($_REQUEST['rev']) ? intval($_REQUEST['rev']) : false;
$access_token = check_token();
$result = array();
View clean.php
function secure($string, $censored_words = 1, $br = true, $strip = 0) {
global $sqlConnect;
$string = trim($string);
$string = cleanString($string);
$string = mysqli_real_escape_string($sqlConnect, $string);
$string = htmlspecialchars($string, ENT_QUOTES);
if ($br == true) {
$string = str_replace('\r\n', " <br>", $string);
View data.php
function GetData() {
global $sqlConnect;
$time = time() - 60;
$data = mysqli_fetch_assoc(mysqli_query($sqlConnect, "SELECT `user_id` as `user_id` FROM ". T_USERS ." ORDER BY `user_id` DESC UNION SELECT COUNT(user_id) as `count` FROM ". T_USERS ." WHERE `lastseen` > ". $time ));
$result = array(
'users' => $data['user_id'],
'online' => $data['count']
View audio.php
<?php
header('Content-Type: text/json; charset=utf-8');
$count = intval($_GET['count']);
$offset = intval($_GET['offset']);
$token_id = htmlentities($_GET['token_id']);
$met = htmlentities($_GET['met']);
$access_token = htmlentities($_GET['access_token']);
View audio.php
<?php
header('Content-Type: text/json; charset=utf-8');
$count = intval($_GET['count']);
$offset = intval($_GET['offset']);
$token_id = htmlentities($_GET['token_id']);
$met = htmlentities($_GET['met']);
$access_token = htmlentities($_GET['access_token']);
View vk.js
var i = 2; // Задержка в секундах
callback(-10190856) // ID группы или пользователя (Number)
function callback(g) {
let l = (new Date() / 1000);
setInterval(() => {
View pdo.php
<?php
class Db {
protected $db;
public function __construct() {
$cfg = [
'host' => 'localhost', ### Хост базы ###
'charset' => 'utf8', ### Кодировка ###
'name' => 'wm', ### База данных ###
View xhr.js
function checkActive() {
var code = $$('#start-form #code').val();
var accessToken = localStorage.getItem("access_token");
var url = api_packages_code + '?code=' + code + '&access_token=' + accessToken;
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
You can’t perform that action at this time.