Skip to content

Instantly share code, notes, and snippets.

RI Rijan DeveloperRijan

View GitHub Profile
@simonhamp
simonhamp / AppServiceProvider.php
Last active Jul 3, 2020
A pageable Collection implementation for Laravel
View AppServiceProvider.php
<?php
namespace App\Providers;
use Illuminate\Support\Collection;
use Illuminate\Pagination\LengthAwarePaginator;
class AppServiceProvider extends ServiceProvider
{
public function boot()
@ankitnetwork18
ankitnetwork18 / gist:4509792
Created Jan 11, 2013
mysql: dump of indian cities and states
View gist:4509792
-- phpMyAdmin SQL Dump
-- version 2.11.6
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Generation Time: Jan 11, 2013 at 04:24 PM
-- Server version: 5.0.51
-- PHP Version: 5.2.5
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
You can’t perform that action at this time.