To see the current volume, run alsamixer
. Let's consider the current volume shown is 40.
Run pacmd list-sources
.
#!/bin/bash | |
# | |
# Run docker-compose in a container | |
# | |
# This script will attempt to mirror the host paths by using volumes for the | |
# following paths: | |
# * $(pwd) | |
# * $(dirname $COMPOSE_FILE) if it's set | |
# * $HOME if it's set | |
# |
#!/usr/bin/env bash | |
VERSION_PATTERN="([0-9]+\.[0-9]+\.[0-9]+)" | |
case "${1}" in | |
"phpstorm") | |
TOOL_NAME="PhpStorm" | |
INSTALL_DIR="/opt/phpstorm" | |
case "${2}" in | |
"eap") |
sudo dpkg --add-architecture i386 | |
sudo apt update | |
cd ~/Downloads | |
curl -L -o teamviewer_i386.deb "https://download.teamviewer.com/download/teamviewer_i386.deb" | |
sudo apt install -y ./teamviewer_i386.deb | |
rm teamviewer_i386.deb |
#!/usr/bin/env bash | |
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
ANCESTOR=$(git merge-base $CURRENT_BRANCH master) | |
OIFS=$IFS | |
IFS=$'\n' FILES=($(git diff --name-status $ANCESTOR HEAD | grep -E '^[AM].+\.php$' | awk '{print $2}')) | |
IFS=$OIFS | |
php-lint.sh "${FILES[@]}" |