Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renames cs152-grading to banana-grading, various

  • Loading branch information...
commit fc5cb6ba53224c88cc712be4d313bdeaec131876 1 parent e9911f1
@dlobraico authored
View
74 emacs.d/ac-comphist.dat
@@ -0,0 +1,74 @@
+((("recip" .
+ [7 0 0 0 0])
+ ("num" .
+ [1 0 1])
+ ("iteritems" .
+ [1 0 0 0 0 0 0 0 0])
+ ("action" .
+ [1 0 0 0 0 0])
+ ("surprising" .
+ [0 0 0 0 1 0 0 0 0 0])
+ ("min_length" .
+ [0 0 0 0 0 2 0 0 0 0])
+ ("word_list" .
+ [0 0 0 1 0 0 0 0 0])
+ ("extract_anagrams" .
+ [0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0])
+ ("exec" .
+ [0 0 1 0])
+ ("anagrams" .
+ [3 0 0 0 0 0 0 0])
+ ("sort_surprising" .
+ [1 0 0 0 0 0 0 0 1 0 0 0 0 0 0])
+ ("kwargs" .
+ [1 0 0 0 0 0])
+ ("nv" .
+ [2 0])
+ ("num_vowels" .
+ [2 0 0 0 0 0 0 0 0 0])
+ ("c" .
+ [1])
+ ("vowels" .
+ [2 0 0 0 0 0])
+ ("word" .
+ [3 0 0 0])
+ ("__future__" .
+ [1 0 0 0 0 0 0 0 0 0])
+ ("surprisingness" .
+ [1 0 0 0 0 0 0 0 0 0 1 0 0 0])
+ ("so" .
+ [3 0])
+ ("length" .
+ [3 0 0 0 0 0])
+ ("size" .
+ [3 0 0 0])
+ ("combinations" .
+ [2 0 0 0 0 0 1 0 0 0 0 0])
+ ("pairs" .
+ [1 0 0 0 0])
+ ("anagram_set" .
+ [1 0 4 4 0 0 0 0 0 0 1])
+ ("permutations" .
+ [1 0 0 0 0 0 0 0 0 0 0 0])
+ ("itertools" .
+ [3 0 0 0 0 0 0 0 0])
+ ("e" .
+ [1])
+ ("i" .
+ [6])
+ ("b" .
+ [7])
+ ("a" .
+ [4])
+ ("overlap" .
+ [3 0 0 0 0 0 0])
+ ("join" .
+ [1 0 0 0])
+ ("set_overlap" .
+ [0 0 0 0 0 0 2 0 0 0 0])
+ ("v" .
+ [1])
+ ("row_format" .
+ [2 0 0 0 0 0 0 0 0 0])
+ ("hline" .
+ [1 0 0 0 0])))
View
18 emacs.d/config/my-mode-hooks.el
@@ -1,5 +1,5 @@
+;;;;;;;; Python ;;;;;;;;
;; Jedi-mode for python
-
(setq jedi:key-complete (kbd "<C-tab>"))
(setq jedi:key-show-doc (kbd "C-c d"))
(setq jedi:key-goto-definition (kbd "C-c g"))
@@ -8,4 +8,20 @@
(add-hook 'python-mode-hook 'jedi:setup)
(add-hook 'python-mode-hook 'auto-complete-mode)
+;; pyflakes flymake integration
+;; http://stackoverflow.com/a/1257306/347942
+(when (load "flymake" t)
+ (defun flymake-pyflakes-init ()
+ (let* ((temp-file (flymake-init-create-temp-buffer-copy
+ 'flymake-create-temp-inplace))
+ (local-file (file-relative-name
+ temp-file
+ (file-name-directory buffer-file-name))))
+ (list "pycheckers" (list local-file))))
+ (add-to-list 'flymake-allowed-file-name-masks
+ '("\\.py\\'" flymake-pyflakes-init)))
+(add-hook 'python-mode-hook 'flymake-mode)
+
+(setq-default default-tab-width 4)
+
(provide 'my-mode-hooks)
View
2  emacs.d/config/my-mu4e.el
@@ -206,6 +206,8 @@
'("earchive-message" . mu4e-action-archive-message) t)
(add-to-list 'mu4e-headers-actions
'("earchive-message" . mu4e-action-archive-message) t)
+(add-to-list 'mu4e-view-actions
+ '("View in browser" . mu4e-action-view-in-browser) t)
(add-to-list 'mu4e-bookmarks '("tag:\\\\Inbox" "Unified inbox" ?i))
(add-to-list 'mu4e-bookmarks '("tag:\\\\Inbox and date:today..now" "Today's inbox" ?n))
View
2  emacs.d/elisp/cs152-grading.el → emacs.d/elisp/banana-grading.el
@@ -132,7 +132,7 @@
(concat-student-work student)
(find-file (resolve-student-graded-file student))))
-(define-minor-mode cs152-grading-mode
+(define-minor-mode banana-grading-mode
"Minor mode to make grading assignments for cs152 slightly less
tedious."
:init-value nil
Please sign in to comment.
Something went wrong with that request. Please try again.