This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Extensions | |
URxvt.perl-ext-common: resize-font | |
! do not scroll with output | |
URxvt*scrollTtyOutput: false | |
! scroll in relation to buffer (with mouse scroll or Shift+Page Up) | |
URxvt*scrollWithBuffer: true | |
! scroll back to the bottom on keypress | |
URxvt*scrollTtyKeypress: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Config { font = "xft:Mononoki Nerd Font:pixelsize=13:antialias=true:hinting=true" | |
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ] | |
, bgColor = "#282A36" | |
, fgColor = "#B45BCF" | |
, position = Top | |
, lowerOnStart = True | |
, hideOnStart = False | |
, allDesktops = True | |
, persistent = True | |
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# with the image | |
# install an openssh server to perform all these commands from a terminal | |
# networking is required | |
pacman -S openssh | |
systemctl start sshd | |
passwd | |
# <password> | |
# <password> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install gcc make ncurses-devel giflib-devel libjpeg-devel libtiff-devel | |
wget wget http://ftp.gnu.org/gnu/emacs/emacs-25.2.tar.xz | |
tar xJf emacs-25.2.tar.xz | |
cd emacs-25.2 | |
./configure --without-x --without-selinux | |
make && sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
There is a behavior change in glibc>=2.30. dlopen() will fail if the file is | |
position independent executable. This code will clean up the PIE flag in the | |
file to bypass the dlopen() check. | |
MIT License (c) 2020 Yubo Xie, [email protected] | |
*/ | |
#include <stdio.h> | |
#include <string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; packages ... | |
;; doom | |
;; doom-themes | |
;; multiple-cursors | |
;; autopair | |
;; M-x all-the-icons-install-fonts | |
;; melpa stuff | |
(require 'package) | |
(add-to-list 'package-archives |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
# used to match output from `tmux list-keys` | |
KEY_BINDING_REGEX="bind-key[[:space:]]\+\(-r[[:space:]]\+\)\?\(-T prefix[[:space:]]\+\)\?" | |
is_osx() { | |
local platform=$(uname) | |
[ "$platform" == "Darwin" ] |