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-alternatives --set cc /usr/bin/gcc | |
update-alternatives --set c++ /usr/bin/g++ | |
cc --version | |
c++ --version | |
apt install nvidia-driver-460 | |
update-alternatives --set cc /usr/bin/clang | |
update-alternatives --set c++ /usr/bin/clang++ | |
cc --version |
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
TEST_CASE("C-Box-relations", "") { | |
CTestEnv env; | |
env.enableManyEntity(); | |
obx_schema_id test_id = obx_store_entity_id(env.store(), "TestEntityCpp"); | |
obx_id ta_id = env.putTestEntity(0, "ta"); | |
obx_id tb_id = env.putTestEntity(0, "tb"); | |
obx_id tc_id = env.putTestEntity(0, "tc"); |
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
pactl load-module module-loopback latency_msec=1000 | |
#switch off: | |
#pactl unload-module module-loopback |
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 | |
free -h | |
echo "Pruning caches..." | |
sync | |
echo 3 | sudo tee /proc/sys/vm/drop_caches | |
free -h | |
echo "Hibernating..." | |
sudo systemctl hibernate |
OlderNewer