Skip to content

Instantly share code, notes, and snippets.

View Elamurugan-Nallathambi's full-sized avatar

Elamurugan Nallathambi Elamurugan-Nallathambi

  • Cognizant Technology Solutions
  • Charlotte, NC
  • LinkedIn in/elamurugan
View GitHub Profile
@ivanfioravanti
ivanfioravanti / luxurytravelwebsite.md
Created January 18, 2026 07:47
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)
@yongghongg
yongghongg / stock_screener.py
Last active October 19, 2024 06:01
Build your own technical analysis stock screener using Python
#import required modules
from bs4 import BeautifulSoup
import ast
import pandas as pd
import re
import requests
from datetime import datetime
def get_stock_price(ticker):
# pass a ticker name to i3investor website url
@daehahn
daehahn / wsl2-network.ps1
Last active September 28, 2025 12:00
WSL 2 TCP NETWORK FORWARDING
# WSL2 network port forwarding script v1
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell,
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter.
# written by Daehyuk Ahn, Aug-1-2020
# Display all portproxy information
If ($Args[0] -eq "list") {
netsh interface portproxy show v4tov4;
exit;
}
FROM php:7.2-apache
ENV XDEBUG_PORT 9000
# Install System Dependencies
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
software-properties-common \
&& apt-get update \
@rafaelstz
rafaelstz / magedeploy.sh
Created May 12, 2020 21:35
Magento 2 Deploy script
#!/usr/bin/env bash
LANGUAGES="en_US pt_BR"
# production or developer
ENVIRONMENT="production"
COMPOSER=$(which composer)
PHP=$(which php)
ROOT=$(pwd)
@NPS-ARCN-CAKN
NPS-ARCN-CAKN / Sql: Select distinct values into comma separated list.sql
Last active May 10, 2022 15:19
Sql: Select distinct values into comma separated list
DECLARE @Packs AS NVARCHAR(MAX)
select @Packs = STUFF((SELECT DISTINCT ',' + QUOTENAME(LTRIM(RTRIM(Pack))) from basequeryTotalPupsByRegion FOR XML PATH(''), TYPE).value('.', 'NVARCHAR(MAX)'),1,1,'')
select @Packs
@molotovbliss
molotovbliss / clixdebug.cmd
Created November 12, 2019 21:07
Warden command for xdebug from CLI
#!/usr/bin/env bash
[[ ! ${WARDEN_COMMAND} ]] && >&2 echo -e "\033[31mThis script is not intended to be run directly!" && exit 1
source "${WARDEN_DIR}/utils/env.sh"
WARDEN_ENV_PATH="$(locateEnvPath)" || exit $?
loadEnvConfig "${WARDEN_ENV_PATH}" || exit $?
pushd "${WARDEN_DIR}" >/dev/null
# docker exec -ti <CONTAINER_ID> php -d xdebug.remote_autostart=on -d xdebug.remote_host=host.docker.internal bin/magento
containerid=$(docker ps -qf "name=debug")
@iki
iki / docker-compose.yml
Created September 15, 2019 20:12
Docker-compose nginx CORS proxy
version: '3.7'
services:
whoami:
image: jwilder/whoami
ports:
- 127.0.0.1:7000:8000
cors:
@jalogut
jalogut / docker_space_cheat_sheet.md
Last active February 16, 2026 10:44
Cheat sheet to check disk usage on docker. Identify what takes most of your space

Total disk size configuration (Mac)

ls -klsh ~/Library/Containers/com.docker.docker/Data/vms/0/Docker.raw

Total disk usage (Mac)

du -h ~/Library/Containers/com.docker.docker/Data/vms/0/Docker.raw
@leek
leek / _Magento2_DeleteTestData.md
Last active April 18, 2026 13:38
Magento 2 - Delete All Test Data

These set of scripts are for Magento 2. For Magento 1, see this Gist.