Catatan

Tunjukkan catatan dari November, 2023

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