Skip to content

Instantly share code, notes, and snippets.

@seza443
seza443 / bash
Created September 20, 2017 08:32
[Sort NPM package.json] #npm #sort
npm remove --save anythingazazaz
npm remove --save-dev whateverazaezaeraef
@seza443
seza443 / bash
Created September 18, 2017 07:45
[Import MySQL dump] #mysql #dump #import
mysql -u user -p db_name < file.sql
@seza443
seza443 / bash
Last active August 31, 2017 09:08
[Symfony load fixture with AliceBundle v1] #symfony #alicebundle1 @fixture
php bin/console fixtures:load --purge-with-truncate
@seza443
seza443 / bash
Last active August 31, 2017 08:29
[Symfony load fixture with AliceBundle] #symfony #alicebundle2 @fixture
php bin/console hautelook:fixtures:load
@seza443
seza443 / bash
Created August 30, 2017 07:57
[Symfony list available services] #symfony #service #container #list
php bin/console debug:container
@seza443
seza443 / cmd
Last active August 24, 2017 09:32
[Symfony clear cache] #symfony #cache
php bin/console cache:clear
@seza443
seza443 / cmd
Created August 24, 2017 08:41
[Checkout new branch] #git #branch #new
git checkout -b newbranch
@seza443
seza443 / bash
Created August 22, 2017 12:51
[Api platform run server] #symfony #api-platform
php bin/console server:run
@seza443
seza443 / none
Created August 22, 2017 09:15
[Composer install] #composer #php
composer install
@seza443
seza443 / main.js
Created August 17, 2017 07:17
[JQuery document.ready handler] #jquery #init #document #ready
$(document).ready(function() {
// Handler for .ready() called.
});