If you have a Linux machine with KVM on it, you can manage those VMs remotely from a Mac using virt-manager.
SSH to the Linux machine and add your SSH user to the libvirt group
sudo usermod -a -G libvirt $(whoami)
| I used sonnet 3.5 and Cursor to created a logo which animates on entry. | |
| Input file: initial_logo.svg (below) | |
| Prompt: | |
| ``` | |
| Let's add a start up animation to this SVG | |
| Make it feel like feel like the logo starts broken, then fixes itself piece by piece. In a playful style like pixar. | |
| ``` |
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean && sudo apt-get install build-essential haveged -y
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install curl -y
sudo apt-get install shadowsocks-libev -y
sudo apt-get install cron -y
sudo apt-get install screen -y
| # 1. Install haproxy on Ubuntu. | |
| # 2. Edit file path: /etc/haproxy/haproxy.cfg | |
| # 3. Run with: haproxy -f /etc/haproxy/haproxy.cfg | |
| # 4. haproxy will run in the background, so you can disconnect safely. | |
| # 5. Point your Shadowsocks client at <CHINA IP>:8001 (or 8002, etc.) - you will actually be connected to your interational server! | |
| global | |
| defaults | |
| log global |
Hello guys,
Continuing from this guide to building ffmpeg and libav with NVENC and VAAPI enabled, this snippet will cover advanced options that you can use with ffmpeg and libav on both NVENC and VAAPI hardware-based encoders.
For ffmpeg:
Taught by Brad Knox at the MIT Media Lab in 2014. Course website. Lecture and visiting speaker notes.
Picking the right architecture = Picking the right battles + Managing trade-offs
| .table-container th.asc:after { | |
| content: '\0000a0\0025b2'; | |
| } | |
| .table-container th.desc:after { | |
| content: '\0000a0\0025bc'; | |
| } | |
| .pagination { | |
| text-align: center; | |
| } |
| #!/bin/sh | |
| # extend non-HiDPI external display on DP* above HiDPI internal display eDP* | |
| # see also https://wiki.archlinux.org/index.php/HiDPI | |
| # you may run into https://bugs.freedesktop.org/show_bug.cgi?id=39949 | |
| # https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/883319 | |
| EXT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^eDP | head -n 1` | |
| INT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^DP | head -n 1` | |
| ext_w=`xrandr | sed 's/^'"${EXT}"' [^0-9]* \([0-9]\+\)x.*$/\1/p;d'` |