Skip to content

Instantly share code, notes, and snippets.

View arvindsvt's full-sized avatar

Arvind Shrivastwa arvindsvt

  • Ahmedabad
View GitHub Profile
@arvindsvt
arvindsvt / admin
Last active March 26, 2024 13:58
admin
<style>
.fa:before {
font-family: "Font Awesome 5 Free";
font-weight: 600;
}
</style>
https://stackoverflow.com/questions/60410742/jquery-to-javascript-toggle-class-on-click
<script>
$('.treeview').click(function()
{ // alert('First alert!');
@arvindsvt
arvindsvt / install-integrate-ckeditor-in-laravel
Created February 19, 2024 06:03
install-integrate-ckeditor-in-laravel
https://www.positronx.io/how-to-install-integrate-ckeditor-in-laravel/
https://stackoverflow.com/questions/28364496/how-to-remove-public-from-a-laravel-url
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
@arvindsvt
arvindsvt / laravel-return-the-first-row-in-table
Last active February 17, 2024 13:21
laravel-return-the-first-row-in-table
https://stackoverflow.com/questions/69087204/first-in-laravel-return-the-first-row-in-table
$singlerows = Singlerow::where('id', 1 )->first();
// $singlerows = Singlerow::skip(0)->take(1)->get()->toArray();
//dd($singlerows);
https://codepen.io/mustafa-a-aljasim/pen/oNbMNwG
@arvindsvt
arvindsvt / php-dynamically-add-remove-images-upload-using-ajax-technology
Last active March 31, 2024 03:12
upload-image-using-ajax-php-dynamically-add-remove-images-upload-using-ajax-technology
https://onlinecode.org/php-dynamically-add-remove-images-upload-using-ajax-technology
https://devnote.in/how-to-upload-and-delete-image-file-using-jquery-and-ajax/#google_vignette
https://www.itsolutionstuff.com/post/laravel-8-image-upload-tutorial-exampleexample.html
https://laravelproject.com/upload-image-using-ajax/
https://onlinecode.org/php-dynamically-add-remove-images-upload-using-ajax-technology/#google_vignette
https://laracasts.com/discuss/channels/laravel/how-to-yield-title-when-i-my-headerbladephp-is-at-include-in-the-appbladephp
https://www.webslesson.info/2019/07/how-to-upload-multiple-images-with-progress-bar-in-laravel-58.html
https://makitweb.com/how-to-upload-a-file-using-jquery-ajax-in-laravel/
@arvindsvt
arvindsvt / pusher-laravel-echo-private-channel
Last active February 5, 2024 21:24
pusher-laravel-echo-private-channel
https://www.youtube.com/watch?v=9v18GD0-kdw
https://github.com/acadea/course_laravel_api_server_livepost/blob/master/routes/web.php
https://harshanas.medium.com/implement-broadcasting-systems-on-private-channels-with-laravel-ably-69f219d2d3a6
https://www.appsloveworld.com/laravel/100/36/laravel-pusher-listen-for-private-channel-with-unique-id
https://medium.com/@theboringsolution/laravel-5-8-pusher-laravel-echo-private-channel-863192ef4d44
https://laracasts.com/discuss/channels/laravel/laravel-echo-pusher-not-authenticating-on-private-channel
https://github.com/laravelteacher/GroupChat-Pusher/blob/main/resources/js/app.js
https://developercodez.com/post/1688969478/real-time-data-transmission-in-laravel-10-using-pusher-step-by-step-guide-and-example
@arvindsvt
arvindsvt / query-on-tables-with-relationships-and-a-condition-in-a-pivot-table
Created January 31, 2024 01:25
query-on-tables-with-relationships-and-a-condition-in-a-pivot-table
https://laracasts.com/discuss/channels/eloquent/query-on-tables-with-relationships-and-a-condition-in-a-pivot-table
namespace App;
use Illuminate\Database\Eloquent\Model;
class Customers extends Model
{
public $primaryKey = 'id';
protected $fillable = [
@arvindsvt
arvindsvt / shopping-carts
Created January 16, 2024 15:56
shopping-carts
https://getbootstrap.com/docs/5.0/components/offcanvas/
https://getbootstrap.com/docs/4.0/examples/checkout/
https://mdbootstrap.com/docs/standard/extended/shopping-carts/
https://websitedemos.net/plant-shop-02/
https://websitedemos.net/plant-shop-02/product/bird-of-paradise/
@arvindsvt
arvindsvt / data table-material
Last active January 16, 2024 14:48
datatable-material
https://github.com/ndeet/unzipper/blob/master/unzipper.php
https://www.sourcecodester.com/php/11431/e-commerceshopping-cart-web-application.html
https://dcodemania.com/post/shopping-cart-with-checkout-system-php-mysqli-ajax
<!DOCTYPE html>
<html lang="en">
<head>
<title>https://uicookies.com/bootstrap-datatable/
https://uicookies.com/bootstrap-datatable/
https://codepen.io/heiswayi/pen/VvpmaE
https://codepen.io/paulpv/full/zWPKao
@arvindsvt
arvindsvt / Model-material
Created January 15, 2024 13:24
Model-material
<!DOCTYPE html>
<html lang="en" class="light-style layout-compact layout-navbar-fixed layout-menu-fixed " dir="ltr"
data-theme="theme-default"
data-assets-path="https://demos.themeselection.com/sneat-bootstrap-html-laravel-admin-template/demo/assets/"
data-base-url="https://demos.themeselection.com/sneat-bootstrap-html-laravel-admin-template/demo-1"
data-framework="laravel" data-template="vertical-menu-theme-default-light">
<head>
<meta charset="utf-8" />
@arvindsvt
arvindsvt / paginate
Last active April 3, 2024 16:38
paginate
CREATE TABLE `myTable` (
`id` enum('1') NOT NULL,
`MyValue1` int(6) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='The ENUM(''1'') construct as primary key is used to prevent that more than one row can be entered to the table';
https://stackoverflow.com/questions/4715183/how-can-i-ensure-that-there-is-one-and-only-one-row-in-db-table
https://www.itsolutionstuff.com/post/laravel-pagination-pretty-url-exampleexample.html
https://www.positronx.io/how-to-get-previous-and-next-record-in-laravel/
https://www.codesolutionstuff.com/laravel-full-text-search-with-scout?expand_article=1