Skip to content

Instantly share code, notes, and snippets.

View vulct174's full-sized avatar
🐼

Vu Le Cong Tuan vulct174

🐼
  • VietNam
View GitHub Profile
@vulct174
vulct174 / how-to-fix-node-env-on-windows.md
Last active September 3, 2025 11:11
How to Fix 'NODE_ENV' is not recognized Error on Windows (Node.js + NPM)

How to Fix 'NODE_ENV' is not recognized on Windows

1. Open terminal in your project folder

(make sure you are inside the folder containing your package.json)


2. Install cross-env

Run this command:

@vulct174
vulct174 / MonthPickerFormComponent.php
Created April 5, 2025 02:43
Implementing a Month Picker in FilamentPHP Form Field
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
public function form(Form $form): Form
{
return $form
->schema([
TextInput::make('month')
->type('month') // Use native HTML5 month picker
->hiddenLabel()