This file contains 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
set nu | |
set autoindent | |
set smartindent | |
set cin | |
set tabstop=4 | |
set shiftwidth=4 | |
set title | |
syntax on |
This file contains 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
;; | |
;; This is where the magic starts | |
;; | |
;; This file is not part of GNU Emacs. | |
;;; Commentary: | |
;; | |
;; "Emacs outshines all other editing software in approximately the | |
;; same way that the noonday sun does the stars. It is not just bigger |
This file contains 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
(require 'erc) | |
(require 'erc-nick-notify) | |
(erc :server "irc.freenode.net" :full-name "Vikash Agrawal") | |
(erc :server "irc.gimp.org" :full-name "Vikash Agrawal") | |
(erc :server "irc.mozilla.org" :full-name "Vikash Agrawal") | |
((setq erc-autojoin-channels-alist '(("freenode.net" "#emacs" "#lumanipal" "##linux-india" "#gsoc" "#xcb" "##c" "#python")))) | |
((setq erc-autojoin-channels-alist '(("#gimp.org" "#gnome" "#gnome-love")))) |
This file contains 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
;ERC | |
(setq erc-autojoin-channels-alist | |
'(("freenode.net" "#emacs" "#lumanipal" "##linux-india" "#gsoc" "#xcb" "##c" "#python" ) | |
("gimp.org" "#gnome" "#gnome-love"))) | |
(erc :server "irc.freenode.net" :port 6667 :nick "vikash" :full-name "Vikash Agrawal") | |
(erc :server "irc.gimp.org" :port 6667 :nick "vikash" :full-name "Vikash Agrawal") | |
This file contains 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
;; ERC config | |
;; Copyright (C) 2011 - Vikash Agrawal | |
;; Author: Vikash Agrawal <[email protected]> | |
;; Keywords: local | |
;; This file is NOT part of GNU Emacs. | |
;; This is free software; you can redistribute it and/or modify it under |
This file contains 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
import fileinput | |
flag = 0 | |
# for line in fileinput.input(): | |
# if (line.count("{") - line.count("}")!=0): | |
# print line | |
lines = [line for line in fileinput.input() if (line.count("{") - line.count("}")!=0)] |
This file contains 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
[vikash@localhost GIT]$ pdflatex git.tex | |
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) | |
%&-line parsing enabled. | |
entering extended mode | |
(./git.tex | |
LaTeX2e <2005/12/01> | |
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh | |
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng | |
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish, | |
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc |
This file contains 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
import cProfile | |
def fib(n): | |
"""Fibonacci series | |
""" | |
if n==0: | |
return 0 | |
elif n == 1: | |
return 1 |
This file contains 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
Loading /usr/share/emacs/site-lisp/site-start.d/emacs-magit-mode.el (source)...done | |
Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)...done | |
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done | |
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)...done | |
Loading /home/vikash/.emacs.d/config/core.el (source)...done | |
Loading /home/vikash/.emacs.d/config/utils.el (source)...done | |
Loading /home/vikash/.emacs.d/config/cosmetic.el (source)... | |
Loading /home/vikash/.emacs.d/lib/blackbored.el (source)...done | |
Loading /home/vikash/.emacs.d/config/cosmetic.el (source)...done | |
Loading /home/vikash/.emacs.d/config/built-in.el (source)...done |
This file contains 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
331 tests OK. | |
2 tests failed: | |
test_distutils test_time | |
4 tests altered the execution environment: | |
test_multiprocessing test_packaging test_site test_sysconfig | |
23 tests skipped: | |
test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp | |
test_codecmaps_kr test_codecmaps_tw test_curses test_kqueue | |
test_msilib test_ossaudiodev test_smtpnet test_socketserver |
OlderNewer