Catatan

PHP OCI SQL Command

Imej
  To show list table in the database > SELECT table_name from all_tables where owner = 'WEBUSER'; To describe structure in table >  describe webuser.books; ff

PHP Oracle using XAMPP

Imej
  Refer this video :  https://www.youtube.com/watch?v=_CNM6ie-PwQ Oracle Instant Client Downloads for Microsoft Windows https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html PHP Pecl extension https://pecl.php.net/package/oci8/3.2.1/windows Command to create new user webuser

Java Multithreading

Imej
  CREATE UI Create your first Java GUI using Eclipse IDE 2021 - https://www.youtube.com/watch?v=4sVJuH0NdSw Solution for Error:This package java. awt. * is not accessible in Eclipse. - https://www.youtube.com/watch?v=ROoRWVjgPO4 Java Eclipse GUI Tutorial 23 # Show System Date and Time in JFrame ( Dynamic Clock ) https://www.youtube.com/watch?v=tpQAslXjNKU

Laravel RBA using middleware

  Refer to Chatgpt https://chat.openai.com/share/9489242f-f2da-454e-ae3b-67a10036542e In Laravel, middleware is a way to filter HTTP requests entering your application. Middleware can be assigned to routes to perform various tasks before or after the request enters the controller. To create middleware for user and admin roles, you can follow these steps: 1. **Create Middleware:**    You can create middleware using the following Artisan command:    ```bash    php artisan make:middleware CheckRole    ```    This will generate a `CheckRole` middleware class in the `App\Http\Middleware` directory. 2. **Modify the Middleware:**    Open the `CheckRole` middleware class (`App\Http\Middleware\CheckRole.php`) and implement the logic to check the user role. Here's a simple example:    ```php    <?php    namespace App\Http\Middleware;    use Closure;    use Illuminate\Support\Facades\Auth;    class CheckRole    {        public function handle($request, Closure $next, $role)        {      

Arduino change config alternative

Imej
Just note untuk diri sendiri.. Untuk buat dynamic update bin file untuk arduino GDU.. boleh guna FTP Server.. Insert satu config file yg kita boleh ubah variable dia.. so after ubah variable.. kita akan restart RTU tu. Select board Select board Export compiled binary Compiling sketch Done Compiling Show sketch folder Copy the bin file Bootloader

Best photo enhancer

  1. cutout.pro https://www.cutout.pro/photo-enhancer-sharpener-upscaler/upload https://www.cutout.pro/remove-background/upload

Multihomed Windows Server

Imej
  Multihomed Windows Server 2012R2 splitting network traffic on both interfaces -  https://serverfault.com/questions/1016239/multihomed-windows-server-2012r2-splitting-network-traffic-on-both-interfaces Chatgpt :  https://chat.openai.com/share/ecb917f3-0132-43c5-9866-56a802a42d12 Configure ECMP what happen when i bridged 2 different network port that connect to 2 different switch huawei and cisco in the server network configuration ? Bridging two different network ports that connect to two different switches, one Huawei and one Cisco, in a server network configuration can be done, but it's essential to understand the potential implications and challenges involved. Here's what happens when you bridge these ports: 1. Layer 2 Bridging: When you bridge the two network ports, you are essentially creating a single broadcast domain. This means that devices connected to both switches will be in the same Layer 2 network, and they can communicate with each other as if they were on the sa