Skip to content

Instantly share code, notes, and snippets.

View bhargavraviya's full-sized avatar
🎯
Focusing

Bhargav Raviya bhargavraviya

🎯
Focusing
View GitHub Profile
@bhargavraviya
bhargavraviya / .gitconfig
Last active August 10, 2023 04:51
How to Color Git using Ubuntu Terminal?
[color]
ui = auto
[color "branch"]
local = yellow
current = yellow reverse
remote = green
[color "diff"]
frag = magenta bold
meta = yellow bold
new = green bold
@bhargavraviya
bhargavraviya / flutter_paginated_data_table_api.dart
Created July 10, 2023 17:16
Flutter Paginated Data Table with REST API
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
import '../../config/config.dart';
class DataModel {
final int id;
final String name;
final String email;
@bhargavraviya
bhargavraviya / favicon.php
Created June 15, 2020 17:21
favicon html code for all browsers
<?php $favicon_path = "/docroot/img/ico/"; ?>
<!-- Default -->
<link rel="shortcut icon" href="<?php echo $favicon_path; ?>favicon.ico"/>
<!-- For IE6+ -->
<link rel="shortcut icon" href="<?php echo $favicon_path; ?><?php echo $favicon_path; ?>favicon.ico" type="image/x-icon">
<!-- For IE6+ -->
<link rel="shortcut icon" href="<?php echo $favicon_path; ?>favicon.ico">
@bhargavraviya
bhargavraviya / bootstrap-message-chat-box.html
Created May 16, 2020 08:08
Bootstrap Message Chat Box using Bootstrap 4.5.0 , Font Awesome 4.7.0 Icon , Jquery 3.5.1
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Message Chat Box</title>
<meta name="description" content="Message Chat Box">
<meta name="author" content="BhargavRaviya">
<!-- Bootstrap 4.5 -->
@bhargavraviya
bhargavraviya / firebase-curl.php
Created May 10, 2020 04:54
PHP Non-blocking cURL requests to firebase for Push Notifications For Web | Android | IOS
<?php
// API access key from Google API's Console
define('API_ACCESS_KEY','YOUR-API-ACCESS-KEY-GOES-HERE');
$url = 'https://fcm.googleapis.com/fcm/send';
$registrationIds = array($_GET['id']);
// prepare the message
$message = array(

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

<?php
/**
* WP Bootstrap Navwalker
*
* @package WP-Bootstrap-Navwalker
*/
/*
* Class Name: WP_Bootstrap_Navwalker
* Plugin Name: WP Bootstrap Navwalker