aizu's Knowledge Base
    • Go to: aizu.my Homepage
    • Recent
    • Tags
    • Register
    • Login
    1. Home
    2. aizu
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 81
    • Posts 94
    • Best 0
    • Controversial 0
    • Groups 1

    Posts made by aizu

    • 2025 - bypass windows 11 online registration account

      https://youtube.com/shorts/U96Wvje_LNA?si=5KbdfSpPAld-tAGj

      posted in Inbox
      A
      aizu
    • User Story

      Screenshot 2025-06-04 at 4.06.56 PM.png

      posted in Inbox
      A
      aizu
    • Netflix - Genre Code - as on July 2025

      Action TV and Adventure (10673)
      Action Thrillers (43048)
      Action Thrillers (43048)
      Action and Adventure (1365)
      Action comedians (43040)
      Adult entertainment (11881)
      Adventures (7442)
      Adventures of sci-fi (6926)
      African Movies ( 3761 )
      Alien science fiction (3327)
      Animated Comedy (9302)
      Animated Fantasy (11146)
      Animated Features (3063)
      Anime (7424)
      Anime Action (653)
      Anime horror (10695)
      Anime series (6721)
      Art House Movies (29764)
      Asian action movies (77232)
      Baseball movies (12339)
      Basketball movies (12762)
      Belgian films (262)
      Biographic Drama (3179)
      Biographical Documentaries (3652)
      Black Comedy (869)
      Boxing movies (12443)
      British Movies (10757)
      British Television Shows (52117)
      Campy movies (1252)
      Cartoon television (11177)
      Characteristics of the Creature (6895)
      Child Education (10659)
      Children's Music (52843)
      Children's Music (52843)
      Children's television (27346)
      Children's television (27346)
      Chinese Movies (3960)
      Classic Action & Adventure (46576)
      Classic Comedy (31694)
      Classic Drama (29809)
      Classic Drama (29809)
      Classic Movies (31574)
      Classic Romantic Movies (31273)
      Classic TV Shows (46553)
      Classic Thrillers (46588)
      Classic Thrillers (46588)
      Classic Westerns (47465)
      Classic foreign movies (32473)
      Classic foreign movies (32473)
      Classic sci-fi and fantasy (47147)
      Classic sci-fi and fantasy (47147)
      Classic war movies (48744)
      Classical Musicians (32392)
      Coins of the period (12123)
      Comedy (6548)
      Comedy Night (1402)
      Comedy for Teenagers (3519)
      Comedy of horror (89585)
      Concert music and documentaries (90361)
      Country and Western/Folklore (1105)
      Court room drama (528582748)
      Crazy Romance (36103)
      Crime Drama (6889)
      Crime action and adventure (9584)
      Criminal TV Shows (26146)
      Criminal Thrillers (10499)
      Cry of Teenagers (52147)
      Cult Horror Movies (10944)
      Cult Horror Movies (10944)
      Cult Movies (7627)
      Cult TV Programs (74652)
      Cult comedies (9434)
      Deep Sea Horror Movies (45028)
      Dirty Movies (53310)
      Disney (67673)
      Disney Musicians (59433)
      Documentaries (6839)
      Documentaries on crime (9875)
      Drama (5763)
      Drama based on books (4961)
      Drama based on real life (3653)
      Drama for Teenagers (9299)
      Drama of social problems (3947)
      Dutch films (10606)
      Eastern European movies (5254)
      Epic (52858)
      Experimental films (11079)
      Faith and Spirituality (26835)
      Faith and Spirituality of Children (751423)
      Family features (51056)
      Fantasy Movies (9744)
      Football Movies (12549 )
      Foreign Documentaries (5161)
      Foreign Documentaries (5161)
      Foreign Drama (2150)
      Foreign Drama (2150)
      Foreign Scientist and Fantasy (6485)
      Foreign Scientist and Fantasy (6485)
      Foreign Thrillers (10306)
      Foreign Thrillers (10306)
      Foreign action and adventure (11828)
      Foreign action and adventure (11828)
      Foreign comedies (4426)
      Foreign comedies (4426)
      Foreign horror movies (8654)
      Foreign horror movies (8654)
      Foreign movies (7462)
      French films (58807)
      Gangster Movies (31851)
      German Movies (58886)
      Greek Movies (61115)
      Historical Documentaries (5349)
      Horror Movies (8711)
      Horror Movies B (8195)
      Horror Movies B (8195)
      Horror TV (83059)
      Hot Romantic Movies (35800)
      Independent Drama (384)
      Independent Drama (384)
      Independent Movies (7077)
      Independent Romantic Movies (9916)
      Independent Romantic Movies (9916)
      Independent Thrillers (3269)
      Independent Thrillers (3269)
      Indian films (10463)
      Indie Action & Adventure (11804)
      Indie Comedy (4195)
      Irish films (58750)
      Italian Movies (8221)
      Japanese films (10398)
      Jazz and Easy Listening (10271)
      Korean Movies (5685)
      Korean TV Programs (67879)
      Latin American Movies (1613)
      Latin Music (10741)
      Lobisome Horror Movies (75930)
      Martial arts boxing and wrestling (6695)
      Martial arts films (8985)
      Military Documentaries (4006)
      Military action and adventure (2125)
      Military dramas (11)
      Military television programs (25804)
      Mini Series (4814)
      Monster Movies (947)
      Movies based on children's books (10056)
      Movies for ages 11-12 (6962)
      Movies for ages 2-4 (6218)
      Movies for ages 5-7 (5455)
      Movies for ages 8-10 (561)
      Movies for kids 0-2 years old (6796)
      Movies for kids and family (783)
      Movies from the Middle East (5875)
      Movies in Australia (5230)
      Movies of Faith and Spirituality (52804)
      Music (1701)
      Musical comedy (13335)
      Musicians of Showbiz (13573)
      Mysteries (9994)
      Mysteries of TV (4366)
      New Zealand Movies (63782)
      Political Documentaries (7018)
      Political Drama (6616)
      Political Thrillers (10504)
      Political comedies (2700)
      Psychological Thrillers (5505)
      Reality TV (9833)
      Religious documentaries (10005)
      Rock & Pop Show (3278)
      Romantic Drama (1255)
      Romantic Drama (1255)
      Romantic Movies (8883)
      Romantic comedy (5475)
      Romantic comedy (5475)
      Romantic foreign movies (7153)
      Romantic foreign movies (7153)
      Romantic heartbeats (502675)
      Russian (11567)
      Satanic Tales (6998)
      Satire (4922)
      Scandinavian films (9292)
      Sci Fi Anime (2729)
      Sci Fi Horror Movies (1694)
      Sci Fi Thrillers (11014)
      Sci Fi Thrillers (11014)
      Sci Fi and Fantasy TV (1372)
      Sci Fi and Fiction (1492)
      Science and Nature TV (52780)
      Science fiction action and fantasy (1568)
      Science fiction and fantasy cult (4734)
      Science fiction and fantasy cult (4734)
      Science fiction drama (3916)
      Scientific and natural documentaries (2595)
      Screwball Comedies (9702)
      Showbiz Drama (5012)
      Slap Comedy (10256)
      Slasher Movies and Serial Killer (8646)
      Soccer Movies (12803)
      Social and Cultural Documentaries (3675)
      Southeast Asian Movies (9196)
      Spanish Movies (58741)
      Spiritual Documentaries (2760)
      Sport Comedy (5286)
      Sport Comedy (5286)
      Sports Drama (7243)
      Sports Drama (7243)
      Sports and fitness (9327)
      Sports documentaries (180)
      Sports documentaries (180)
      Sports movies (4370)
      Spy Action & Adventure (10702)
      Spy Thrillers (9147)
      Stage Musicians (55774)
      Stand Up Comedy (11559)
      Steam Thrillers (972)
      Superhero comics and movies (10118)
      Supernatural Horror Movies (42023)
      Supernatural Thrillers (11140)
      TV Drama (11714)
      TV Programs for Teenagers (60951)
      TV shows (83)
      Tales of Animals (5507)
      Television comedy (10375)
      Television documentaries (10105)
      The Tears (6384)
      Thrillers (8933)
      Travel and adventure documentaries (1159)
      Travel food & TV (72436)
      Urban Concerts and Dancing (9472)
      Vampire horror movies (75804)
      Western ( 7700 )
      World Music Concert (2856)
      Zombie Horror Movies (75405)
      Zombies (26)
      anime dramas (452)
      black Movie (7687)

      posted in Inbox
      A
      aizu
    • Modern stack tools
      • https://vercel.com/
      • https://resend.com/
      • https://linear.app/
      posted in Ref
      A
      aizu
    • IOI City Mall Putrajaya - Surau

      1. Level L2 (WEST COURT)

      Landmark

      • Mr Toy
      • 2CO
      • Medic Deno
      • Asterspring
      • Klinik Dr Lo (Skin, Laser & Aesthetic)
      • Parkson
      • All IT Hypermart

      2. Level LG (EAST COURT - parking area)

      Landmark

      • Marks & Spencer
      • Poh Kong

      3. Level LG (WEST COURT - food area)

      Landmark

      • KFC
      • Tony Romas
      • Absolute Thai
      • 7 Eleven
      • Family Mart
      • Sukiya.

      Ref: https://jomalquran.my/surau-ioi-city-mall/

      posted in Inbox
      A
      aizu
    • IOI City Mall Putrajaya - Mall Directory

      Mall Directory

      Screenshot 2025-06-22 at 12.44.50 PM.png

      posted in Inbox
      A
      aizu
    • IOI City Mall Putrajaya - Parking QR

      image 23.png

      ioi-city-mall-qr-parking.png

      posted in Inbox
      A
      aizu
    • RE: PM2 for NextJS - ecosystem file

      pm2 start npm --name "your-app-name-3000" -- run start

      posted in Linux
      A
      aizu
    • RE: Mongodb in Ubuntu 20.04 Installation - working as on Jan 2023

      Installation working as on March 2025 on Ubuntu 24.04

      posted in Linux
      A
      aizu
    • RE: mysql - snippets
      CREATE USER 'admin'@'localhost' IDENTIFIED BY 'the_secure_password';
      GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION;
      FLUSH PRIVILEGES;
      
      posted in Linux
      A
      aizu
    • NodeJS - ERR_OSSL_EVP_UNSUPPORTED error
      export NODE_OPTIONS=--openssl-legacy-provider
      

      Ref: https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported

      posted in Linux
      A
      aizu
    • RE: nginx conf - sample

      redirect

      server {
        server_name .mydomain.example;
        rewrite ^ http://www.adifferentdomain.example$request_uri? permanent;
      }
      

      or on any version 0.9.1 or higher:

      server {
        server_name .mydomain.example;
        return 301 http://www.adifferentdomain.example$request_uri;
      }
      

      HTTP redirect:

      • 301 (permanent)
      • 302 (temporary)
      posted in Linux
      A
      aizu
    • Linode - disable ipv6

      Check IP

      ip a
      

      File: /etc/sysctl.conf

      net.ipv6.conf.all.disable_ipv6 = 1
      net.ipv6.conf.default.disable_ipv6 = 1
      net.ipv6.conf.lo.disable_ipv6 = 1
      

      Reload sysctl

      sysctl -p /etc/sysctl.conf
      
      posted in Linux
      A
      aizu
    • Softether - Linux

      Install server

      Download here: https://www.softether-download.com/en.aspx?product=softether

      apt-get update
      apt-get upgrade
      apt-get install build-essential
      
      wget "https://www.softether-download.com/files/softether/v4.43-9799-beta-2023.08.31-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz"
      
      tar -zxvf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
      cd vncserver
      make main
      
      posted in Linux
      A
      aizu
    • S3 - Bucket Policy - ACL - for public
      {
          "Version": "2008-10-17",
          "Statement": [
              {
                  "Sid": "AllowPublicRead",
                  "Effect": "Allow",
                  "Principal": {
                      "AWS": "*"
                  },
                  "Action": "s3:GetObject",
                  "Resource": "arn:aws:s3:::BUCKET_NAME/*"
              }
          ]
      }
      
      posted in Ref
      A
      aizu
    • docker build for ECR

      1. build

      docker build -t nextjs-app .
      
      aws ecr get-login-password --region ap-southeast-1
      

      Then it will come out the password

      2. login

      docker login -u AWS -p somePassword 123456789012.dkr.ecr.us-east-1.amazonaws.com
      

      3. tag

      docker tag nextjs-app:latest 123456789012.dkr.ecr.us-east-1.amazonaws.com/nextjs-app:latest
      

      4. push

      docker push 123456789012.dkr.ecr.us-east-1.amazonaws.com/nextjs-app:latest
      

      Below example for docker login stdin with aws get password

      aws ecr get-login-password --region ap-southeast-1 | docker login -u AWS --password-stdin 123456789012.dkr.ecr.us-east-1.amazonaws.com
      posted in Linux
      A
      aizu
    • EC2 - increase storage without turn off instance

      To increase the space on your AWS instance, follow these steps:

      1. Check the Available Storage:
      Before expanding, verify the disk space:

      df -h
      

      2. Identify the Volume:
      Find the attached volumes for your EC2 instance:

      Go to the EC2 Console.
      Under Elastic Block Store (EBS), select Volumes.
      Identify the volume attached to your instance.

      3. Modify the EBS Volume:
      Select the volume you want to expand.
      Click on Actions → Modify Volume.
      Increase the size of the volume (e.g., from 8 GB to 20 GB).
      Click Modify.

      4. Extend the Partition on the EC2 Instance:
      After the volume is resized, you'll need to extend the file system to use the new space.

      For ext4 file system:
      Verify the volume size:

      lsblk
      

      Make sure the resized volume reflects the correct size.
      Extend the file system:

      sudo growpart /dev/nvme0n1 1
      sudo resize2fs /dev/nvme0n1p1
      

      For xfs file system:
      Extend the file system:

      sudo xfs_growfs -d /
      

      5. Verify the Increased Space:
      Check the disk space again:

      df -h
      

      This process will allow you to increase the disk space without stopping the instance.

      To check partition type

      lsblk -f
      
      posted in Linux
      A
      aizu
    • Multiple PHP 8.3 and 7.4 - Ubuntu 24

      To run multiple PHP versions (8.3 and 7.4) on Ubuntu 24, you can install PHP 7.4 alongside PHP 8.3 and configure PHP-FPM to handle both versions. Here’s a step-by-step guide:

      Step 1: Add PHP 7.4 Repository
      First, you need to add the ondrej/php PPA, which allows you to install older PHP versions like 7.4.

      sudo apt update
      sudo apt install software-properties-common
      sudo add-apt-repository ppa:ondrej/php
      sudo apt update
      

      Step 2: Install PHP 7.4 and PHP 7.4-FPM
      Now, install PHP 7.4 along with its FPM package and any required extensions.

      sudo apt install php7.4 php7.4-fpm php7.4-cli php7.4-common php7.4-mysql php7.4-xml php7.4-mbstring php7.4-curl
      

      Step 3: Ensure PHP 8.3 FPM is Installed
      Make sure you also have PHP 8.3 FPM installed (if not already):

      sudo apt install php8.3-fpm
      

      Step 4: Configure Nginx to Use Different PHP-FPM Versions
      Now, you need to modify your Nginx configuration to point to the correct PHP-FPM socket for each site or location.

      For PHP 8.3 (default):
      In your Nginx config file (e.g., /etc/nginx/sites-available/default), set the fastcgi_pass directive to PHP 8.3:

      nginx
      Copy code
      location ~ .php$ {
      fastcgi_pass unix:/run/php/php8.3-fpm.sock;
      include fastcgi_params;
      }

      For PHP 7.4 (for specific locations or sites):
      For specific sites or locations where you want to use PHP 7.4, you can point to the PHP 7.4 FPM socket:

      location ~ \.php$ {
          fastcgi_pass unix:/run/php/php7.4-fpm.sock;
          include fastcgi_params;
      }
      

      Step 5: Enable and Restart PHP-FPM Services
      Enable both PHP-FPM services to ensure they start on boot:

      sudo systemctl enable php8.3-fpm
      sudo systemctl enable php7.4-fpm
      

      Then restart both services:

      sudo systemctl restart php8.3-fpm
      sudo systemctl restart php7.4-fpm
      

      Step 6: Set PHP 8.3 as the Default CLI Version (Optional)
      If you want to keep PHP 8.3 as the default for the CLI, use the update-alternatives command:

      sudo update-alternatives --set php /usr/bin/php8.3
      

      To switch to PHP 7.4 for the CLI:

      sudo update-alternatives --set php /usr/bin/php7.4
      

      Step 7: Verify Installation
      To check the installed versions of PHP-FPM, run:

      php -v          # To check the default CLI version
      sudo systemctl status php7.4-fpm
      sudo systemctl status php8.3-fpm
      

      Conclusion
      Now you have both PHP 8.3 and PHP 7.4 running on your Ubuntu 24 system, with PHP 8.3 as the default and the ability to use PHP 7.4 for specific locations or virtual hosts.

      posted in Linux
      A
      aizu
    • rsync
      /usr/bin/rsync -varuzP -e "ssh -p 12345" html [email protected]:/root/
      
      posted in Linux
      A
      aizu