Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Smarteist smarteist

I may be slow to respond.
  • Azerbaijan Baku
Block or report user

Report or block smarteist

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
cagcak /
Created Jul 26, 2018 — forked from posemon/
Postman install Ubuntu 18.04
# Get postman app
wget -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
#Create a Desktop Entry
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
davejamesmiller /
Last active Oct 12, 2019
Laravel's Dependency Injection Container in Depth

Laravel's Dependency Injection Container in Depth

Translations: Korean (by Yongwoo Lee)

Laravel has a powerful Inversion of Control (IoC) / Dependency Injection (DI) Container. Unfortunately the official documentation doesn't cover all of the available functionality, so I decided to experiment with it and document it for myself. The following is based on Laravel 5.4.26 - other versions may vary.

Introduction to Dependency Injection

I won't attempt to explain the principles behind DI / IoC here - if you're not familiar with them you might want to read What is Dependency Injection? by Fabien Potencier (creator of the Symfony framework).

ankurk91 /
Last active Oct 15, 2019
php xDebug on Ubuntu/Mac and phpStorm 2019

🐞 Install and Configure xDebug on MacOS for PhpStorm 🐘

⚠️ This guide only applies to Homebrew v1.6+

  • Check your version brew --version before proceeding

  • Assuming that you have already installed php and apache via Homebrew v1.6+

  • Install xDebug php extension

pecl channel-update
pecl clear-cache
ControlledChaos /
Last active Oct 18, 2019
Change the default WordPress post name to News and replace the Dashicon.

Change Default Posts to News

WordPress Snippet

You can’t perform that action at this time.