Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Leonid Rezvitsky Rezvitsky

🏠
Working from home
View GitHub Profile
View referer.js
function getUrlParameter(sParam) {
var sPageURL = window.location.search.substring(1),
sURLVariables = sPageURL.split('&'),
sParameterName,
i
for (i = 0; i < sURLVariables.length; i++) {
sParameterName = sURLVariables[i].split('=')
if (sParameterName[0] === sParam) {
View site.js
let userAddress = ''
let basicPercentRate = 5
let contractBalanceRate = 0
let userPercentRate = 0
let holdPercentRate = 0
let userAvailable = 0
let userTotalDeposits = 0
let userTotalWithdrawn = 0
let userAmountOfDeposits = 0
let userLastDepositTime = 0
View Untitled-1
<!-- 1 -->
<li class="combobox--dropdown-item">
<div class="currency-item currency-item__dark exchange-calculator--dropdown-currency-item">
<i class="currency-item--currency-icon cc currencies-sprite--usdterc20"></i><span class="currency-item--ticker">USDT<sup>ERC20</sup></span><span class="currency-item--name">Tether (ERC20)</span>
</div>
</li>
<li class="combobox--dropdown-item">
<div class="currency-item currency-item__dark exchange-calculator--dropdown-currency-item">
<i class="currency-item--currency-icon cc currencies-sprite--xrp"></i><span class="currency-item--ticker">XRP</span><span class="currency-item--name">Ripple</span>
</div>
@Rezvitsky
Rezvitsky / Crypto list.html
Created Feb 13, 2021
Crypto list valutes
View Crypto list.html
<!-- 1 -->
<li class="combobox--dropdown-item">
<div class="currency-item currency-item__dark exchange-calculator--dropdown-currency-item">
<i class="currency-item--currency-icon cc currencies-sprite--usdterc20"></i><span class="currency-item--ticker">USDT<sup>ERC20</sup></span><span class="currency-item--name">Tether (ERC20)</span>
</div>
</li>
<li class="combobox--dropdown-item">
<div class="currency-item currency-item__dark exchange-calculator--dropdown-currency-item">
<i class="currency-item--currency-icon cc currencies-sprite--xrp"></i><span class="currency-item--ticker">XRP</span><span class="currency-item--name">Ripple</span>
</div>
@Rezvitsky
Rezvitsky / math.cs
Created Feb 11, 2021
Match Opecator C#
View math.cs
using System;
namespace Rextester
{
public class Program
{
public static void Main(string[] args)
{
string buf;
View Untitled-1
const options = {
"particles": {
"number": {
"value": 400,
"density": {
"enable": true,
"value_area": 800
}
},
View Untitled-1
<script setup>
const options = {
"particles": {
"number": {
"value": 400,
"density": {
"enable": true,
"value_area": 800
}
},
View auth.js
import { apollo, gql } from '/@/apollo'
import router from '/@/router'
const state = {
accessToken: localStorage.getItem('access_token') || null
}
const getters = {}
const actions = {
View auth.js
import { apollo, gql } from '/@/apollo'
import router from '/@/router'
const state = {
accessToken: localStorage.getItem('access_token') || null
}
const getters = {}
const actions = {
View wall.php
<?
// https://vk.com/wall423740935_2198
$wall = $_GET['wall'];
if (mb_strpos($wall, 'wall') === false) {
echo 'В адресе нет wall';
}