Install https://github.com/patjak/mba6x_bl
Add xorg config (/usr/share/X11/xorg.conf.d/20-intel.conf
):
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "mba6x_backlight"
Install https://github.com/patjak/mba6x_bl
Add xorg config (/usr/share/X11/xorg.conf.d/20-intel.conf
):
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "mba6x_backlight"
{ | |
"cmd": "arduino_debug --upload $file" | |
} |
xinput list
Get name of device, get properties
xinput list-props "Logitech Unifying Device. Wireless PID:101a"
Get name of accel profile property, set it
xinput set-prop "Logitech Unifying Device. Wireless PID:101a" "Device Accel Profile" -1
Add to .bashrc or whatever
Cinnamon seems to override any xorg, nvidia-settings or xrandr in .profile, the (obscure) way to set the refresh rate permanently is:
{ | |
"always_show_minimap_viewport": true, | |
"auto_indent": true, | |
"binary_file_patterns": | |
[ | |
"*.cache", | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", |
Select the verts, press P
Separate by selection
Select child, then parent, CTRL+P, keep transform
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
def filename | |
ARGV[0].rpartition('.').first | |
end | |
`ffmpeg -i #{ARGV[0]} -vf scale=320:-1 -f image2pipe -vcodec ppm - | convert -layers Optimize -delay 5 -loop 0 - #{filename}.gif` |
trap(:USR2) {
Thread.list.each do |t|
puts "#" * 90
p t
puts t.backtrace
puts "#" * 90
end
}
module Middleware | |
# Cheat and bypass Rails in development mode if the client attempts to download a static asset | |
# that's already been downloaded. | |
# | |
# Also ensures that assets are not cached in development mode. Around Chrome 29, the behavior | |
# of `must-revalidate` changed and would often not request assets that had changed. | |
# | |
# To use, include in your project and add the following to development.rb: | |
# |
sudo add-apt-repository ppa:xorg-edgers/ppa | |
sudo apt-get update | |
sudo apt-get install xserver-xorg-video-intel |