Skip to content

Instantly share code, notes, and snippets.

View tpaksu's full-sized avatar
🐇
Follow the white rabbit.

Taha Paksu tpaksu

🐇
Follow the white rabbit.
View GitHub Profile
@tpaksu
tpaksu / Kernel.php
Created December 9, 2020 13:36
Laravel Artisan command to perform MySQL Dump using database connection information in the .env file. Forked from https://gist.github.com/kkiernan/bdd0954d0149b89c372a
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
@tpaksu
tpaksu / javascript-plugin-patterns-FOUND-protoytpe-newed.js
Created March 6, 2020 11:57 — forked from mhulse/javascript-plugin-patterns-FOUND-protoytpe-newed.js
Some of my favorite JavaScript plugin design patterns: The Facade Pattern, The Revealing Module Pattern, Immediately-invoked Function Expressions (IIFE)s, The Module Pattern imports and exports
// http://callmenick.com/post/slide-and-push-menus-with-css3-transitions
(function(window) {
'use strict';
/**
* Extend Object helper function.
*/
function extend(a, b) {