Skip to content

Instantly share code, notes, and snippets.

View x-y-z's full-sized avatar

Zi Yan x-y-z

View GitHub Profile
@x-y-z
x-y-z / genct.sh
Created August 18, 2016 16:45 — forked from sdebnath/genct.sh
generate cscope and tags for freebsd src
#!/bin/sh
# Copyright (c) 2015, Shawn Debnath. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
@x-y-z
x-y-z / .font.conf
Created May 13, 2016 19:31
font config for arch linux
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="rgba">
<const>none</const>
@x-y-z
x-y-z / .Xresource
Created May 13, 2016 19:12
for xterm
xterm*termName: xterm-256color
xterm*locale: true
xterm*faceName: DejaVuSansMono:size=12:antialias=true
xterm*metaSendsEscape: true
xterm*saveLines: 16384
xterm*loginShell: true
@x-y-z
x-y-z / tmux.conf
Created September 20, 2015 15:31
tmux configuration file
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -g history-limit 10000
## set the default TERM
set -g default-terminal xterm-256color
setw -g mode-keys vi
@x-y-z
x-y-z / logitech marble mouse
Created May 19, 2015 13:23
Logitech Marble Mouse Settings(Xorg.conf)
# - - - Logitech Marble Mouse Settings - - -
#
# For the sake of comments below, a Logitech Marble Mouse has buttons
# labeled from left to right: A (large), B, C, D (large).
# Preferred options for right-handed usage are:
# Left to right: A=1,normal click B=2,middle-click C=2,middle-click D=3,right-click
# Press button B (hold button while rolling trackball) to emulate wheel-scrolling.
# Preferred options for left-handed usage (saying 'alternate-click' instead of 'right click'):