Skip to content

Instantly share code, notes, and snippets.

View bigos's full-sized avatar

Jacek Podkanski bigos

  • North West England
View GitHub Profile
// fix autocomplete
/*
* Unobtrusive autocomplete
*
* To use it, you just have to include the HTML attribute autocomplete
* with the autocomplete URL as the value
*
* Example:
;;;
(setq prelude-guru nil)
(global-hl-line-mode -1)
;(setq prelude-whitespace nil)
(setq prelude-flyspell nil)
;(smartparens-global-mode -1)
(global-linum-mode )
(require 'git-auto-commit-mode)
@bigos
bigos / puzzle
Created September 29, 2014 18:48
Question: How to optimise Lisp
(defun expotential-divisors (n expot)
(reverse (loop
for y from 1 upto n
for x = 1 then (* x expot )
collect x)))
(defun expot-len (n)
(1- (expt 2 n)))
(defun calc-base (n divs a b)