I’ve made some interesting improvements to my qemu-based pci/usb passthrough
as dynamic (passthrough to guest / restore to host) usb devices as mouse and keyboard,
network card passthrough for theoretically better latency, huge pages memory
preallocation, etc.
Думаю, что многие сталкивались с тем что скопировав что-то в буфер обмена,
они потом вспоминали что это не то что им нужно. Особенно это актуально если
используется не подсистема windows или mac os, а X11, где по-умолчанию во
многих DE могут синхронизироваться побочный(SECONDARY) буфер, который
используется для Ctrl-C/Ctrl-V. Для борьбы с этой напастью существуют
менеджеры буфера обмена, такие как clipit/parcellite, gpaste, klipper,
clipster и другие. Я рассмотрю два самых “современных” и удобных для себя на
данный момент: Gpaste и clipster. Они интересны тем что на мой взгляд
хорошо соответствуют концепции UNIX-way, где их вывод можно перенаправлять
куда-то ещё: dmenu/rofi, различные фильтры и тд и тп. Ещё существует
достаточно похожий на clipstergreenclip. Он интересен тем что сделан на
haskell, что для многих усложнило бы его разработк, но по моим личным
ощущениями работает он не быстрее чем greenclip, несмотря на то, что вроде
как код, который генерирует ghc может быть быстрее.
Тем, кто хочет знать, как это всё настроено, добро пожаловать под кат.
I will tell you some “success story” about pci-e passthrough Geforce 980 GTX
videocard with QEMU / KVM to Windows 10 guest system for gaming. As the
result you’ll get system almost with no overhead(1-10%). If you are
interested in this welcome under cut.
Once upon a time I found this interesting site: http://everynoise.com/engenremap.html.
You can discover various new musical genres and “tags”. Maybe it does not
contains all the tags/genres ever, like oceangrunge for example, but anyway
idea looks interestring.
This records you actions like mouse clicks/movements to show it to other
listners. I think that it’s pretty nice idea but nonperfect implementation:
for my taste something more abstract and artificial stuff is better, but
anyway try it and maybe you’ll like that.
I think that main idea is pretty clear: you can decompose any permutation
into a unique set of disjoint cycles and then apply them to get
lexicographical order.
This a post about my migration from my own fork of notion to
a i3-gaps and porting ion3-specific features like multiwindow scratchpads,
etc. In this article you will probably see a lot of semi-stupid pythonish
hacks because of I am new to python.
Of course all of you already knows about xargs: nice cli-mode tool to execute
command lines from standard input. As you know some tools can get input as
a parameter like awk or grep, but some like cp or 7z can’t. Here I shall talk
about xargs and one of zsh-builtin replacement of it. If you are interested
please read further.
Encoding pathnames
It is possible to encode pathnames so that all pathnames can be handled. There is no standard POSIX mechanism for doing this encoding, unfortunately.
encodef is a small utility I wrote that can encode and decode filenames in a few formats. With it, you can do this: