Skip to content

Instantly share code, notes, and snippets.

@ahgsql
ahgsql / auto_plesk_trial.php
Created May 25, 2024 23:26 — forked from lazenes/auto_plesk_trial.php
Auto Plesk Trial Renewal (using Anti-Captcha to solve ReCaptcha)
<?php
/*
Make sure to enter $anticaptcha_key before upload to server.
Upload "auto_plesk_trial.php" file to "/home/centos/auto_plesk_trial.php"
Then create Schedule Task in Root account of Plesk.
Task Type: Run a PHP script
Script path: /home/centos/auto_plesk_trial.php
Use PHP version: 7.x.x / 8.x.x
Run: Cron style * * * * *
@ahgsql
ahgsql / asenaplugintest.js
Created May 13, 2021 01:11
asenaplugintest.js
const Asena = require('../events');
const{MessageType} = require('@adiwajshing/baileys');
Asena.addCommand({pattern: 'testimiz', fromMe: true}, (async (message, match) => {
await message.sendMessage('Bu bir testtir!');
await new Promise(r => setTimeout(r, 1000));
await message.sendMessage('1 saniyeden sonra!');
}));
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Anamakine: localhost:3306
-- Üretim Zamanı: 03 Eki 2020, 18:59:05
-- Sunucu sürümü: 10.3.24-MariaDB
-- PHP Sürümü: 7.3.20
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";