Skip to content

Instantly share code, notes, and snippets.

View zhawasolutions's full-sized avatar

Amsori zhawasolutions

View GitHub Profile
@zhawasolutions
zhawasolutions / openssl_encrypt_decrypt.php
Created September 18, 2022 00:44 — forked from joashp/openssl_encrypt_decrypt.php
Simple PHP encrypt and decrypt using OpenSSL
<?php
/**
* simple method to encrypt or decrypt a plain text string
* initialization vector(IV) has to be the same when encrypting and decrypting
*
* @param string $action: can be 'encrypt' or 'decrypt'
* @param string $string: string to encrypt or decrypt
*
* @return string
*/
@zhawasolutions
zhawasolutions / estimate_energy.py
Created August 19, 2023 03:01 — forked from andelf/estimate_energy.py
TRON estimate energy
#!/bin/env python3
import collections
import statistics
import sys
import requests
import base58
@zhawasolutions
zhawasolutions / estimate_energy.py
Created August 19, 2023 03:01 — forked from andelf/estimate_energy.py
TRON estimate energy
#!/bin/env python3
import collections
import statistics
import sys
import requests
import base58
@zhawasolutions
zhawasolutions / compile-mql5.md
Created March 18, 2025 07:57 — forked from umidjons/compile-mql5.md
Compile MQL5 in console

Compile MQL5 from console

"c:\Program Files\MetaTrader 5\metaeditor64.exe" /portable /compile:candlestick_patterns.mq5 /inc:candlesticktype.mqh /log:mql.log
@zhawasolutions
zhawasolutions / win7-winexe-enable.cmd
Created April 14, 2025 23:24 — forked from jbuchbinder/win7-winexe-enable.cmd
Enable winexe remote execution on windows 7
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\system" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f