Skip to content

Instantly share code, notes, and snippets.

Cord cord

Block or report user

Report or block cord

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ghosh
ghosh / micromodal.css
Last active Nov 19, 2019
Demo modal styles for micromodal.js and corresponding expected html. If using this, set the `awaitCloseAnimation` in config to true
View micromodal.css
/**************************\
Basic Modal Styles
\**************************/
.modal {
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}
.modal__overlay {
position: fixed;
@m4grio
m4grio / Blueprint.php
Last active Jun 14, 2019
Extending Laravel 5 Blueprint for MySqlConnection
View Blueprint.php
<?php
namespace App\Database\Schema;
use Illuminate\Database\Schema\Blueprint as ParentBlueprint;
use Illuminate\Support\Facades\DB;
/**
* Class Blueprint
*
@eseyden
eseyden / RemoteViewFinder.php
Last active Aug 29, 2015
Fetch Remote View Laravel
View RemoteViewFinder.php
<?php namespace Acme\View;
use Illuminate\View\FileViewFinder;
use Cache;
use Carbon\Carbon;
use File;
class RemoteViewFinder extends FileViewFinder {
public function find($name)
{
@irazasyed
irazasyed / Install Composer using MAMP's PHP.md
Last active Dec 10, 2019
Instructions on how to change preinstalled Mac OS X PHP to MAMP's PHP Installation and then install Composer Package Management
View Install Composer using MAMP's PHP.md

Change default Mac OS X PHP to MAMP's PHP Installation and Install Composer Package Management


Instructions to Change PHP Installation


First, Lets find out what version of PHP we're running (To find out if it's the default version).

To do that, Within the terminal, Fire this command:

which php
You can’t perform that action at this time.