(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
set nocompatible | |
filetype plugin indent on | |
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab | |
set number | |
set hidden | |
set splitbelow | |
set splitright |
;;; Asynchronous detailed git modeline. | |
;; git-ml is free software: you can redistribute it and/or modify it under the | |
;; terms of the GNU General Public License as published by the Free Software | |
;; Foundation, either version 3 of the License, or (at your option) any later | |
;; version. | |
;; This is a rough sketch. Things to do before publishing it as a package: | |
;; | |
;; * Consider doing the checks per git directory instead of per buffer, then |
"""SocksiPy - Python SOCKS module. | |
Version 1.00 | |
Copyright 2006 Dan-Haim. 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. |
;; You'll need to have the s and powerline packages installed for this modeline to work | |
(require 's) | |
(require 'powerline) | |
(defvar my/mode-line-border 8) | |
(defvar my/modeline-height 22) | |
(set-face-attribute 'mode-line nil :family "M+ 1m" :height 120 | |
:background "gray20" :foreground "white" | |
:weight 'normal |
This script provides a simple method for tracking software that you have built from source, or binaries that you want to repackage from another distribution. It also simplifies transferring the software to other machines for install or backup. It works as a nice secondary package management tool, without the need to work with complex, distro specific, build tools.
#!/bin/bash | |
# Install and setup: new rtorrent user, apache2, XMLRPC, rTorrent, Libtorrent, ruTorrent. | |
# Tested on: Ubuntu Server 14.10 x64 / 4 Cores / 4GB RAM / 20 GB SSD | |
# ==> VARIABLES <== | |
# Software Versions | |
LIBTORRENT_VER="0.13.6" | |
RTORRENT_VER="0.9.6" | |
RUTORRENT_VER="3.7" | |
RUTORRENT_PLUGINS_VER="3.6" |
position.height=990 | |
position.width=850 | |
split.vertical=0 | |
tabbar.multiline=1 | |
toolbar.visible=1 | |
statusbar.visible=1 |
do | |
local function run(msg, matches) | |
if not matches[3] then | |
t = http.request("http://lsdbot.noip.me/tr/?key=free-api&from=auto&to=en&text="..URL.escape(matches[2])) | |
return t | |
else | |
t = http.request("http://lsdbot.noip.me/tr/?key=free-api&from=auto&to="..matches[2].."&text="..URL.escape(matches[3])) | |
return t | |
end | |
end |