This file contains hidden or 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\Jobs; | |
| use App\Mail\NotifikasiMail; | |
| use App\Services\WhatsAppService; | |
| use Illuminate\Bus\Queueable; | |
| use Illuminate\Contracts\Queue\ShouldQueue; | |
| use Illuminate\Foundation\Bus\Dispatchable; | |
| use Illuminate\Queue\InteractsWithQueue; |
This file contains hidden or 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
| WAGW_TOKEN="ini_token" |
This file contains hidden or 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
| { | |
| "success": true, | |
| "message": "Success get Shopee sticker list.", | |
| "data": [ | |
| { | |
| "pack": "sticker_id_choki", | |
| "list": [ | |
| { | |
| "sid": "0001", | |
| "image": "https://deo.shopeemobile.com/shopee/shopee-sticker-live-id/packs/sticker_id_choki/0001@1x.png" |
This file contains hidden or 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
| #!/bin/sh | |
| # List of available PHP versions | |
| php_versions="lsphp72 lsphp73 lsphp74 lsphp80 lsphp81 lsphp82 lsphp83" | |
| # Display menu of PHP versions | |
| echo "Select the PHP version you want to set as default:" | |
| i=0 | |
| for php_version in $php_versions; do | |
| echo "$i. $php_version" |
This file contains hidden or 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
| /tool fetch url="URL_API&text=[UP] PING ke 122.56" keep-result=no |
This file contains hidden or 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
| <script> | |
| $(() => { | |
| const pivotGridChart = $('#pivotgrid-chart').dxChart({ | |
| commonSeriesSettings: { | |
| type: 'bar', | |
| }, | |
| tooltip: { | |
| enabled: true, | |
| customizeTooltip(args) { | |
| return { |
This file contains hidden or 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
| use Imagick; | |
| $pdf = PDF::loadView('mitra.plotkunjungan.pdf', compact('surat'))->setPaper('a4', 'potrait');; | |
| $path = public_path('docs/'); | |
| $fileName = time() . '.' . 'pdf'; | |
| $path_pdf = $path . $fileName; | |
| $pdf->save($path_pdf); | |
| $path_img = str_replace('pdf', 'jpg', $path_pdf); | |
| $imgExt = new Imagick(); |
This file contains hidden or 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
| $tanggal = $this->transformDate($i[2])->toDateString(); | |
| public function transformDate($value, $format = 'Y-m-d') | |
| { | |
| try { | |
| return \Carbon\Carbon::instance(\PhpOffice\PhpSpreadsheet\Shared\Date::excelToDateTimeObject($value)); | |
| } catch (\ErrorException $e) { | |
| return \Carbon\Carbon::createFromFormat($format, $value); | |
| } | |
| } |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| <title>Reminder Kuota</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style type="text/css"> | |
| @media screen { | |
| @font-face { |
This file contains hidden or 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
| // Controller | |
| <?php | |
| namespace App\Http\Controllers; | |
| use App\Http\Controllers\Controller; | |
| use App\Models\Buku; | |
| use App\Models\Member; | |
| use Illuminate\Http\Request; |
NewerOlder