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
[user] | |
name = Put a Name | |
email = [email protected] | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = true |
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
(defun color-theme-almost-monokai () | |
(interactive) | |
(color-theme-install | |
'(color-theme-almost-monokai | |
((background-color . "#272821") | |
(foreground-color . "#F8F8F2") | |
(cursor-color . "#DAD085")) | |
(default ((t (nil)))) | |
(modeline ((t (:background "white" :foreground "black" | |
:box (:line-width 1 :style released-button))))) |
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
def how_many_tabs(tabkeeper) | |
tabs = "" | |
tabkeeper.times do |t| | |
tabs += "\t" | |
end | |
return tabs | |
end | |
path = gets.chomp | |
unfile = "" |
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
;;; | |
; dot emacs | |
; Prateek Saxena (prtksxna) | |
;;; | |
;; Load Files and Directories | |
(add-to-list 'load-path "~/.emacs.d/plugins") | |
(add-to-list 'load-path "~/.emacs.d/modes/rails") | |
(add-to-list 'load-path "~/.emacs.d/modes/org/lisp") | |
(add-to-list 'load-path "~/.emacs.d/plugins/erc") |
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
Element.addMethods({ | |
setPngBackground: (function() { | |
var IEBelow7 = (function(agent) { | |
var version = new RegExp('MSIE ([\\d.]+)').exec(agent); | |
return version ? parseFloat(version[1]) < 7 : false; | |
})(navigator.userAgent); | |
return function(element, url) { | |
element = $(element); | |
var options = Object.extend({ |
NewerOlder