This file contains hidden or 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=User suspend actions | |
Before=sleep.target | |
[Service] | |
User=%i | |
Type=forking | |
Environment=DISPLAY=:0 | |
ExecStart=/usr/bin/i3lock -c "#222222" |
This file contains hidden or 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
* browser.backspace_action | |
* browser.fullscreen.autohide false | |
* browser.tabs.warnOnClose false | |
* browser.zoom.full false | |
* full-screen-api.approval-required false |
This file contains hidden or 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/sh | |
mkdir -p ~/.themes/ ~/.icons/ | |
git clone https://github.com/shimmerproject/Numix.git ~/dev/repo/Numix/ | |
git clone https://github.com/numixproject/numix-icon-theme.git ~/dev/repo/numix-icon-theme/ | |
ln -s ~/dev/repo/Numux ~/.themes/ | |
ln -s ~/dev/repo/numix-icon-theme/Numix ~/.icons/ |
This file contains hidden or 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
qemu_version=1.6.1 | |
qemu_prefix="$HOME/dev/build/qemu-$qemu_version" | |
./configure --disable-blobs --disable-tools --disable-sdl \ | |
--disable-vnc --disable-kvm --disable-vde --disable-docs --disable-curl \ | |
--disable-curses --disable-bluez --disable-guest-base --disable-pie \ | |
--disable-linux-aio --disable-guest-agent --disable-virtfs --disable-attr \ | |
--disable-libusb --disable-uuid --disable-smartcard-nss --disable-glx \ | |
--disable-vhost-net --disable-vhost-scsi --disable-rbd --disable-xfsctl \ | |
--disable-libssh2 --disable-cap-ng --disable-seccomp --disable-libiscsi \ |
This file contains hidden or 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
" detect OS {{{ | |
let s:is_windows = has('win32') || has('win64') | |
let s:is_cygwin = has('win32unix') | |
let s:is_macvim = has('gui_macvim') | |
"}}} | |
" dotvim settings {{{ | |
if !exists('g:dotvim_settings') | |
let g:dotvim_settings = {} | |
endif |
This file contains hidden or 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.orig 2013-09-02 16:56:42.224668499 +0300 | |
+++ configure 2013-09-02 17:29:09.678029415 +0300 | |
@@ -2243,6 +2243,7 @@ | |
glib_cflags=`$pkg_config --cflags gthread-2.0 2>/dev/null` | |
glib_libs=`$pkg_config --libs gthread-2.0 2>/dev/null` | |
LIBS="$glib_libs $LIBS" | |
+ libs_softmmu="$glib_libs $libs_softmmu" | |
libs_qga="$glib_libs $libs_qga" | |
else | |
error_exit "glib-$glib_req_ver required to compile QEMU" |
This file contains hidden or 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
--- gdbstub.c.orig 2013-09-02 16:50:10.024684380 +0300 | |
+++ gdbstub.c 2013-09-02 16:50:29.981350239 +0300 | |
@@ -1685,7 +1685,7 @@ | |
if (strstart(device, "tcp:", NULL)) { | |
/* enforce required TCP attributes */ | |
snprintf(gdbstub_device_name, sizeof(gdbstub_device_name), | |
- "%s,nowait,nodelay,server", device); | |
+ "%s,nowait,nodelay,server,ipv4", device); | |
device = gdbstub_device_name; | |
} |
This file contains hidden or 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
set nocompatible | |
let s:is_windows = has('win16') || has('win32') || has('win64') | |
let s:is_cygwin = has('win32unix') | |
if s:is_windows | |
set rtp^=~/.vim | |
endif | |
let g:mapleader = ',' |
This file contains hidden or 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
setl nonumber | |
nmap <buffer> <Enter> <Plug>(vimfiler_edit_file) | |
nmap <buffer> e <Plug>(vimfiler_execute) |
This file contains hidden or 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
sudo iptables -A POSTROUTING -t nat -j MASQUERADE | |
sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" | |
sudo ifconfig enp0s29f7u7 12.12.10.1 | |
adb shell su -c "ifconfig ccmni0 0.0.0.0" | |
adb shell su -c "ifconfig rndis0 12.12.10.2" | |
adb shell su -c "route add default gw 12.12.10.1 dev rndis0" | |
adb shell su -c "setprop net.dns1 8.8.8.8" |
NewerOlder