Skip to content

Instantly share code, notes, and snippets.

View Aryo07's full-sized avatar
🏠
Working from home

Aryo Kesuma Aryo07

🏠
Working from home
View GitHub Profile
@ASertacAkkaya
ASertacAkkaya / Laravel_12_TailwindCSS_3.md
Last active October 3, 2025 07:07
Laravel 12 with TailwindCSS 3

1. Remove TailwindCSS Vite plugin:

npm remove @tailwindcss/vite

2. Update vite.config.js:

import { defineConfig } from 'vite';
<?php
namespace App\Libraries;
use App\Entities\User;
use App\Entities\Purchase;
use Config\Services;
use WpOrg\Requests\Requests;
/**
@MatinMN
MatinMN / Laravel Alpine JS Modal
Last active August 27, 2025 12:19
Laravel Modal Component
// open modal from livewire component
$this->dispatch('open-modal', name: 'user-details');
// close modal
$this->dispatch('close-modal');
@alfajrimutawadhi
alfajrimutawadhi / deploy-laravel-id.md
Last active December 24, 2025 14:02
Cara deploy Laravel ke server (VPS)

Cara deploy aplikasi Laravel ke server (VPS)


Beberapa hal yang kamu perlukan :

  • project Laravel
  • VPS / Virtual Private Server
  • Domain (jika punya)

Berikut cara deploy aplikasi Laravel kamu ke server

  1. Letakkan project Laravelmu ke source code management (github/gitlab/yang lain)
    Disini saya akan menggunakan repository company-management saya.
HIRE Me For Your Project Support :)
Telegram: https://t.me/LinuxGun
#!/bin/bash
# Completely Remove Apache Ubuntu
service apache2 stop
apt purge apache2
apt remove apache2.*
apt autoremove
whereis apache2

Naming Controllers

Controllers should be in singular case, no spacing between words, and end with "Controller".

Also, each word should be capitalised (i.e. BlogController, not blogcontroller).

For example: BlogController, AuthController, UserController.

Bad examples: UsersController (because it is in plural), Users (because it is missing the Controller suffix).
@giordanocardillo
giordanocardillo / README.MD
Last active November 17, 2025 15:43
Remove Office 2016 Product Key

Caution

Due to the subject of this Gist there are a lot of spam/scam comments. I try to remove them all as soon as possible. I don't recommend you to click on any link in the comments

How to remove Microsoft Office 2016 Product Key

  1. Open a command prompt as Administrator
  2. In the command prompt, type the following:
  • Office 2016 (32-bit) on a 32-bit version of Windows

cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus