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\Filament\Resources\TranslationResource\Pages; | |
use App\Filament\Resources\TranslationResource; | |
use App\Imports\TranslationsImport; | |
use Filament\Actions; | |
use Filament\Actions\Action; | |
use Filament\Forms\Components\FileUpload; | |
use Filament\Notifications\Notification; |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
<title>Simple Diff Tool</title> | |
<style> | |
body { font-family: sans-serif; margin: 20px; } | |
textarea { width: 45%; height: 150px; } | |
#result { margin-top: 20px; white-space: pre-wrap; font-family: monospace; } |
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
services: | |
db: | |
image: postgres | |
restart: always | |
environment: | |
POSTGRES_PASSWORD: example | |
ports: | |
- 5431:5432 | |
adminer: |
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 | |
// Cek jika form sudah disubmit | |
if ($_SERVER['REQUEST_METHOD'] == 'POST') { | |
$target_dir = "uploads/"; // Direktori untuk menyimpan file yang di-upload | |
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]); | |
$uploadOk = 1; | |
// Cek apakah file sudah ada | |
if (file_exists($target_file)) { | |
echo "Maaf, file sudah ada.<br>"; |
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 Modules\Vdb\Components\Vdb; | |
use Core\Exceptions\BadRequestHttpException; | |
use Illuminate\Support\Facades\Config; | |
use Illuminate\Support\Facades\DB; | |
class BaseSchemaFetcher implements ISchemaFetcher | |
{ |
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
package utils | |
import ( | |
"regexp" | |
"strings" | |
"github.com/go-playground/validator/v10" | |
) | |
// Convert field names from CamelCase to snake_case |
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
import requests | |
import json | |
url = "https://adminbedcs.demoweb.fun/api/admin/" | |
payload = json.dumps({ | |
"email": "[email protected]", | |
"password": "password", | |
"adminUsername": "adminsri", | |
"firstName": "admin", |
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
{{url}}/report/upline_transaction/data?upline_id=124&limit=1&pageNo=2 | |
{{url}}/report/upline_transaction/data_detail?upline_id=124&month=1&year=2025&pageNo=1&limit=1 |
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
package com.wenkesj.voice; | |
import android.Manifest; | |
import android.content.ComponentName; | |
import android.content.Intent; | |
import android.content.pm.PackageManager; | |
import android.content.pm.ResolveInfo; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.speech.RecognitionListener; |
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 | |
// controllers/api/ToolController.php | |
namespace app\controllers\api; | |
/** | |
* This is the class for REST controller "ELogController". | |
*/ | |
use app\components\Maximo; | |
use app\models\CbmVibrasiImage; |
NewerOlder