Skip to content

Instantly share code, notes, and snippets.

View KaiSforza's full-sized avatar
🔁

Kai Sforza KaiSforza

🔁
View GitHub Profile
[wgiokas@WST420 ~]$ find /sys/devices -type f -name "temp*_input"
/sys/devices/virtual/hwmon/hwmon1/temp1_input
/sys/devices/platform/coretemp.0/temp3_input
/sys/devices/platform/coretemp.0/temp1_input
/sys/devices/platform/coretemp.0/temp2_input
sensor /sys/devices/virtual/hwmon/hwmon1/temp1_input
#sensor /sys/devices/platform/coretemp.0/temp3_input
#sensor /sys/devices/platform/coretemp.0/temp1_input
#sensor /sys/devices/platform/coretemp.0/temp2_input
(0, 0, 35)
(1, 35, 45)
(2, 43, 52)
(3, 51, 55)
(4, 54, 60)
(5, 59, 66)
@KaiSforza
KaiSforza / gist:3129748
Created July 17, 2012 14:33
missing python part?
[root@vps2 znc-git]# makepkg -sci --asroot
==> Determining latest git revision...
-> Version found: 20120717
==> Making package: znc-git 20120717-1 (Tue Jul 17 07:25:27 PDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
[root@vps2 znc-git]# makepkg -sci --asroot
==> Determining latest git revision...
-> Version found: 20120717
==> Making package: znc-git 20120717-1 (Tue Jul 17 08:25:06 PDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
[root@vps2 znc-git]# makepkg -sci --asroot
==> Determining latest git revision...
-> Version found: 20120717
==> Making package: znc-git 20120717-1 (Tue Jul 17 08:35:02 PDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
[wgiokas@WST420 ~]$ sudo pacman -S bitlbee
resolving dependencies...
looking for inter-conflicts...
Targets (1):
Name Old Version New Version Net Change Download Size
bitlbee 3.0.5-4 1.05 MiB 0.31 MiB
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
162 audio & 361 video codecs
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
@KaiSforza
KaiSforza / gist:3149036
Created July 20, 2012 06:25
mplayer not putting out video or sound.
[wgiokas@WST420 law_and_order-svu]$ mplayer -v Law.and.Order.SVU.S13E01.HDTV.XviD-LOL.avi
Reading config file /etc/mplayer/mplayer.conf
: No such file or directory
get_path('') -> '/home/wgiokas/.mplayer/'
get_path('config') -> '/home/wgiokas/.mplayer/config'
Reading config file /home/wgiokas/.mplayer/config
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 13
CPU: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (Family: 6, Model: 42, Stepping: 7)
extended cpuid-level: 8
@KaiSforza
KaiSforza / errors.log
Created July 21, 2012 00:30
errors at startup - KaiSforza
Jul 20 14:25:00 localhost [ 5.772092] systemd-modules-load[147]: Failed to insert 'vhba': Exec format error
Jul 20 14:25:00 localhost kernel: [ 7.444940] watchdog: INTCAMT: cannot register miscdev on minor=130 (err=-16)
Jul 20 14:25:00 localhost kernel: [ 7.445032] watchdog: error registering /dev/watchdog (err=-16)
Jul 20 14:25:00 localhost kernel: [ 7.445092] mei 0000:00:16.0: unable to register watchdog device.
Jul 20 14:25:04 localhost bumblebeed[1159]: No nVidia graphics card found, quitting.
Jul 20 14:25:04 localhost bluetoothd[1161]: input-headset driver probe failed for device D0:DF:C7:C8:3F:4B
Jul 20 14:25:05 localhost /usr/sbin/crond[1218]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
[wgiokas@WST420 ~]$ xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"NoCommand"
m:0x0 + c:123
XF86AudioRaiseVolume
=========================================================
#xbindkeysrc file