This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
/*********************************************************************** | |
* This programs plots histograms. | |
* Input is fed through the console/command-line/terminal. | |
* To compile issue : | |
* gcc -o hist <name_you_saved>.c | |
* Ignore warnings... (Remove them if you can. :) ) | |
* Run as ./hist with options. | |
* | |
* Options : | |
* 1. -c<space><character> specifies the character which will be used to |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
sudo apt-get remove \ | |
emacs emacs24 emacs24-bin-common \ | |
emacs24-common emacs24-common-non-dfsg emacsen-common | |
wget -c http://gnu.mirror.vexxhost.com/emacs/emacs-24.5.tar.xz | |
tar vxf emacs-24.5.tar.xz | |
cd emacs-24.5/ | |
sudo apt-get install libxml2-dev libgtk-3-dev \ | |
libtiff5-dev libgif-dev libXpm-dev libncurses-dev | |
./configure | |
make |
(require 'package) | |
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) | |
(package-initialize) | |
(package-install 'helm-gtags) | |
(require 'helm-config) | |
(helm-mode 1) | |
(global-set-key (kbd "C-x C-f") 'helm-find-files) |
emacs[0x54ec61]r n) y | |
emacs[0x5752d6] | |
emacs[0x566b29] core)? (y or n) y | |
emacs[0x5668fb] | |
emacs[0x5748e8] | |
emacs[0x56691a] | |
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11670)[0x7f156b2e4670] | |
/lib/x86_64-linux-gnu/libc.so.6(pselect+0xac)[0x7f156aae6f7c] | |
emacs[0x691a1f] |
#!/bin/bash | |
# Build latest version of Emacs, version management with stow | |
# OS: Ubuntu 14.04 LTS | |
# version: 24.5 | |
# Toolkit: lucid | |
# Warning, use updated version of this script in: https://github.com/favadi/build-emacs | |
set -e |
* An Emacs Workshop for Beginners | |
It's all about discovering Emacs Really | |
** Install | |
*** Emacs 24.3 | |
http://emacsformacosx.com/ | |
http://emacs.naquadah.org/ | |
http://ftp.gnu.org/pub/gnu/emacs/windows/ | |
** Conventions and docs |
(require 'package) | |
(setq load-prefer-newer t | |
package-enable-at-startup nil) | |
(setq package-archives '(("melpa" . "http://melpa.org/packages/") | |
("org" . "http://orgmode.org/elpa/") | |
("gnu" . "http://elpa.gnu.org/packages/"))) | |
(package-initialize) | |
;; Bootstrap `use-package' |