Skip to content

Instantly share code, notes, and snippets.

View nyameko's full-sized avatar

Nyameko Lisa nyameko

  • CSIR: National Laser Center
  • Pretoria, South Africa
View GitHub Profile
Welcome to the Emacs shell
~/.local/share/xorg λ cd
~ λ journalctl -b
-- Logs begin at Mon 2018-01-29 15:32:02 SAST, end at Mon 2018-04-16 12:08:12 SAST. --
Apr 16 11:15:00 Illuvatar kernel: microcode: microcode updated early to revision 0x24, date = 2018-01-21
Apr 16 11:15:00 Illuvatar kernel: Linux version 4.15.15-1-ARCH (builduser@heftig-4572) (gcc version 7.3.1 20180312 (GCC)) #1 SMP PREEMPT Sat Mar 31 23:59:25 UTC 2018
Apr 16 11:15:00 Illuvatar kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=026013a5-1b12-44c5-a2ad-2135d83f20c9 rw rootflags=subvol=__active/arch-root
Apr 16 11:15:00 Illuvatar kernel: KERNEL supported cpus:
Apr 16 11:15:00 Illuvatar kernel: Intel GenuineIntel
Welcome to the Emacs shell
~/.local/share/xorg λ cd
~ λ xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
eDP-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.06 + 60.01 59.97 59.96* 59.93 40.04
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
Welcome to the Emacs shell
~/.local/share/xorg λ cd
~ λ dmesg
[ 0.000000] microcode: microcode updated early to revision 0x24, date = 2018-01-21
[ 0.000000] Linux version 4.15.15-1-ARCH (builduser@heftig-4572) (gcc version 7.3.1 20180312 (GCC)) #1 SMP PREEMPT Sat Mar 31 23:59:25 UTC 2018
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=026013a5-1b12-44c5-a2ad-2135d83f20c9 rw rootflags=subvol=__active/arch-root
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 2047.933]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 2047.934] X Protocol Version 11, Revision 0
[ 2047.935] Build Operating System: Linux 4.14.12-1-ARCH x86_64
[ 2047.936] Current Operating System: Linux Illuvatar 4.15.8-1-ARCH #1 SMP PREEMPT Sat Mar 10 00:00:33 UTC 2018 x86_64
[ 2047.936] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=026013a5-1b12-44c5-a2ad-2135d83f20c9 rw rootflags=subvol=__active/arch-root nvidia-drm.modeset=1
[ 2047.937] Build Date: 26 January 2018 10:25:18AM
[ 2047.938]
[ 2047.938] Current version of pixman: 0.34.0
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.25 (buildmeister@swio-display-x86-rhel47-03) Wed Jan 24 20:46:04 PST 2018
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
#!/bin/sh
case "${DESKTOP_SESSION-}" in
gnome*) # Done by gnome-settings-daemon
;;
*)
# Extra check in case DESKTOP_SESSION is not set correctly
if [ -z "${GNOME_DESKTOP_SESSION_ID-}" ]; then
GTK_MODULES="${GTK_MODULES:+$GTK_MODULES:}canberra-gtk-module"
export GTK_MODULES
#!/bin/sh
systemctl --user import-environment DISPLAY XAUTHORITY
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
(eval-after-load 'org-ref
`(progn
(define-key org-mode-map (kbd "M-m m i n") 'org-ref-helm-insert-label-link) ;; working
(define-key org-mode-map (kbd "C-M-m n") 'org-ref-helm-insert-label-link) ;; not-working, and throws filemode specification error
(define-key org-mode-map (kbd "M-m m i r") 'org-ref-helm-insert-label-link) ;; working
(define-key spacemacs-org-mode-map (kbd "C-M-m i r") 'org-ref-helm-insert-label-link))) ;; not-working
(use-package elisp
:bind (("C-x b" . ibuffer)
("C-x C-b" . helm-buffers-list)
("C-<f7>" . compile) ;; Redefined under C/C++
("C-<f8>" . gdb)))
(defun my/insert-lod ()
"Sigh... I really expected more from you."
(interactive)
(insert "ಠ_ಠ"))
Error during redisplay: (eval (number-to-string (pdf-cache-number-of-pages))) signaled (file-error "Setting current directory" "Permission denied" "~")