Tuesday, February 24, 2026

Info Ringkas Laravel 12

Laravel 12 adalah versi terbaru (rilis 24 Februari 2025), menghadirkan peningkatan performa, starter kit modern (Shadcn, Flux), dan integrasi autentikasi WorkOS yang lebih baik. Fokus pada stabilitas dan pengembangan aplikasi web modern, Laravel 12 mendukung PHP versi terbaru, serta mempermudah migrasi menggunakan Laravel Shift.

Fitur dan Pembaruan Utama Laravel 12 (Februari 2025):
  • Struktur Starter Kit Modern: Mendukung komponen UI modern seperti Shadcn dan Flux untuk integrasi lebih mudah dengan React, Vue, dan Livewire.
  • Peningkatan Autentikasi: Integrasi WorkOS AuthKit untuk SSO, passkeys, dan social login.
  • Pembaruan Dependensi & Performa: Optimalisasi untuk aplikasi modern dan scalable.
  • Laravel Shift: Mempermudah proses upgrade dan memastikan kompatibilitas paket pihak ketiga.
  • Ekosistem Terintegrasi: Dukungan penuh untuk tools seperti Laravel Breeze & JetstreamPulse, dan Reverb.
Sebelumnya, Laravel 11 (dirilis Maret 2024) membawa perubahan struktur folder yang lebih minimalis dan SQLite sebagai default database.

Monday, February 23, 2026

Membuat beckend di google apps script

Membuat backend dengan Google Sheet melibatkan penggunaan Google Sheets sebagai database dan Google Apps Script (GAS) sebagai serverless backend untuk mengolah data (CRUD: Create, Read, Update, Delete) melalui API. Anda bisa membuat aplikasi sederhana tanpa coding via AppSheet atau membuat REST API khusus menggunakan Apps Script untuk terhubung dengan frontend web/aplikasi.
Berikut langkah-langkah membuat backend sederhana dengan Google Sheets dan Apps Script:
1. Persiapan Database (Google Sheets)
  • Buat spreadsheet baru dan berikan nama judul kolom pada baris pertama (misal: ID, Nama, Pesan, Tanggal).
  • Isi beberapa data contoh.
  • Buka menu Ekstensi > Apps Script.

Sunday, February 22, 2026

Klasifikasi pemrograman Java

 Klasifikasi pemrograman Java terbagi menjadi tiga edisi utama—Java SE (Standard Edition)EE (Enterprise Edition), dan ME (Micro Edition)—berdasarkan fungsi dan perangkatnya. Java adalah bahasa object-oriented (PBO), statically typed, dan portable ("Write Once, Run Anywhere") yang menggunakan JVM untuk menjalankan bytecode.

Quiz Pengetahuan Bahasa Pemrograman

Quiz

Saturday, February 21, 2026

Membuat Dropdown Menu pada Blogger

 To restructure an HTML list in JavaScript by making certain li elements a child of another li based on a specific character, you can iterate through the list items and use DOM manipulation methods like appendChild().

JavaScript Code Example
This example assumes the li elements to be nested contain a specific character (e.g., '-') at the beginning of their text content, and should be nested under the preceding li that does not have the character.
javascript
function nestListItems(ulSelector, markerChar) {
    const ul = document.querySelector(ulSelector);
    if (!ul) return;

    // Select all direct child li elements of the ul
    const items = Array.from(ul.children);
    let parentItem = null;

    items.forEach(item => {
        // Check if the current li contains the specific character
        if (item.textContent.trim().startsWith(markerChar)) {
            // If a parent li has been established, move the current item into it
            if (parentItem) {
                // Remove the item from its current position in the DOM
                ul.removeChild(item); 
                
                // Create a new nested ul if one doesn't exist in the parent
                let nestedUl = parentItem.querySelector('ul');
                if (!nestedUl) {
                    nestedUl = document.createElement('ul');
                    parentItem.appendChild(nestedUl);
                }
                
                // Append the current item (which is now a new node) to the nested ul
                nestedUl.appendChild(item);
                                Array.from(nestedUl.children).forEach(itemtext => {
      		    itemtext.querySelector('a').innerHTML=itemtext.textContent.substring(2);
      				
      		 });
            }
        } else {
            // If it doesn't have the marker, it becomes a potential new parent
            parentItem = item;
        }
    });
}

// Usage: Call the function for your specific UL and marker
nestListItems('#myList', '-');

Creat Register Form React Native to Google Spreadsheet

Create a React Native registration form that sends data to a Google Sheet by creating a Google Form, connecting it to a spreadsheet, generating a POST API URL via Apps Script, and using fetch to submit input data. This approach avoids needing a custom backend server.

Here's how to create a React Native registration form that sends data to a spreadsheet:
Set Up Google Sheet & API
  1. Create a Sheet: Create a new Google Sheet. Add headers, such as Name, Email, and Password.
  2. Create Script: Open Extensions > Apps Script.
  3. Add Code: Use the following code to handle POST requests and add rows:
    javascript
    function doPost(e) {
      const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
      const data = JSON.parse(e.postData.contents);
      sheet.appendRow([data.name, data.email, data.password, new Date()]);
      return ContentService.createTextOutput(JSON.stringify({ 'result': 'success' })).setMimeType(ContentService.MimeType.JSON);
    }
    
  4. Deploy: Click Deploy > New deployment, select Web app, set execute as Me, and Who has access to Anyone. Copy the Web app URL.

Thursday, July 17, 2025

VB 6.0 Row set is not bookmarkable

 solution :

set the CursorLocation Property of Recordset Object. 

    RS.CursorLocation=adUseClient

Hey  just copy this code line before openign ur recordset.

sample :

 Set RS = New ADODB.Recordset

 RS.CursorLocation = adUseClient

RS.Open "SELECT* FROM pelanggan WHERE nama like'%" & tpembeli.Text & "%'", CN, adOpenKeyset, adLockOptimistic

Set DataGrid1.DataSource = RS