argus.py 可以仍是昔日素心悠游的少年
有的时候, 会扫一眼来信的签名。
有的是纯工作单位和联系电话, 如偶像的; 有的啥也没有, 连“这个人很懒,
什么也没有留下“也没有; 有的是莫名其妙的名字, 也不知道啥意思, 如果来
信是讨教问题的, 就感觉像是蒙个猪头的家伙闯入你家门, 问“你说我这病咋治
“, 你说我要把下脉, 对面的先生大摇其头, 说可不能让你见了我的真面目。
签名各种各样, 没创意的居多。而建一每次的签名总能让我目光停留。 所以,
私底下以为, 这个工程师的心底里是个文学青年。
建一的某个签名是: 我已不是昔日素心悠游的少年。
其实, 你可以是的, 永远都可以。
We carry our laptop computer to different places, such as workshop,
office, home, etc., where we connect it with different monitors. We
click the mouse to setup the resolution, position, ratation for every
monitor repeatly.
With Arugus, the untility for saving your current setting of
display/monitor, you can collect automaticlly for all the
display/monitor connected to your computer into a shell code, which
later you can run to restore the setting.
What you need is just remember the name of the shell code, which
brings you all the information of your favorate working environment as
soon as you run it.
An simple example is as the follow.
I have a Dell display in 23 inch, which can rotate vertically for
programmer easilly browsing a large scale of code with out pagedown
or pageup, as well as rotate horizantally for watching movie without
black edge.
I turn the monitor left, before setting up the layout (position and
mode and rotation) for it with System->Monitors in Ubuntu. Then, I run
: ~ $ arugus.py -s programming.sh
to cteate a file named programming.sh excutable.
: ~ $ cat programming.sh
: #!/bin/bash
: xrandr --output VGA1 --pos 0x0 --mode 1920x1080 --rotate left
: xrandr --output LVDS1 --pos 0x1920 --mode 1280x800 --rotate normal
I turn the monitor horizatally, then also set up the current layout
manually with GUI System->Monitors. I save the current setting as movie.sh.
: ~ $ arugus.py -s movie.sh
: ~ $ cat movie.sh
: #!/bin/bash
: xrandr --output VGA1 --pos 0x0 --mode 1920x1080 --rotate normal
: xrandr --output LVDS1 --pos 248x1080 --mode 1280x800 --rotate normal
Once completed the steps above, we can switch the working condition
with running the corresponding shell code.
When I watch movie,
: ~$ ./movie.sh
when I input code,
: ~$ ./programming.sh
In my office, in my classroom with projector, or in my workshop, I can
switch my laptop to the suitable state.
We can return whatever we have been, if we remember. Yesterday once
more.
Dependency:
xrandr, you usually have.
python, you usually have.
bash, you usually have.
[https://github.com/younggift/argus]
分享到:
相关推荐
这题即zoj - 2212(当时的思路:http://blog.csdn.net/scnu_jiechao/article/details/8273149),在书上汝佳说重载运算符 的时候,const必不可少,于是今天就加了这个const进去,虽说不加这个const也AC得了,但我...
pip install -U git+https://github.com/lRomul/argus.git 例子 与简单的图像分类例如create_model从: from torchvision . datasets import MNIST from torch . utils . data import DataLoader from torchvision ...
Argus Developer in Practice fills an important gap in the market. Argus Developer, and its predecessor Circle Developer, has long had a dominant position as the primary real estate development ...
资源来自pypi官网。 资源全名:argus_toolbelt-1.5.0-py3-none-any.whl
资源来自pypi官网。 资源全名:argus_toolbelt-1.12.0-py3-none-any.whl
Argus Developer in Practice fills an important gap in the market. Argus Developer, and its predecessor Circle Developer, has long had a dominant position as the primary real estate development ...
Argus 3.0.8.1 包源 Argus 是一种 IP 网络事务审计工具,可生成所有网络事务及其状态和性能的网络活动审计。 Argus 生成的数据可用于广泛的任务,包括网络运营、安全、保障和性能管理。 这个包包含网络活动传感器,...
资源分类:Python库 所属语言:Python 资源全名:argus-toolbelt-1.0.26.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
Argus, 时间序列监控与报警平台 Argus是一个时间序列监控与报警。 它包括用于配置警报。收集和转换度量&事件。发送通知。创建命名空间和执行策略和配额。它的体系结构允许任何和所有这些服务重新定位到新技术,而...
资源来自pypi官网。 资源全名:argus-toolbelt-1.0.17.tar.gz
本人写的一个类似netflow和argus的,可以在本地统计和记录所有网络流量详细信息的C程序。因为netflow需要设备支持,而argus没有windows版,所以自己动手写了个简单的实现。还有后续版本,需要可以共同讨论。
python3 win-local.py或python3 win-remote.py 想要将脚本转换为.EXE格式? 有两种方法可以实现 使用pyinstaller的首选 pip3安装pyinstaller pyinstaller --onefile filename [这需要一段时间,请耐心等待] 完成...
Argus监控系统产品说明书.doc
Argus流量监视软件(Linux下) 网络监视软件 很有名的
ACM,竞赛题目,我已经在上面测试过了,可以用,题目是ARGUS,希望大家可以喜欢,花了长时间才弄好的
#ARGUS-TV-GuideEnhancer ARGUS TV 2.3.0+的电子节目指南增强器 是一种复杂的调度/记录引擎。 它具有自己的电子节目指南( )。 您可以从许多来源( , , 等)中填充该指南。 无论填充的方法如何,您都可能希望...