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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
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
#include <boost/python.hpp> | |
#include <vector> | |
#include <string> | |
char const* yay() | |
{ | |
return "Yay!"; | |
} |
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
(setq inhibit-splash-screen t) | |
(setq default-directory "~") | |
;; I use cedet development branch, which install in | |
;; ~/.emacs.d/cedet. To install development branch do | |
;; (cd ~/.emacs.d && bzr checkout bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk cedet) | |
(let ((cedet-dir "~/.emacs.d/cedet")) | |
(if (file-directory-p cedet-dir) | |
(load-file "~/.emacs.d/cedet/cedet-devel-load.el"))) |
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 nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
" To install Vundle run | |
" git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
call vundle#begin() |
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
(setq inhibit-splash-screen t) | |
(setq default-directory "~") | |
(setq default-input-method 'russian-computer) | |
(setenv "PATH" | |
(concat (getenv "PATH") | |
":/usr/local/bin:/usr/texbin")) | |
(setq exec-path (setq exec-path |
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
# -*- coding: utf-8 -*- | |
""" | |
RPN calculator implementation. | |
""" | |
import math | |
import sys | |
def rpn(expr): |
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
(setq gnus-select-method '(nntp "news.gmane.org")) | |
(setq gnus-thread-sort-functions | |
'(gnus-thread-sort-by-most-recent-number | |
gnus-thread-sort-by-subject | |
(not gnus-thread-sort-by-total-score) | |
gnus-thread-sort-by-most-recent-date)) | |
(setq-default | |
gnus-summary-line-format "%U%R%d %-5,5L %-20,20n %B%-80,80S\n" |
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 tabstop=8 | |
set expandtab | |
set shiftwidth=4 | |
set softtabstop=4 | |
set autoindent | |
set backspace=2 | |
" disable all colors |
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
(defun natural-random (limit) | |
(1+ (random limit))) | |
(defun select-track () | |
(interactive) | |
(let ((cup-number (natural-random 10)) | |
(track-number (natural-random 4))) | |
(message (format "Cup #%i, track #%i" cup-number track-number)))) | |
(select-track) |
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
initialization <- function(dims, N, low, up) { | |
data <- runif(N * dims, low, up) | |
matrix(data, nrow=N) | |
} | |
zeros <- function(N, dims) { | |
matrix(rep(0, dims * N), nrow=N) | |
} |
OlderNewer