View GenerateTxtInvoicePosted.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; |
View gist:8495ef7f8605ec20467bbe4ffff2cf46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: ADP Kirim email | |
* Description: Caldera Forms kirim email connector | |
* Version: 1.0.0 | |
* Author: agengdp | |
*/ | |
// Kirim Email creds |
View gist:d9e4739292e16d4b04a39edd08be5598
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |