View vim-configure
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
./configure --prefix=/usr --with-features=big --enable-luainterp=dynamic --enable-rubyinterp=dynamic --enable-multibyte --disable-darwin --disable-gtktest --disable-netbeans --disable-selinux --disable-sysmouse --disable-xsmp --disable-xsmp-interact --enable-cscope --enable-fail-if-missing --disable-xim --disable-fontset --disable-gnome-check --disable-hangulinput |
View 01-keyboard-layout.conf
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
Section "InputClass" | |
Identifier "keyboard-layout" | |
MatchIsKeyboard "yes" | |
Option "XkbModel" "jp106" | |
Option "XkbLayout" "jp" | |
EndSection |
View tmp
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
keycode 9 = space | |
keycode 10 = 1 exclam Prior | |
keycode 11 = 2 quotedbl Next | |
keycode 12 = 3 numbersign F11 NoSymbol | |
keycode 17 = 8 parenleft bracketleft braceleft | |
keycode 18 = 9 parenright bracketright braceright | |
keycode 19 = 0 question F12 | |
keycode 20 = NoSymbol | |
keycode 21 = NoSymbol | |
keycode 22 = Insert |
View diff
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
# run code | |
top -bn1 -o %CPU | awk 'NR==11{printf "#[fg=colour226]Max:%s(%2.1f%)>", $11, $9}' | |
# commandline stdout | |
#[fg=colour226]Max:Xorg.bin(16.0%)>% | |
# tmux status line | |
Max:(0.0%)> |
View Xeon E3-1270v2
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
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 42 | |
model name : Intel(R) Xeon(R) CPU E31270 @ 3.40GHz | |
stepping : 7 | |
microcode : 0x25 | |
cpu MHz : 1692.562 | |
cache size : 8192 KB | |
physical id : 0 |
View tmux_local_install.sh
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
#!/bin/bash | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION="1.9a" |
View vpnclient.service
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
[Unit] | |
Description=SoftEther VPNClient | |
Wants=network.target | |
Before=dhcpcd.service | |
[Service] | |
Type=oneshot | |
ExecStart=/etc/vpnclient/vpnclient start | |
RemainAfterExit=yes |
View 90-network.conf
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
net.ipv4.tcp_tw_recycle=1 | |
fs.file-max = 100000 | |
net.ipv4.ip_local_port_range = 10000 65000 | |
net.ipv4.tcp_sack=1 | |
net.ipv4.tcp_window_scaling = 1 | |
net.ipv4.tcp_fin_timeout = 15 | |
net.ipv4.tcp_keepalive_intvl = 30 | |
net.ipv4.tcp_tw_reuse = 1 | |
net.ipv4.tcp_moderate_rcvbuf = 1 | |
net.core.somaxconn=40000 |
View mkdl.conf
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/lib/tmpfiles.d/mkdl.conf | |
# | |
# Type Path Mode UID GID Age Argument | |
D /tmp/download 0755 beshowjo users | |
L+ /tmp/download - - - - /home/beshowjo/download | |
View awesome-wallpaper.lua
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
local wp = { | |
"wallpaper1.png", | |
"wallpaper2.png" | |
} | |
for i = 1, #wp do | |
gears.wallpaper.fit(os.getenv("HOME") .. "/.config/awesome/" .. wp[i], i) | |
end | |
OlderNewer