Skip to content

Instantly share code, notes, and snippets.

View jabari-max's full-sized avatar

Mohammad.hadi Jabari jabari-max

View GitHub Profile
@jabari-max
jabari-max / .deps...remix-tests...remix_accounts.sol
Created September 26, 2025 03:30
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
return address(0);
}
}
<?php
define('BOT_TOKEN', 'XXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXX'); // place bot token of your bot here
function checkTelegramAuthorization($auth_data) {
$check_hash = $auth_data['hash'];
unset($auth_data['hash']);
$data_check_arr = [];
foreach ($auth_data as $key => $value) {
$data_check_arr[] = $key . '=' . $value;
@jabari-max
jabari-max / php-ssl-install.sh
Created May 31, 2025 21:35 — forked from iamshreeram/php-ssl-install.sh
Installing SSL certificate in hostinger
# Installation of SSL Certificate
## Enable SSH :
ssh [email protected] -p 65002
## Download acme-client
git clone https://github.com/kelunik/acme-client
## Install composer
```