Get OpenGL information for the graphics processor
glxinfo
lscpi
lspci | grep VGA
Get OpenGL information for the graphics processor
glxinfo
lscpi
lspci | grep VGA
user nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
function makee() { | |
make $@ 2>&1 | grep -v AVERTISSEMENT | |
} |
cat /proc/cpuinfo
Get number of cores
grep "cpu cores" /proc/cpuinfo
Get cpu topology
I hereby claim:
To claim this, I am signing this object:
echo $(git rev-list --all --count).$(git rev-parse --short HEAD)$([[ -z "$(git status --porcelain --untracked-files=no)" ]] || echo "+") |
start=$(date +%s%3N) | |
sleep 42 | |
end=$(date +%s%3N) | |
echo done in $((end-start))ms |
function expand_home() { | |
echo "${1/#\~/$HOME}" | |
} |
# Show all hosts in lan | |
arp -n | |
# Show hostname | |
nslookup xxx.xxx.xxx.xxx |