Skip to content

Instantly share code, notes, and snippets.


Ageng D. Prastyawan agengdp

View GitHub Profile
View GenerateTxtInvoicePosted.php
namespace App\Listeners;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use App\Events\InvoiceApprovalPosted;
use Carbon\Carbon;
use App\Models\Matdoc;
use Illuminate\Support\Facades\DB;
agengdp / gist:8495ef7f8605ec20467bbe4ffff2cf46
Created Feb 11, 2018
Kirim EMail Wordpress Caldera Form
View gist:8495ef7f8605ec20467bbe4ffff2cf46
* Plugin Name: ADP Kirim email
* Description: Caldera Forms kirim email connector
* Version: 1.0.0
* Author: agengdp
// Kirim Email creds
View gist:d9e4739292e16d4b04a39edd08be5598
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteBase /
RewriteRule ^music/(.+)/(.+).html$ view.php?id=$1&permalink=$2
RewriteRule ^download/(.+)/(.+).html$ view.php?id=$1&permalink=$2
RewriteRule ^video/(.+)/(.+).html$ download.php?id=$1&ln=$2
RewriteRule ^download/(.+).mp3$ dl.php?id=$1