This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update | |
apt-get install libdpkg-perl -y -f --allow-downgrades | |
apt-get install ocaml ocaml-native-compilers camlp4-extra opam -y -f | |
mkdir -p /usr/src/unison/ | |
cd /usr/src/unison/ | |
wget https://github.com/bcpierce00/unison/archive/refs/tags/v2.51.2.tar.gz -O unison.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This code checks for largest opcache consumers | |
$status = opcache_get_status(); | |
// remap | |
foreach ($status['scripts'] as $path => $script) { | |
$sizes[$path] = $script['memory_consumption']; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE `key_value` SET value = 'i:1;' WHERE `collection` LIKE 'pathauto_state.node' AND value LIKE '%:0;%'; |
OlderNewer