Skip to content

Instantly share code, notes, and snippets.

View ayoubzulfiqar's full-sized avatar
👁️‍🗨️
Implementing

Sensei ayoubzulfiqar

👁️‍🗨️
Implementing
  • Freelancer (Open to Collaborations!)
View GitHub Profile
@ayoubzulfiqar
ayoubzulfiqar / spyware.md
Created April 22, 2023 08:51
This repo contain references to the spyware creation article and resources
@ayoubzulfiqar
ayoubzulfiqar / web_api.md
Last active January 29, 2023 09:04
This is Basic Information about Building AND Designing an API

Designing WEB API

API Definition

An Application Programming Interface APIs are the building blocks that allow interoperability for major business platforms on the web. APIs are how identity is created and maintained across cloud software accounts.

Use Cases

Here are some examples of developer use cases for an image upload and storage API:

@ayoubzulfiqar
ayoubzulfiqar / image_scraper.md
Created December 11, 2022 11:21
This is simple Image scraper that download images from any Website

Image Scraper in GO

package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
@ayoubzulfiqar
ayoubzulfiqar / json-server.md
Last active December 4, 2022 10:23
Simple JSON-Server Build with GO and GIN

How to Build Simple JSON - Server API with Go

Project Structure

ProjectStructure

STEP - 1

  • First we will create a main.go file in the root folder
  • Than we will run the go mod init basically we write the project name or any nae you want which is basically important
@ayoubzulfiqar
ayoubzulfiqar / dart.md
Created October 31, 2022 07:19
This Gist contain all the basic fundamentals of DART programming language

Learn DART in Minutes

Intorduction

Dart is an open-source general-purpose programming language. It is originally developed by Google and later approved as a standard by ECMA. Dart is a new programming language meant for the server as well as the browser. Introduced by Google, the Dart SDK ships with its compiler – the Dart VM. The SDK also includes a utility -dart2js, a transpiler that generates JavaScript equivalent of a Dart Script. This tutorial provides a basic level understanding of the Dart programming language.

DataTypes Variables and Operators

// Variable  - You can assign int bool or string anything you like
@ayoubzulfiqar
ayoubzulfiqar / hash_table.dart
Created October 21, 2022 16:08
HashTable Implementation in DART
// /*
// -* Hash Table *-
// The Hash table data structure stores elements in key-value pairs where
// Key- unique integer that is used for indexing the values
// Value - data that are associated with keys.
// Hashing (Hash Function)
@ayoubzulfiqar
ayoubzulfiqar / go-syntax.md
Last active October 16, 2022 14:54
This is Gist Containing the basic Understanding of Go Programming language

GO Syntax

  • Go is an open source programming language supported by Google
  • Easy to learn and get started with
  • Built-in concurrency and a robust standard library
  • Growing ecosystem of partners, communities, and tools

Variables

Connecting mySQL Database with Dart

Plugin

mysql1: ^0.20.0

Code

Example - 1

Animated Container

import 'dart:math' show Random;

import 'package:flutter/material.dart';

Analysis Options

Auto-generated options enabling all lints. Add these to your analysis_options.yaml file and tailor to fit! It's boolean so assign true or false value inside flutter analysis_option.yaml file

linter:
  rules:
    - always_declare_return_types:
    - always_put_control_body_on_new_line: