Skip to content

Instantly share code, notes, and snippets.

View luongnv89's full-sized avatar
💭
cool

Luong NGUYEN luongnv89

💭
cool
View GitHub Profile
@luongnv89
luongnv89 / ai-tools-updater.sh
Created March 12, 2026 08:39
ai-tools-updater (Claude Code, Codex, OpenCode, Ollama, OpenSpec)
#!/bin/bash
# Update AI CLI tools
# Tools: Claude Code, Codex, OpenCode, Ollama, OpenSpec
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
BLUE='\033[0;34m'
DIM='\033[2m'
BOLD='\033[1m'
@luongnv89
luongnv89 / luxurytravelwebsite.md
Last active January 19, 2026 14:32 — forked from ivanfioravanti/luxurytravelwebsite.md
luxurytravelwebsite prompt for testing coding agents

Create a production-ready, visually stunning website with a futuristic luxury travel theme.

GOAL Build a single-page (plus optional “Destination” detail route) website for a fictional brand: “AURORA LUXE TRAVEL” — ultra-premium, concierge-level trips.

TECH STACK (use exactly this unless something breaks)

  • Next.js (latest stable) + TypeScript
  • Tailwind CSS
  • Framer Motion (for scroll/entrance animations)
@luongnv89
luongnv89 / install-rabbitmq-server-ubuntu-16.04.sh
Created October 25, 2019 09:46
Install RabbitMQ Server on Ubuntu 16.04
#!/bin/sh
## If sudo is not available on the system,
## uncomment the line below to install it
# apt-get install -y sudo
sudo apt-get update -y
## Install prerequisites
sudo apt-get install curl gnupg -y
@luongnv89
luongnv89 / vscode-extensions-list.sh
Last active September 20, 2019 21:58
Useful vscode extensions for: nodejs, reactjs, graphql, markdown, ....
code --install-extension 2gua.rainbow-brackets
code --install-extension abusaidm.html-snippets
code --install-extension akamud.vscode-theme-onedark
code --install-extension chrmarti.regex
code --install-extension coderfee.open-html-in-browser
code --install-extension CoenraadS.bracket-pair-colorizer
code --install-extension DavidAnson.vscode-markdownlint
code --install-extension dbaeumer.jshint
code --install-extension dbaeumer.vscode-eslint
code --install-extension DotJoshJohnson.xml
@luongnv89
luongnv89 / react-native-ios.md
Last active November 1, 2018 15:40
Short story of creating/building a React-Native app and install it on an iOS device
@luongnv89
luongnv89 / spinner.html
Last active December 22, 2017 22:37
Spinner with jquery, bootstrap and font-awesome
<!--
Required:
- jquery
- bootstrap
- font-awesome
-->
<div id="mySpinner" class="panel panel-default" style="position: fixed; z-index: 1000; background-color: rgba(0,0,0,0.8); color: white; top: 30%; left:20%;font-size: 1.2em; padding: 10px; text-align: center;" hidden>
<div class="panel-body">
<i class="fa fa-spinner fa-pulse fa-2x fa-fw"></i> <span>We are processing... It may take some minutes!</span>
</div>
@luongnv89
luongnv89 / install-symfony3.sh
Last active December 18, 2017 11:09
Getting started with symfony3
#!/usr/bin/bash
# Make sure php and composer have been installed
# Create a project
composer create-project symfony/framework-standard-edition my-project 3.4
# Follow the tutorial: https://symfony.com/doc/current/quick_tour/the_big_picture.html
# Some should have VSCode packages: symfony, twig
# Trouble shooting: https://stackoverflow.com/questions/40345517/symfony-3-1-routing-placeholder-default-value/47867194#47867194
@luongnv89
luongnv89 / jenkins-ec2-centos.sh
Last active October 12, 2017 06:02
Install Jenkins on EC2 Centos Server (Amazon)
#!/bin/bash
# Install stable version
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins
# Install Java version 1.8
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jre-8u144-linux-x64.rpm"
sudo yum localinstall jre-8u144-linux-x64.rpm
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm"
sudo yum localinstall jdk-8u144-linux-x64.rpm
#!/bin/bash
git clone https://github.com/google/googletest.git
cd googletest/googletest/
mkdir build
cd build/
cmake ..