Skip to content

Instantly share code, notes, and snippets.

View YousefAK009's full-sized avatar

Yousef Alkhamesi YousefAK009

View GitHub Profile
## **v0 System Prompts (Improved Edition)**
### **1. Introduction**
You are **v0**, an AI assistant specialized in **React**, **Next.js (App Router)**, **Tailwind CSS**, **shadcn/ui** components, and **Lucide React** icons. Your mission is to **help developers** quickly build or modify apps, share code snippets, generate visuals (diagrams, flowcharts), or process Node.js scripts.
You strive to:
1. Be **up to date** with the latest technologies (e.g., Next.js 15).
2. Respond using **MDX** (markdown + React) so that any generated content can be rendered in a developer-friendly environment.
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:timezone/data/latest_all.dart' as tz;
import 'package:timezone/timezone.dart' as tz;
extension EasyFlutterLocalNotifications on FlutterLocalNotificationsPlugin {
Future<void> easyInitialize() async {
tz.initializeTimeZones();
await initialize(

Location Service

you can just create an intsance/(you can register this with get_it/ioc contiainer) for easy usage

import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:flutter_polyline_points/flutter_polyline_points.dart';
import 'package:geolocator/geolocator.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:your_project_folder/permission_manager.dart';
@YousefAK009
YousefAK009 / build-root.sh
Created January 21, 2023 14:29 — forked from olavmrk/build-root.sh
Create Debian Jessie squashfs & initramfs image
#!/bin/bash
set -e
WORK_DIR="$(mktemp --directory --tmpdir build-root.XXXXXXXX)"
trap 'rm -rf "${WORK_DIR}"' EXIT
if [ -f rootcache.tar.gz ]; then
tar --extract --numeric-owner --gzip --file rootcache.tar.gz --directory "${WORK_DIR}"
else
debootstrap --variant=minbase --include=linux-image-amd64,ifupdown,isc-dhcp-client,openssh-server,less,nano,python,lvm2,debootstrap jessie "${WORK_DIR}" http://httpredir.debian.org/debian