---
title: "GuaSerius24jam (@ConsoleGuy) | Hashnode"
description: "serius dohhhh. Read the latest articles by GuaSerius24jam on Hashnode."
url: "https://hashnode.com/@ConsoleGuy"
---

@ConsoleGuy

# GuaSerius24jam

@ConsoleGuy · Joined January 2024

serius dohhhh

### [rest operator vs spread syntax in js](https://wab4136.hashnode.dev/rest-operator-vs-spread-syntax-in-js?utm_source=hashnode&utm_medium=feed)

dengan rest operator(…) kita boleh set di function parameter untuk jadi kan unlimited array of anything. so dia takder fixed size array. tapi benda ni hanya boleh di pakai sebagai function parameter! // rest operator const tambah = (...semua) => { ...

1 min read · [wab4136.hashnode.dev](https://wab4136.hashnode.dev/rest-operator-vs-spread-syntax-in-js?utm_source=hashnode&utm_medium=feed)

[Mar 12, 2025](https://hashnode.com/posts/rest-operator-vs-spread-syntax-in-js/67d19ff4da95d29ba01c3433)

### [set default value in js .](https://wab4136.hashnode.dev/set-default-value-in-js?utm_source=hashnode&utm_medium=feed)

kadang2 kita akan ambik value dari user and maybe kita expect value yg betul dari user . but dalam setengah keadaan user ni ada yg bangang kan tak supply apa2. contoh mudah dari aku kali ni document.addEventListener('DOMContentLoaded', () => { ...

1 min read · [wab4136.hashnode.dev](https://wab4136.hashnode.dev/set-default-value-in-js?utm_source=hashnode&utm_medium=feed)

[Mar 11, 2025](https://hashnode.com/posts/set-default-value-in-js/67cff852652b9f4d6f9dfa4e)

### [Creating a forum board with server-side rendering (SSR) . tsx way ;)](https://wab4136.hashnode.dev/creating-a-forum-board-with-server-side-rendering-ssr-tsx-way?utm_source=hashnode&utm_medium=feed)

Set up Next.js with TypeScript npx create-next-app forum-board --ts cd forum-board Server-Side Rendered (SSR) Pages Create a page like pages/forum.tsx that fetches data server-side and renders HTML/CSS. // pages/forum.tsx import { GetServerSideProps...

3 min read · [wab4136.hashnode.dev](https://wab4136.hashnode.dev/creating-a-forum-board-with-server-side-rendering-ssr-tsx-way?utm_source=hashnode&utm_medium=feed)

[Mar 6, 2025](https://hashnode.com/posts/creating-a-forum-board-with-server-side-rendering-ssr-tsx-way/67c8f174d840c83c28e82310)

### [custom error page in nginx](https://wab4136.hashnode.dev/custom-error-page-in-nginx?utm_source=hashnode&utm_medium=feed)

first create an error page (error.html) in your root document. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Error</title> <style> ...

1 min read · [wab4136.hashnode.dev](https://wab4136.hashnode.dev/custom-error-page-in-nginx?utm_source=hashnode&utm_medium=feed)

[Mar 5, 2025](https://hashnode.com/posts/custom-error-page-in-nginx/67c8e0f7029170b767aef607)

### [sorok nginx server info](https://wab4136.hashnode.dev/sorok-nginx-server-info?utm_source=hashnode&utm_medium=feed)

dalam internet ni banyak monyet. jadi sebagai sifat semula jadi seekor monyet. dia memang suka belek2 web app kau. dia buat info gathering lepas tu mula cari exploit. biasa la script kiddies. so ini cara aku sorok info server nginx. install nginx-ext...

1 min read · [wab4136.hashnode.dev](https://wab4136.hashnode.dev/sorok-nginx-server-info?utm_source=hashnode&utm_medium=feed)

[Mar 4, 2025](https://hashnode.com/posts/sorok-nginx-server-info/67c650da017a4fdd9d16f8cc)
