包含标签 Linux 的文章

ogre

1、Ogre

Object-Oriented Graphics Rendering Engine

* https://www.ogre3d.org/download/sdk/sdk-ogre
* https://ogrecave.github.io/ogre/api/latest/tutorials.html

阅读全文

Docker运行GUI 应用

Ubuntu平台上(其他Linux平台没测试过),运行Docker的GUI是很简单的事情,只要共享DISPLAY变量挂在/tmp/.X11-unix,并且开放控制X server的访问权限即可。

1、案例运行

在宿主机上运行命令

$ xhost +

此时就可以使用docker的图形界面了,比如测试如下:

$ sudo docker run -it …

阅读全文

SSH访问多服务的最佳实践

SSH访问多服务的最佳实践

我们为了解决每次都需要输入密码,而且需要记住服务IP

1、本地生成一对
$ ssh-keygen -t rsa
$ cd 
$ ls .ssh

2、记忆服务器地址
$ cd 
$ cd .ssh 
$ touch config
$ vim config 

=======================
Host name1 …

阅读全文

算法题

算法题

https://labuladong.gitbook.io/algo/
https://github.com/labuladong/fucking-algorithm

阅读全文

命令行用法查询

cheat

1、安装

Ubuntu
$ sudo apt install python3 python3-pip 
$ pip install cheat

Centos
$ yum install python python-pip 
$ pip install cheat

2、使用
$ cheat  tar

$ cheat -l  //查询哪些命 …

阅读全文