Skip to content

Instantly share code, notes, and snippets.

View milkypostman's full-sized avatar
🏠
zzz

Donald Curtis milkypostman

🏠
zzz
View GitHub Profile
Modified flycheck.el
diff --git a/flycheck.el b/flycheck.el
index 5cec74d..aff2d48 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -236,7 +236,7 @@ overlay setup)."
"---"
["Describe syntax checker" flycheck-describe-checker t]
["Read the Flycheck manual" flycheck-info t])
- "Spell Checking")
def test(x):
if x > 5:
print x-5
else:
print x
if x < 0:
print "less than zero"
if __name__ == "__main__":
(require 'package)
(setq package-user-dir "~/.emacs.d/elpa/")
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(setq package-archive-exclude-alist '(("melpa" paredit)))
(package-initialize)
(defmacro require! (package)
@milkypostman
milkypostman / aquaterm.rb
Created May 24, 2012 15:00
AquaTerm Formula Supporting HEAD
require 'formula'
class Aquaterm <Formula
url 'http://sourceforge.net/projects/aquaterm/files/AquaTerm/v1.0.1/aquaterm_src.1.0.1.tar.gz/download'
homepage 'http://aquaterm.sourceforge.net/'
md5 'e9d3ecdfe770d6f09a748add9886d1a9'
version '1.0.1'
head 'git://aquaterm.git.sourceforge.net/gitroot/aquaterm/aquaterm'
def install
@milkypostman
milkypostman / molokai-theme.el
Created March 13, 2012 14:18
emacs24 port of the molokai theme for vim
(deftheme molokai
"emacs24 port of molokai for vim")
(custom-theme-set-faces
'molokai
'(cursor ((t (:background "#f8f8f0"))))
'(font-lock-builtin-face ((t (:foreground "#ae81ff"))))
'(font-lock-function-name-face ((t (:foreground "#a6e22e"))))
'(font-lock-type-face ((t (:foreground "#66d9ef"))))
'(font-lock-warning-face ((t (:inherit error))))
@milkypostman
milkypostman / ir_black-theme.el
Created March 13, 2012 14:14
ir_black theme for emacs24
(deftheme ir_black
"The last emacs24 theme you'll ever need.")
(custom-theme-set-faces
'ir_black
'(cursor ((t (:background "#ffa560"))))
'(mode-line ((t (:background "#202020" :foreground "#9c9c9c" :box nil :slant italic :height 0.9))))
'(mode-line-inactive ((t (:background "#202020" :foreground "#4a4a4a" :box nil :slant normal))))
'(font-lock-builtin-face ((t (:foreground "#96cbfe"))))
'(font-lock-regexp-grouping-construct ((t (:inherit bold :foreground "#e9c062"))))
@milkypostman
milkypostman / pastels-on-dark-theme.el
Created March 4, 2012 18:20 — forked from shanecelis/pastels-on-dark-theme.el
Pastels on Dark theme for Emacs 24
;;; pastels-on-dark-theme.el --- Pastels on Dark theme for Emacs 24
;; Author: Mats Persson
;; Maintainer: Shane Celis <shane (at) gnufoo (dot) org>
;; URL: http://gist.github.com/1906662
;; Version: 0.3
;; Keywords: theme, color
;;; Commentary:
@milkypostman
milkypostman / gist:1817124
Created February 13, 2012 13:58
wtf zsh?
*** glibc detected *** -zsh: malloc(): smallbin double linked list corrupted: 0x098d7de0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xb76a9591]
/lib/tls/i686/cmov/libc.so.6(+0x6e710)[0xb76ac710]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0xb76adf9c]
-zsh(zalloc+0x24)[0x808eb74]
-zsh(pushheap+0x34)[0x808ec84]
-zsh(execfor+0x142)[0x808b7c2]
-zsh[0x806c756]
-zsh[0x806d75f]
(defun package-build-pkg-file (pkg-file pkg-info)
"Write PKG-FILE containing PKG-INFO."
(package-build-dump
`(define-package
,(aref pkg-info 0)
,(aref pkg-info 3)
,(aref pkg-info 2)
,(mapcar
(lambda (elt)
(list (car elt)