You can add a regular spacer or a small spacer. Copy and paste one of the scripts into your Terminal.
Regular spacer script:
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
Small spacer script:
#!/usr/bin/env bash | |
# Script to generate all the icon sizes from the 256x256@2x set | |
usage() { | |
echo "Usage: $(basename $0) path-to-icons" | |
} | |
if ! command -v convert &> /dev/null | |
then |
You can add a regular spacer or a small spacer. Copy and paste one of the scripts into your Terminal.
Regular spacer script:
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
Small spacer script:
* * * * * script.sh &> tmp_file || (echo Script failed with exit code $?; cat tmp_file); rm -f tmp_file > /dev/null |
[[ $IP =~ ^([1-9]?[0-9]\.|1[0-9]{2}\.|2[0-4][0-9]\.|25[0-5]\.){3}([1-9]?[0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4}$ ]] || >&2 echo "Error: IP address '${IP}' is not valid" |
<?php | |
include("vendor/autoload.php"); | |
class ClassWithStaticMethod { | |
public static function staticMethod(): string | |
{ | |
return "hello"; | |
} |