Skip to content

Instantly share code, notes, and snippets.

agd@enyo ~$ sudo yum install gtk2-devel.i686 dbus-glib-devel.i686 qmmp.i686 rpm-build-libs.i686 rpm-devel.i686 gnome-keyring-devel.i686 libxml2-devel.i686 nss-devel.i686 libxslt.i686 glibc.i686 xterm
[sudo] password for agd:
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, tidy-cache
Loading mirror speeds from cached hostfile
updates/metalink | 20 kB 00:00
* fedora: mirror.fdcservers.net
* rpmfusion-free: mirror.us.leaseweb.net
* rpmfusion-free-updates: mirror.us.leaseweb.net
* rpmfusion-nonfree: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates: mirror.us.leaseweb.net
agd@enyo ~$ sudo systemctl enable mpd.service
mpd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mpd on
Warning: unit files do not carry install information. No operation executed.
agd@enyo ~$ sudo systemctl enable mpdscribble.service
mpdscribble.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mpdscribble on
Warning: unit files do not carry install information. No operation executed.
@andrewdunndev
andrewdunndev / gist:1335351
Created November 2, 2011 23:58
schiit bifrost lsusb -v
Bus 001 Device 008: ID 0d8c:0304 C-Media Electronics, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0d8c C-Media Electronics, Inc.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: vimrc
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
@andrewdunndev
andrewdunndev / gist:1285720
Created October 13, 2011 22:20
mpdscribble debug
[root@enyo agd]# strace mpdscribble --no-daemon --verbose 3 --conf /etc/mpdscribble.conf >> /home/agd/Downloads/mpdscribble.log
execve("/usr/bin/mpdscribble", ["mpdscribble", "--no-daemon", "--verbose", "3", "--conf", "/etc/mpdscribble.conf"], [/* 28 vars */]) = 0
brk(0) = 0x1213000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f12393d8000
open("/usr/lib64/freetype-infinality/libfreetype.so.6.7.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\320\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=597480, ...}) = 0
mmap(NULL, 2693248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1239146000
mprotect(0x7f12391ce000, 2097152, PROT_NONE) = 0
mmap(0x7f12393ce000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x88000) = 0x7f12393ce000
[agd@enyo init.d]$ sudo systemctl enable mpdscribble.service
mpdscribble.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mpdscribble on
audio_output {
type "alsa"
name "Intel STAC92xx Analog"
## device "hw:0,0" # optional
format "44100:16:2" # optional
mixer_device "default" # optional
## mixer_control "PCM" # optional
## mixer_index "0" # optional
}
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: vimrc
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
@andrewdunndev
andrewdunndev / gist:1057723
Created July 1, 2011 02:00
troubleshooting 82567LM
agd@enyo:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
Subsystem: Dell Device 0250
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
@andrewdunndev
andrewdunndev / gist:876351
Created March 18, 2011 16:15
se.detroithifi.com htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>