Skip to content

Instantly share code, notes, and snippets.

View aaronang's full-sized avatar

Aaron Ang aaronang

View GitHub Profile
@aaronang
aaronang / Xorg.0.log
Created May 26, 2015 19:04
Cinnamon is not detecting my second monitor, this is my Xorg.0.log file.
[ 6.285]
X.Org X Server 1.17.1
Release Date: 2015-02-10
[ 6.285] X Protocol Version 11, Revision 0
[ 6.285] Build Operating System: Linux 3.19.2-1-ARCH x86_64
[ 6.285] Current Operating System: Linux zbook14 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015 x86_64
[ 6.285] Kernel command line: initrd=\initramfs-linux.img root=/dev/sdb5 rw
[ 6.285] Build Date: 14 April 2015 10:34:18AM
[ 6.285]
[ 6.285] Current version of pixman: 0.32.6
@aaronang
aaronang / .xsession-errors
Created May 26, 2015 19:06
Cinnamon is not detecting my second monitor, this is my .xsession-errors file.
(cinnamon-settings-daemon:470): CinnamonDesktop-CRITICAL **: handle_text: assertion 'parser->slides->tail != NULL' failed
(cinnamon-settings-daemon:470): CinnamonDesktop-CRITICAL **: handle_text: assertion 'parser->slides->tail != NULL' failed
(cinnamon-settings-daemon:470): CinnamonDesktop-CRITICAL **: handle_text: assertion 'parser->slides->tail != NULL' failed
(cinnamon-settings-daemon:470): CinnamonDesktop-CRITICAL **: handle_text: assertion 'parser->slides->tail != NULL' failed
(cinnamon-settings-daemon:470): CinnamonDesktop-CRITICAL **: handle_text: assertion 'parser->slides->tail != NULL' failed
@aaronang
aaronang / .xsession-errors
Created May 26, 2015 20:08
.xsession-errors after trying to mirror primary monitor with second monitor.
(cinnamon-settings-daemon:474): color-plugin-WARNING **: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Acer_Acer_V173_LE10D0398540_awzang_1000
(cinnamon-settings-daemon:474): color-plugin-WARNING **: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Acer_Acer_V173_LE10D0398540_awzang_1000
(cinnamon-settings-daemon:474): color-plugin-WARNING **: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Acer_Acer_V173_LE10D0398540_awzang_1000
(cinnamon-settings-daemon:474): color-plugin-WARNING **: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Acer_Acer_V173_LE10D0398540_awzang_1000
@aaronang
aaronang / gist:2d915d837e8c7da436fa
Created May 28, 2015 10:40
INSANE sbt error message.
awzang@zbook14 ~/code/insane (master*) $ sbt -sbt-version 0.12.0-M2 update compile script
[info] Loading project definition from /home/awzang/code/insane/project
[info] Updating {file:/home/awzang/code/insane/project/}default-0dd483...
[info] Resolving org.scala-sbt#sbt;0.12.0-M2 ...
[info] Resolving org.scala-sbt#main;0.12.0-M2 ...
[info] Resolving org.scala-sbt#actions;0.12.0-M2 ...
[info] Resolving org.scala-sbt#classfile;0.12.0-M2 ...
[info] Resolving org.scala-sbt#io;0.12.0-M2 ...
[info] Resolving org.scala-sbt#control;0.12.0-M2 ...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
@aaronang
aaronang / journalctl -b
Created May 29, 2015 23:30
journalctl -b to help finding inconsistency of audio
-- Logs begin at Fri 2015-05-29 07:31:41 CEST, end at Sat 2015-05-30 01:24:11 CEST. --
May 30 01:14:08 zbook14 systemd-journal[135]: Runtime journal is using 8.0M (max allowed 370.6M, trying to leave 556.0M free of 3.6G available → current limit 370.6M).
May 30 01:14:09 zbook14 systemd-journal[135]: Permanent journal is using 864.4M (max allowed 2.7G, trying to leave 4.0G free of 20.1G available → current limit 2.7G).
May 30 01:14:09 zbook14 systemd-journal[135]: Time spent on flushing to /var is 703us for 2 entries.
May 30 01:14:09 zbook14 kernel: Initializing cgroup subsys cpuset
May 30 01:14:09 zbook14 kernel: Initializing cgroup subsys cpu
May 30 01:14:09 zbook14 kernel: Initializing cgroup subsys cpuacct
May 30 01:14:09 zbook14 kernel: Linux version 4.0.4-2-ARCH (builduser@foutrelis) (gcc version 5.1.0 (GCC) ) #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015
May 30 01:14:09 zbook14 kernel: Command line: initrd=\initramfs-linux.img root=/dev/sdb5 rw
May 30 01:14:09 zbook14 kernel: e820: BIOS-provided physical
@aaronang
aaronang / gist:efb78a7bbe2ab2c5995b
Created May 30, 2015 00:00
journalctl -b, trying to fix audio inconsistency
-- Logs begin at Fri 2015-05-29 07:31:41 CEST, end at Sat 2015-05-30 01:59:41 CEST. --
May 30 01:55:01 zbook14 systemd-journal[139]: Runtime journal is using 8.0M (max allowed 370.6M, trying to leave 556.0M free of 3.6G available → current limit 370.6M).
May 30 01:55:01 zbook14 systemd-journal[139]: Permanent journal is using 928.5M (max allowed 2.7G, trying to leave 4.0G free of 20.1G available → current limit 2.7G).
May 30 01:55:01 zbook14 systemd-journal[139]: Time spent on flushing to /var is 873us for 2 entries.
May 30 01:55:01 zbook14 kernel: Initializing cgroup subsys cpuset
May 30 01:55:01 zbook14 kernel: Initializing cgroup subsys cpu
May 30 01:55:01 zbook14 kernel: Initializing cgroup subsys cpuacct
May 30 01:55:01 zbook14 kernel: Linux version 4.0.4-2-ARCH (builduser@foutrelis) (gcc version 5.1.0 (GCC) ) #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015
May 30 01:55:01 zbook14 kernel: Command line: initrd=\initramfs-linux.img root=/dev/sdb5 rw
May 30 01:55:01 zbook14 kernel: e820: BIOS-provided physical
-- Logs begin at Fri 2015-05-29 07:31:41 CEST, end at Sat 2015-05-30 02:12:41 CEST. --
May 30 02:12:32 zbook14 systemd-journal[139]: Runtime journal is using 8.0M (max allowed 370.6M, trying to leave 556.0M free of 3.6G available → current limit 370.6M).
May 30 02:12:32 zbook14 systemd-journal[139]: Permanent journal is using 944.5M (max allowed 2.7G, trying to leave 4.0G free of 20.0G available → current limit 2.7G).
May 30 02:12:32 zbook14 systemd-journal[139]: Time spent on flushing to /var is 1.177ms for 2 entries.
May 30 02:12:32 zbook14 kernel: Initializing cgroup subsys cpuset
May 30 02:12:32 zbook14 kernel: Initializing cgroup subsys cpu
May 30 02:12:32 zbook14 kernel: Initializing cgroup subsys cpuacct
May 30 02:12:32 zbook14 kernel: Linux version 4.0.4-2-ARCH (builduser@foutrelis) (gcc version 5.1.0 (GCC) ) #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015
May 30 02:12:32 zbook14 kernel: Command line: initrd=\initramfs-linux.img root=/dev/sdb5 rw
May 30 02:12:32 zbook14 kernel: e820: BIOS-provided physica
@aaronang
aaronang / gist:9fd84b487f489e0668bd
Created June 1, 2015 07:25
Colder/insane compile error, 'warn' not a valid key
$ sbt -sbt-version 0.12.0-M2 update compile script
Downloading sbt launcher for 0.12.0-M2:
From http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.12.0-M2/sbt-launch.jar
To /home/awzang/.sbt/launchers/0.12.0-M2/sbt-launch.jar
Getting net.java.dev.jna jna 3.2.3 ...
downloading http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.jar ...
[SUCCESSFUL ] net.java.dev.jna#jna;3.2.3!jna.jar (608ms)
:: retrieving :: org.scala-sbt#boot-jna
confs: [default]
1 artifacts copied, 0 already retrieved (838kB/15ms)
const square = n => n * n
const fn = commander.outDir ? dirCommand : fileCommand;
fn(commander, filenames, opts);