Skip to content

Instantly share code, notes, and snippets.

View Isengo1989's full-sized avatar
🏠
Working from home

Micha Hobert Isengo1989

🏠
Working from home
View GitHub Profile
@w00fz
w00fz / sphp.sh
Last active November 28, 2024 12:37
PHP switcher
#!/bin/bash
# Check if command was ran as root.
if [[ $(id -u) -eq 0 ]]; then
echo "The command \"sphp\" should not be executed as root or via sudo directly."
echo "When a service requires root access, you will be prompted for a password as needed."
exit 1
fi
# Usage
@llbbl
llbbl / gist:b08ed19281c06483242b
Last active March 9, 2022 05:15
Howto Add PhpStorm to Ubuntu Unity Launcher

PhpStorm 7.0x

Create a file ~/.local/share/applications/jetbrains-phpstorm.desktop

With the following value: