tmux new [-s name] [cmd]
(:new
) - new session
tmux ls
(:ls
) - list sessionstmux switch [-t name]
(:switch
) - switches to an existing session
#define __define_initcall(level,fn,id) \ | |
static initcall_t __initcall_##fn##id __used \ | |
__attribute__((__section__(".initcall" level ".init"))) = fn | |
#define core_initcall(fn) __define_initcall("1",fn,1) | |
#define subsys_initcall(fn) __define_initcall("4",fn,4) | |
#define late_initcall(fn) __define_initcall("7",fn,7) | |
/* trimmed, obviously... */ |
obj-m += cdev03.o | |
KDIR ?= /home/geckos/abs/linux/src/linux-3.9/ | |
all: | |
make -C $(KDIR) M=$(PWD) modules | |
clean: | |
make -C $(KDIR) M=$(PWD) clean |
/* | |
S : \x y z -> x z (y z) | |
*/ | |
// S :: (z -> (a -> b)) -> (z -> a) -> z -> b | |
function S(x, y, z) { | |
return x(z)(y(z)); | |
} | |
// example: | |
// add :: a -> a -> a |
;;;tabbar github https://github.com/dholm/tabbar | |
;;http://d.hatena.ne.jp/tequilasunset/20110103/p1 | |
;;http://d.hatena.ne.jp/plasticster/20110825/1314271209 | |
(require 'tabbar) | |
(tabbar-mode 1) | |
;;; Don't enable mouse wheel on tab bar | |
(tabbar-mwheel-mode nil) | |
;;; Don't use group tab |
# gcc default/debug CFLAGS handling respecting user's CFLAGS | |
# avoid AC_PROG_CC setting -O2 CFLAGS which will override DEBUG_CFLAGS' -O0 | |
# must be used right after AC_INIT | |
AC_DEFUN([ACX_DEBUG_CFLAGS], [ | |
# ensure CFLAGS are set | |
AS_IF([test "${CFLAGS+set}"], [ | |
USE_DEFAULT_CFLAGS=false | |
], [ |
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
$ git checkout -b mynewfeature | |
$ git push -u origin mynewfeature |