Take a full page screenshot with Firefox on the command-line

The Developer Toolbar GCLI and Shift+F2 shortcut were removed in Firefox version 60. To take a screenshot in 60 or newer: press Ctrl+Shift+K to open the developer console (⌥ Option+⌘ Command+K on macOS) type :screenshot or :screenshot –fullpage Find out more regarding screenshots and other features For Firefox versions < 60: Press Shift+F2 or go … Read more

Compare a string using sh shell

You should use the = operator for string comparison: Sourcesystem=”ABC” if [ “$Sourcesystem” = “XYZ” ]; then echo “Sourcesystem Matched” else echo “Sourcesystem is NOT Matched $Sourcesystem” fi; man test says that you use -z to match for empty strings.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)