Skip to content

Instantly share code, notes, and snippets.

@mjwall
mjwall / Minimal eclipse install
Last active November 14, 2017 14:09
Minimal eclipse install
Tired of extra plugins and cruft in eclipse, I tried the following
1. Download platform binary runtime from
http://archive.eclipse.org/eclipse/downloads/drops4/R-4.6.1-201609071200/
2. Modify eclipse.ini, set -vm JAVA_HOME/bin/java for java 8 and -Xmx2048m
3. Open and run check for updates
git clone git://github.com/emacsmirror/emacs.git
cd emacs/
git co -b EMACS_23_3-local EMACS_23_3
sudo yum install texinfo
sudo yum search x11-devel
sudo yum install libX11-devel
sudo yum install gtk2-devel
sudo yum install libXpm-devel libjpeg-devel libungif-devel libtiff-devel
sudo yum install ncurses-libs ncurses-devel ncurses-term
@mjwall
mjwall / centos-vbox-on-mac
Created May 30, 2013 02:49
setup centos in virtualbox on mac osx
- install virtual box
- download minimal iso from http://yum.singlehop.com/CentOS/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso
- create vm, use redhat 64
- in settings, storage, point the controller IDE to the iso
- run it
- once it reboots, you need networking
- run dhclient eth0
- yum install system-config-network-tui
- run system-config-network-tui
- manually edit /etc/sysconfig/network-scripts/ifcfg-eth0
@mjwall
mjwall / screen.rb
Created October 14, 2011 14:05
Homebrew screen install with 256 colors and vertical splits
require 'formula'
class Screen <Formula
homepage 'http://www.gnu.org/software/screen/'
url 'http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz'
md5 '8506fd205028a96c741e4037de6e3c42'
# brew install --HEAD to get the latests, includes vertical split, mapped
# to C-a |
head 'git://git.savannah.gnu.org/screen.git', :branch => 'master'
@mjwall
mjwall / gist:1240216
Created September 25, 2011 04:09
update system vim with homebrew
# If you are using rvm, you may need to run
rvm use system
# Then use the --override-system-vim option of macvim. Here is what I ran
brew install macvim --force --override-system-vim --with-cscope --with-envycoder --enable-clipboard --enable-multibyte --HEAD
# Lastly, you can link MacVim.app to the Applications folder with
ln -s /usr/local/Cellar/macvim/HEAD/MacVim.app /Applications