ACM Archives

May 2014

ACM@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kyle Rogers <[log in to unmask]>
Reply To:
Kyle Rogers <[log in to unmask]>
Date:
Mon, 5 May 2014 16:31:43 -0400
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (344 bytes) , BashScripting.pdf (147 kB) , emacs.pptx (279 kB) , gittutorial.pptx (438 kB) , LinuxIntro.pptx (75 kB) , PythonPart1.pptx (530 kB) , PythonPart2.pptx (663 kB) , rao.emacs.txt (663 kB) , acm_bash_demo.tar.xz (122 kB)
Hey guys, 

I’ve gotten some requests for the power points for various tutorials that we did this semester so I have attached them all here. 

Also attached is Dr Rao’s .emacs file saved as rao.emacs. In order to use this as your own config file, you will need to put it in your home directory as .emacs

Thanks and good luck with finals

Kyle




;; .emacs ;; turn on font-lock mode (when (fboundp 'global-font-lock-mode)   (global-font-lock-mode t)) ;; default to better frame titles (setq frame-title-format       (concat "%b - emacs@" (system-name))) ;; Disable menu & tool bars in emacs as I never really use them. ;(menu-bar-mode -1) ;; (tool-bar-mode -1) ;; default to unified diffs (setq diff-switches "-u") ;; This makes the cursor automatically indent the next line... ;; However, it could make emacs a little slower (define-key global-map "\C-M" 'newline-and-indent) ;; Shortcut/Macro for goto-line (define-key global-map "\C-xg" 'goto-line) ;; Set tab width to 4 for the C++ mode.. (add-hook 'c++-mode-hook '(lambda ()     (setq c-basic-offset 4))) ;; Use spaces instead of tabs in C++ mode.. (add-hook 'c++-mode-hook '(lambda ()     (setq indent-tabs-mode nil))) ;; Supress beeping (setq visible-bell t) (custom-set-variables  ;; custom-set-variables was added by Custom.  ;; If you edit it by hand, you could mess it up, so be careful.  ;; Your init file should contain only one such instance.  ;; If there is more than one, they won't work right.  '(auto-compression-mode t nil (jka-compr))  '(case-fold-search t)  '(column-number-mode t)  '(current-language-environment "Latin-9")  '(default-input-method "latin-9-prefix")  '(global-font-lock-mode t nil (font-lock))  '(inhibit-startup-screen t)  '(ldap-host-parameters-alist (quote (("ldap.miamioh.edu" base "ou=People,dc=miamioh,dc=edu"))))) (custom-set-faces  ;; custom-set-faces was added by Custom.  ;; If you edit it by hand, you could mess it up, so be careful.  ;; Your init file should contain only one such instance.  ;; If there is more than one, they won't work right.  ) ;; Set tab width to 4 for the C++ mode.. (setq-default tab-width 4) ;; Make the default font a bit bigger to make it easier to read (set-face-attribute 'default (selected-frame) :height 150) ;; Show column numbers by default (setq column-number-mode t) ;; Shortcut/Macro for compile and default command for compiling (define-key global-map "\C-xc" 'compile) (setq compile-command "g++ -g -Wall -std=c++11") ;; Enable semantic mode to parse source code and generate symbols (semantic-mode 1) (require 'semantic/sb) (global-semantic-idle-completions-mode 1) (global-semantic-idle-summary-mode 1) ;; Enable auto-complete and integrate it with semantic mode. (add-to-list 'load-path "/usr/share/emacs/site-lisp/auto-complete") (require 'auto-complete-config) (ac-config-default)

ATOM RSS1 RSS2