Skip to content

Instantly share code, notes, and snippets.

View RetiredQQ's full-sized avatar

Sky RetiredQQ

  • Sabah
View GitHub Profile
// JFX
//
async function fetchWalletFinances() {
const response = await fetch('https://my.hfm.com/en/trader/wallet_finances');
const data = await response.json();
return data;
}
async function kira() {
@RetiredQQ
RetiredQQ / array_unique_multidimesional.php
Created December 1, 2022 05:11
Create multidimensional array unique for any single key index.
<?php
// https://www.php.net/manual/en/function.array-unique.php#116302
$details = array(
0 => array("id"=>"1", "name"=>"Mike", "num"=>"9876543210"),
1 => array("id"=>"2", "name"=>"Carissa", "num"=>"08548596258"),
2 => array("id"=>"1", "name"=>"Mathew", "num"=>"784581254"),
);
<?php
phpinfo();
?>
@RetiredQQ
RetiredQQ / datatables_medoo.php
Last active January 21, 2024 18:23
Datatables with medoo
<?php
require_once 'vendor/autoload.php';
use Medoo\Medoo;
$db = new Medoo([
'type' => 'mysql',
'host' => $dbhost,
'database' => $dbname,
<?php
//Default Configuration
$CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":false,"hide_Cols":false,"calc_folder":false,"theme":"light"}';
/**
* H3K | Tiny File Manager V2.4.7
* CCP Programmers | ccpprogrammers@gmail.com
* https://tinyfilemanager.github.io
*/
@RetiredQQ
RetiredQQ / phpencodeorg.cs
Last active February 2, 2020 04:50
phpencode.org Deobfuscator
using System;
using System.IO;
using System.IO.Compression;
using System.Text;
namespace phpencodeorg_Decrypt
{
class Program
{
// https://dotnetfiddle.net/xo2fri
@RetiredQQ
RetiredQQ / Program.cs
Created April 29, 2018 17:33
Simple Auto Update Facebook Status
using System;
using System.Dynamic;
using System.Threading;
using Facebook;
namespace Auto_Update_Status_Facebook
{
class Program
{
static FacebookClient FBClient;
@RetiredQQ
RetiredQQ / Arrays.cs
Created June 4, 2017 14:52
Initialize and delete array elements.
public static class Arrays {
public static T[] InitializeWithDefaultInstances < T > (int length) where T: new() {
T[] array = new T[length];
for (int i = 0; i < length; i++) {
array[i] = new T();
}
return array;
}
@RetiredQQ
RetiredQQ / README.md
Created August 5, 2016 11:57
Deobfuscate free version of JavascriptObfuscator.com

Simple Javascript deobfuscator

Aims to deobfuscate the result of JavascriptObfuscator free version.

Run

To tun the script, you should have had node.js installed first. Requires node.js and following npm modules:

  • esprima
@RetiredQQ
RetiredQQ / memory.cs
Created June 22, 2016 17:07
C# - Class to Read and Write in RAM.
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace memoryReader
{
static class Memory
{