Skip to content

Instantly share code, notes, and snippets.

[nasrol@kriptonium ~] $ journalctl -b -perr
-- Logs begin at Wed 2017-01-18 05:21:05 MYT, end at Sun 2017-01-29 19:39:57 MYT. --
Jan 30 02:38:37 kriptonium kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
Jan 30 02:38:37 kriptonium kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
Jan 30 02:38:37 kriptonium kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
Jan 30 02:38:37 kriptonium kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
Jan 30 02:38:37 kriptonium kernel: nouveau 0000:01:00.0: iccsense: Unknown sensor type 30, power reading disabled
Jan 29 18:38:52 kriptonium avahi-daemon[922]: chroot.c: open() failed: No such file or directory
Jan 29 18:38:52 kriptonium bluetoothd[906]: Failed to obtain handles for "Service Changed" characteristic
Jan 29 18:39:10 kriptonium gnome-session-binary[1214]: Unrecoverable failure in required component org.gnome.Shell.desktop
$ systemctl status mariadb | less
● mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: active (running) since Tue 2016-12-20 02:49:56 UTC; 1 weeks 0 days ago
Process: 6730 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 6621 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 6618 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 6697 (mysqld)
Hello kripx,
You have been selected to participate in the beta testing of CashPiggy!
As a selected beta user, by joining the website and completing the Introduction Survey (5 minutes) and fill your AdFly account in your withdraw details you will be rewarded with 50% extra revenue on AdFly for the next 7 days *.
CashPiggy is owned and operated by the same team behind AdFly, so you know it is a name you can trust. Our aim is to revolutionize the online survey market and we welcome you to become a part of it.
Join CashPiggy clicking the following button.
* Now talking on #RubyOnRails
* Topic for #RubyOnRails is: Rules: http://goo.gl/dgSj5 | MINASWAN (Matz is nice and so we are nice) | Can't talk? Register/identify with Nickserv first! | Newest releases: 5.0.0, 4.2.6, 4.1.15 | Rails 5: http://goo.gl/qpPDrr | Guides: http://goo.gl/Drh96 | API Docs: http://goo.gl/ErSVb | Mailing List: http://is.gd/3Euc | Logs at http://goo.gl/uma9x
* Topic for #RubyOnRails set by sevenseacat!~sevenseac@CPE-144-136-91-115.pfcz2.cht.bigpond.net.au at Fri Jul 1 10:32:06 2016
-ChanServ- [#rubyonrails] Please follow the channel rules http://goo.gl/dgSj5 | Register with nickserv in order to talk: https://freenode.net/kb/answer/registration
<reckoner> hey
<kriptonium> Hi everyone!
<CamonZ> sup
<kriptonium> I'm very interested with RoR
<havenwood> kriptonium: Learn Ruby!
<mrbubbles> ^^ yep learn ruby
@Kriptonium
Kriptonium / gist:4f05c704e76c2a451d7a3fcc18c963b8
Created June 29, 2016 18:50
Compile and install Fedora SimpleScreenRecorder (SSR), a screen recorder for Linux
It's all done through Maarten Baert's github link:
https://github.com/MaartenBaert/ssr
Here are the steps needed so you don't have to struggle figuring them out:
As user with root privileges: (AKA root or sudo)
dnf install ffmpeg-devel qt4-devel alsa-lib-devel pulseaudio-libs-devel jack-audio-connection-kit-devel gcc make gcc-c++ glibc-devel.i686 libgcc.i686 libX11-devel libX11-devel.i686 libXext-devel libXext-devel.i686 libXfixes-devel libXfixes-devel.i686 mesa-libGL-devel mesa-libGL-devel.i686 mesa-libGLU-devel mesa-libGLU-devel.i686 libXext-devel.x86_64 libX11-devel.x86_64 libXfixes-devel.x86_64 mesa-libGLU-devel.x86_64
As user (not as root if you're using root) (this user must be in the sudo group):
wget https://github.com/MaartenBaert/ssr/archive/master.tar.gz
tar -xzvf master.tar.gz
systemctl -t service | grep abrt
systemctl stop abrt-ccpp
systemctl disable abrt-ccpp
systemctl stop abrt-xorg
systemctl disable abrt-xorg
systemctl stop abrtd
systemctl disable abrtd
C:\ProgramData\Oracle\Java\javapath;
C:\Program Files (x86)\Intel\iCLS Client\;
C:\Program Files\Intel\iCLS Client\;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;
$ grep ": Output " /var/log/Xorg.0.log
[ 80.008] (II) intel(0): Output LVDS1 has no monitor section
[ 80.021] (II) intel(0): Output VGA1 has no monitor section
[ 80.021] (II) intel(0): Output HDMI1 has no monitor section
[ 80.021] (II) intel(0): Output DP1 has no monitor section
[ 80.021] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 80.021] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
$ cat /var/log/Xorg.0.log | grep -ie uxa -ie sna
[ 80.070] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[user@kripx ~] $ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M] (rev ff)
[user@kripx ~] $ grep -i intel /var/log/Xorg.0.log
[ 79.838] (==) Matched intel as autoconfigured driver 0
[ 79.838] (==) Matched intel as autoconfigured driver 4
[ 79.838] (II) LoadModule: "intel"
[ 79.869] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 79.898] (II) Module intel: vendor="X.Org Foundation"
$ xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "Intel(R) Textured Video"
number of ports: 32
port base: 74
operations supported: PutImage
supported visuals:
depth 24, visualID 0x20
number of attributes: 1