Skip to content

Instantly share code, notes, and snippets.

View Boghdady's full-sized avatar

Ahmed Boghdady Boghdady

View GitHub Profile
[
{
"metadata": {
"id": "2cbad5ee-b4ab-4de8-a1c7-77fede846155",
"publisherId": "patbenatar.advanced-new-file",
"publisherDisplayName": "patbenatar"
},
"name": "advanced-new-file",
"publisher": "patbenatar",
"version": "1.2.2"
@Boghdady
Boghdady / eslint-config-airbnb.js
Last active April 28, 2024 06:11
Eslint airbnb configrations for nodejs projects
// 1- Install these packages in your dev dependencies using this command:
npm i -D eslint eslint-config-airbnb eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-node eslint-plugin-prettier eslint-plugin-react prettier
// 2- Create ".eslintrc.json" file in the root directory with these configration:
{
"extends": ["airbnb", "prettier", "plugin:node/recommended"],
"plugins": ["prettier"],
@Boghdady
Boghdady / ImageGallary.dart
Created February 19, 2020 12:15
Image Gallary inside NestedScrollView
import 'dart:ffi';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:photo_view/photo_view.dart';
import 'package:photo_view/photo_view_gallery.dart';
import 'package:dots_indicator/dots_indicator.dart';
class MoreScreen extends StatefulWidget {
@override