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
{ | |
/* Keybindings for emacs emulation. Compiled by Jacob Rus. | |
* | |
* To use: copy this file to ~/Library/KeyBindings/ | |
* after that any Cocoa applications you launch will inherit these bindings | |
* | |
* This is a pretty good set, especially considering that many emacs bindings | |
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and | |
* perhaps a few more, are already built into the system. | |
* |
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
# Download & install marports http://www.macports.org/install.php | |
$ sudo port selfupdate | |
$ sudo port install nginx | |
$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.nginx.plist | |
$ sudo port install php5 +fastcgi fcgi | |
$ sudo mkdir /opt/local/etc/LaunchDaemons/org.macports.php-fastcgi | |
$ cd /opt/local/etc/LaunchDaemons/org.macports.php-fastcgi | |
$ mate org.macports.php-fastcgi.plist # or vim org.macports.php-fastcgi.plist |
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/bash | |
# Author: Damien Cassou | |
# | |
# This is the script I use to build https://launchpad.net/~cassou/+archive/emacs/ | |
# from http://emacs.naquadah.org/. | |
MAIN_VERSION=20121202 | |
SUB_VERSION=1 |
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
.syntax meta | |
arg = '$' <'emit_token();'> | |
| .string <'emit(' $ ');'>; | |
output = '<' *arg '>' <'emit_nl();'>; | |
exp3 = .id <'meta_' $ '();'> | |
| .string <'read_literal(' $ ');'> | |
| '.id' <'read_id();'> |
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
-- TLC - The Tiny Lua Cocoa bridge | |
-- Note: Only tested with LuaJit 2 Beta 9 on x86_64 with OS X >=10.7.3 & iPhone 4 with iOS 5 | |
-- Copyright (c) 2012, Fjölnir Ásgeirsson | |
-- Permission to use, copy, modify, and/or distribute this software for any | |
-- purpose with or without fee is hereby granted, provided that the above | |
-- copyright notice and this permission notice appear in all copies. | |
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
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
# Git Emacs 24 from the main Savannah (savannah.gnu.org) repository and apply typester's fullscreen patch | |
rm -fr emacs | |
git clone git://git.savannah.gnu.org/emacs.git | |
cd emacs | |
wget http://cloud.github.com/downloads/typester/emacs/feature-fullscreen.patch | |
patch -p1 -i feature-fullscreen.patch | |
cd .. | |
curl -O http://ftp.gnu.org/gnu/m4/m4-1.4.13.tar.gz | |
tar -xzvf m4-1.4.13.tar.gz | |
cd m4-1.4.13 |
NewerOlder