start new:
tmux
start new with session name:
tmux new -s myname
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el | |
index 1aad645..51e41df 100644 | |
--- a/lisp/term/ns-win.el | |
+++ b/lisp/term/ns-win.el | |
@@ -942,6 +942,12 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") | |
(add-to-list 'frame-creation-function-alist '(ns . x-create-frame-with-faces)) | |
(add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system)) | |
+;; for fullscreen | |
+(declare-function ns-toggle-fullscreen-internal "nsfns.m" ()) |
#! /bin/bash | |
# usage: monssh [hostname] | |
if [[ -z $1 ]] | |
then | |
HOST="YOURHOST" | |
else | |
HOST=$1 | |
fi |
function rm () { | |
local path | |
for path in "$@"; do | |
# ignore any arguments | |
if [[ "$path" = -* ]]; then : | |
else | |
local dst=${path##*/} | |
# append the time if necessary | |
while [ -e ~/.Trash/"$dst" ]; do | |
dst="$dst "$(date +%H-%M-%S) |
#!/bin/sh | |
# 初期設定 | |
EMACS_VER=24.2 | |
WORK_DIR=$HOME/Builds/Emacs | |
BUILD_DIR=$WORK_DIR/build | |
PATCH_DIR=$WORK_DIR/patch | |
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
export CC='/usr/bin/clang' |
(defun cleanup-buffer-safe () | |
"Perform a bunch of safe operations on the whitespace content of a buffer. | |
Does not indent buffer, because it is used for a before-save-hook, and that | |
might be bad." | |
(interactive) | |
(untabify-buffer) | |
(delete-trailing-whitespace) | |
(set-buffer-file-coding-system 'utf-8)) | |
(defun cleanup-buffer () |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
/* | |
12306 Auto Query => A javascript snippet to help you book tickets online. | |
Copyright (C) 2011-2012 Jingqin Lynn | |
Includes jQuery | |
Copyright 2011, John Resig | |
Dual licensed under the MIT or GPL Version 2 licenses. | |
http://jquery.org/license | |
Includes Sizzle.js |
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...