PhpStorm 7.0x
Create a file ~/.local/share/applications/jetbrains-phpstorm.desktop
With the following value:
#!/bin/bash | |
# | |
# Based upon [[https://superuser.com/questions/1268732/how-to-hide-tab-bar-tabstrip-in-firefox-57-quantum/1268734#1268734][How to hide tab bar (tabstrip) in Firefox 57+ Quantum]] by [[https://superuser.com/users/162466/vasyanovikov][VasyaNovikov]] | |
# This causes the [[https://support.mozilla.org/en-US/questions/1187186][The Back Button is top right under the Red close button on my Mac]] issue. | |
# Resolve that by right-clicking the toolbar, then inserting three Flexible Space into the toolbar on the far-left-hand side. | |
case $( uname ) in | |
"Linux") | |
profile_dir=~/.mozilla/firefox/$( ls -tr ~/.mozilla/firefox/ | grep -v profiles.ini | tail -1 ) | |
;; | |
"Darwin") |
✨ - New feature | |
👾 - Bugfix | |
🎨 - UI and style | |
🔨 - Code refactoring, dependency upgrade, improving code quality | |
🚧 - Work in progress | |
🌐 - Translations | |
🚀 - Performance improvement | |
♿ - Accessibility improvements | |
🔒 - Security improvement | |
⚙️ - Configuration |
PhpStorm 7.0x
Create a file ~/.local/share/applications/jetbrains-phpstorm.desktop
With the following value:
#!/usr/bin/env bash | |
### | |
# A CMD or ENTRYPOINT script for a Dockerfile to use to start a Nginx/PHP-FPM | |
# | |
# For more details, see 🐳 https://shippingdocker.com | |
## | |
if [ ! "production" == "$APP_ENV" ] && [ ! "prod" == "$APP_ENV" ]; then | |
# Enable xdebug |
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Collection; | |
class ParentChildHierarchy | |
{ | |
public static function apply($entities, $primaryKey = "id", $parentKey = "parent_id", $parentRelation = "parent", $childRelation = "children") | |
{ |