Skip to content

Instantly share code, notes, and snippets.

View ahmadnaser's full-sized avatar

Ahmad Naser ahmadnaser

View GitHub Profile
@ahmadnaser
ahmadnaser / Complete React SVG Maze Game.md
Created August 27, 2025 02:14
Complete React SVG Maze Game - Step by Step Guide

Complete React SVG Maze Game - Step by Step Guide

This guide provides complete steps to create an interactive SVG maze game in React from scratch.

Step 1: Create React Project

# Create new React app
npx create-react-app svg-maze-game
cd svg-maze-game
@ahmadnaser
ahmadnaser / Introduction to Artificial Intelligence.md
Last active August 23, 2025 22:58
Introduction to Artificial Intelligence

Introduction to Artificial Intelligence - Complete Summary

📋 Course Outline

  1. Timeline of AI
  2. What's AI? ML? DL? GenAI?
  3. Types of AI
  4. AI in everyday life
  5. Myths about AI
  6. How does AI work?
  7. Data & Algorithm

Complete Next.js Textarea to MongoDB Solution

Project Structure

my-textarea-app/
├── package.json
├── .env.local
├── next.config.js
├── tailwind.config.ts
├── tsconfig.json
@ahmadnaser
ahmadnaser / Email Marketing & Acelle Mail Checklist.md
Last active April 15, 2025 20:46
Email Marketing & Acelle Mail Checklist

Email Marketing & Acelle Mail Checklist

Here's a comprehensive checklist for your email marketing campaigns using Acelle Mail:

📋 Pre-Send Checklist

  • Subject line is compelling and under 50 characters
  • Preview text is set and complements the subject line
  • Sender name and email address are recognizable
  • Reply-to email is monitored and valid
@ahmadnaser
ahmadnaser / ! .gitignore
Created September 9, 2023 18:28
! .gitignore for Express app
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
rewrite ^(.*)$ /public/$1 break;
location / {
index index.php index.html;
try_files $uri $uri/ /index.php?$args;
}
@ahmadnaser
ahmadnaser / JS and jQuery learning resources
Created February 19, 2019 19:01 — forked from esergueev/JS and jQuery learning resources
JS and jQuery learning resources
JavaScript learning resources.
Starting point for those, who have already learned JS, but forgotten. Good article. Quite compact.
https://developer.mozilla.org/en/JavaScript/A_re-introduction_to_JavaScript
Question: what's the best learning source on JS. Some answers.
http://stackoverflow.com/questions/11246/best-resources-to-learn-javascript
http://stackoverflow.com/questions/2687566/learning-javascript-in-one-weekend
http://net.tutsplus.com/tutorials/javascript-ajax/the-best-way-to-learn-javascript/
in the end </head> of template folder, go to the selected theme index.php and apply following code
///Developed By Ahmad Naser Turnkey Solutions LLC - Greenbackend.com
///http://greenbackend.com/developer-hosting
///www.greenbackend.com
// www.khottah.com
///[email protected]
///copyright © 2018 ANTS LLC. All rights reserved.
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using UnityEngine.SceneManagement;
public class LoadingScreenManager : MonoBehaviour {
[Header("Loading Visuals")]
public Image loadingIcon;
public Image loadingDoneIcon;
//Shared on Ahmad Naser.com
func PlayAudioInSwift3() {
var player = AVAudioPlayer()
let audioPath = Bundle.main().pathForResource("2-loader", ofType: "mp3")