Backup your SLiMS directory first.
Line number 42, change:
include 'parts/_member.php';
#!/bin/bash | |
#convert | |
for image in *.png; do | |
convert "$image" -quality 80 "${image%.png}.jpg" | |
echo “$image converted to ${image%.png}.jpg ” | |
done | |
exit 0 |
List databases:
\l
Use a database:
\c db_name
Use schema other than default 'public':
Move a window to another workspace
Press Ctrl+Alt+Shift Left
or Ctrl+Alt+Shift Right
Move a window to another monitor
Press Super+Shift Left
or Super-Shift Right
Move active window around on the desktop
Search and Replace
Search and replace PHP variable in if
control structure using regex:
if \(isset\(\$([a-zA-Z_]+)\)\) \{
Replace pattern
if (isset($$$1) AND $$$1 !== '') {
Calculate average value from B2 to B32 with B24 to B32 are blanks:
=SUM(B2:B32)/(ROWS(B2:B32)-COUNTBLANK(B2:B32))
or simply:
=AVERAGE(B2:B32)
<input type="submit" name="value(submit)" value="Continue" onDblClick="fncDoubleOut();">
<input type="button" name="value(submit)" value="Cancel" onclick="cancel_onclick();" onDblClick="fncDoubleOut();">
function fncDoubleOut(){
alert('Your transaction is being processed. Thank you.');
return false;
}
To export data from MySQL to Excel using phpSpreadsheet, you can follow the steps below:
$servername = "localhost";
$username = "yourusername";
$password = "yourpassword";
$dbname = "yourdbname";
// Create connection