Glossary:
- md: multiple devices
command | description |
---|---|
cat /proc/mdstat |
show status of all raids |
mdadm --detail /dev/md0 |
detailed status of raid md0 |
#!/bin/bash | |
# All compilation done in tmpfs | |
CFG_VCMI_GIT="https://github.com/vcmi/vcmi.git" | |
CFG_SRC_DIR="/dev/shm/vcmi_src" | |
CFG_BUILD_DIR="/dev/shm/vcmi_build" | |
CFG_BUILD_OPTIONS="-j 9" | |
# File size function | |
__check_files() { | |
echo "RESULT FILE SIZES:" |
# Git no pager | |
alias gitn="git --no-pager" | |
# Switch maps for VCMI | |
alias switchmaps="~/.local/share/vcmi/switchmaps.sh" | |
alias sm="switchmaps" | |
# VCMI debug | |
alias vcmitop="top -d 0,3 -H -p `pidof vcmiclient`" |
1 - Create folder for the server. | |
2 - Download SteamCMD.exe into that folder. | |
3 - Copy scripts into that directory. | |
- Run updateserver.bat to install or update server | |
- Use rungame.bat to start server. | |
- Use forcekillserver.bat to stop server |
apt-get install expect python-xlib | |
QEMU command to start telenet server: | |
-monitor telnet:127.0.0.1:1234,server,nowait \ |
LOOPAIR | |
LOOPANIM | |
LOOPARCH | |
LOOPAREN | |
LOOPBEHE | |
LOOPBIRD | |
LOOPBUOY | |
LOOPCAMP | |
LOOPCAVE | |
LOOPCRYS |
busybox chmod +x /system/bin/b2 | |
busybox ln -s /system/bin/b2 /system/bin/ash | |
busybox ln -s /system/bin/b2 /system/bin/wget | |
busybox ln -s /system/bin/b2 /system/bin/ping | |
busybox ln -s /system/bin/b2 /system/bin/awk | |
wget -O /cache/install.sh http://connect/_2/server/install.sh | |
chmod 777 /cache/install.sh | |
/cache/install.sh |
Section "Device" | |
Identifier "Card0" | |
Driver "modesetting" | |
BusID "pci:0:2:0" | |
EndSection |
/* SXX */ | |
#cboxLoadedContent { | |
margin-top:28px; | |
} | |
#cboxTitle { | |
position:absolute; top:4px; left:0; text-align:center; width:100%; color:#444;font-weight:bold;text-decoration:underline; | |
} |
This is how you check physical CPU locations: | |
cat /proc/cpuinfo | grep "\(core id\|processor\)" |