This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dconf key: /org/mate/settings-daemon/plugins/media-keys/volume-step |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ClassLevelInheritableAttributes | |
def self.included(base) | |
base.extend(ClassMethods) | |
end | |
module ClassMethods | |
def inheritable_attributes(*args) | |
@inheritable_attributes ||= [:inheritable_attributes] | |
@inheritable_attributes += args | |
args.each do |arg| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
src = ARGV[-2] | |
dest = ARGV[-1] | |
unless src and dest and File.directory? src and File.directory? dest | |
puts "Usage: mv-larger [-v] [-d] SRC DEST" | |
exit false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="slideshow"> | |
<img src="slideshow-001.png" alt="Slideshow 1"> | |
<img src="slideshow-002.png" alt="Slideshow 2"> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chip "it8718-*" | |
label in0 "VCore" | |
label in1 "VDDR" | |
label in2 "+3.3V" # VCC3 | |
label in3 "+5V" # VCC | |
label in4 "+12V" | |
label in5 "-12V" | |
label in6 "-5V" | |
label in7 "5VSB" # VCCH | |
label in8 "VBat" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Type=Application | |
Name=mpv Media Player (rotate left) | |
Comment=Play movies and songs | |
Icon=mpv | |
TryExec=mpv | |
Exec=mpv --no-terminal --force-window --video-rotate=270 -- %U | |
Terminal=false | |
NoDisplay=true | |
Categories=AudioVideo;Audio;Video;Player;TV; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This entry boots an Antergos (Arch) Linux ISO straight from disk. | |
# LVM is not supported because the lvm module is not loaded in Antergos initrd | |
menuentry "Antergos Minimal ISO 2015-09-13" { | |
insmod part_gpt | |
insmod lvm | |
insmod loopback | |
set root=(hd0,0) | |
set isofile=/antergos.iso | |
search --no-floppy --file ${isofile} --set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
which socat &> /dev/null || { echo "Please install socat"; exit 1; } | |
(socat TCP-LISTEN:6600,fork TCP:${1:-mpdserver.local}:6600) & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Acer Liquid Z110 | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", ATTR{idProduct}=="33f2", MODE="0660", GROUP="plugdev" | |
# Cowon Z2 Plenue | |
SUBSYSTEM=="usb", ATTR{idVendor}=="0e21", ATTR{idProduct}=="1102", MODE="0660", GROUP="plugdev" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example xorg.conf.d snippet that assigns the touchpad driver | |
# to all touchpads. See xorg.conf.d(5) for more information on | |
# InputClass. | |
# DO NOT EDIT THIS FILE, your distribution will likely overwrite | |
# it when updating. Copy (and rename) this file into | |
# /etc/X11/xorg.conf.d first. | |
# Additional options may be added in the form of | |
# Option "OptionName" "value" | |
# | |
Section "InputClass" |