Skip to content

Instantly share code, notes, and snippets.

View weezqyd's full-sized avatar

Albert Leitato weezqyd

  • Nairobi Kenya
View GitHub Profile
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@weezqyd
weezqyd / kannel
Created December 16, 2021 11:38 — forked from parsibox/kannel
install kannel on centos 7
yum install -y openssl-devel libxml2-devel texlive-* m4 gcc-c++ make
yum-config-manager --disable mysql80-community
yum-config-manager --enable mysql57-community
yum install -y mysql-devel
import pprint
import requests
def get_token():
url = 'https://api.emalify.com/v1/oauth/token'
payload = {
"client_id": "client_id",
"client_secret": "client_secret",
"grant_type": "client_credentials"
@weezqyd
weezqyd / SendSMS.php
Created May 11, 2020 14:31
Emalify Send SMS
<?php
class SendSMS
{
/**
*
* Send SMS Class
*
* @author Albert Leitato <[email protected]>
*
@weezqyd
weezqyd / gateway.php
Created January 24, 2019 06:16
Gateway Test
<?php
/**
* Created by PhpStorm.
* User: leitato
* Date: 12/4/18
* Time: 4:33 PM
*/
require 'vendor/autoload.php';
@weezqyd
weezqyd / DueInvoiceReminder.php
Created June 20, 2018 12:05
Send SMS using Elimuswift SMS package
<?php
use App\Invoice;
use Elimuswift\SMS\Chennels\SMSChannel;
use Elimuswift\SMS\Notifications\SMSMessage;
use Illuminate\Notifications\Notification;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
class DueInvoiceReminder extends Notification implements ShouldQueue
{
@weezqyd
weezqyd / QueueMonitor.php
Created June 3, 2018 16:06
Monitor queues without using supervisor
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class QueueMonitor extends Command
{
/**
* The name and signature of the console command.
package stringCompare;
import java.util.Scanner;
public class stingCompare {
private static Scanner scanner = new Scanner( System.in );
/**
* Application entry point
*/