Skip to content

Instantly share code, notes, and snippets.

View 0robustus1's full-sized avatar

Tim Reddehase 0robustus1

View GitHub Profile
@panterch
panterch / gvimrc
Created December 22, 2008 11:43
vimrc
" gui settings
set noanti guifont=Monaco:h10
set transparency=0
colorscheme macvim
set background=dark
" no toolbar in guimode
set guioptions-=T
if has("gui_macvim")
if has('gui_macvim')
set showtabline=2 " タブを常に表示
set imdisable " IMを無効化
set transparency=10 " 透明度を指定
set antialias
set guifont=Monaco:h14
colorscheme macvim
endif
@bagrow
bagrow / vimtex_workflow.txt
Created February 10, 2011 10:04
Some details for my macvim/skim/latexmk workflow
MacVim + latexmk + Skim workflow:
MacVim http://code.google.com/p/macvim/
Latexmk http://www.phys.psu.edu/~collins/software/latexmk-jcc/
Skim.app http://skim-app.sourceforge.net/
Open the texfile in macvim:
$ mvim <file>.tex
Watch tex file with latexmk (see also ~/.dotfiles/latexmkrc):
$ latexmk -pdf -pvc <file>.tex
@nathany
nathany / deploy.rb
Created March 7, 2011 03:51
Vagrant deploy.rb for Sprinkle using Capistrano delivery method
set :user, 'vagrant'
set :run_method, :sudo
role :app, '33.33.33.10'
ssh_options[:keys] = `vagrant ssh_config | grep IdentityFile`.split.last
@jridgewell
jridgewell / applescript_service
Created August 7, 2011 22:34
Open file/folder in MacVim. Preceded by get Finder Selection
on run {input, parameters}
repeat with i in input
tell application "MacVim"
open (POSIX path of i)
end tell
end repeat
tell application "MacVim"
activate
end tell
return input
@panchicore
panchicore / bash
Created October 7, 2011 00:25
solve perl: warning: Setting locale failed.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
@sebthemonster
sebthemonster / pre-commit.rspec.rb
Created October 25, 2011 18:47 — forked from david-hodgetts/pre-commit
pre-commit git hook, runs rspec if branch is master
#!/usr/bin/env ruby
# pre-commit git hook
# will run rspec if and only if current branch is master
# script adapted from http://book.git-scm.com/5_git_hooks.html
# source : https://gist.github.com/1141992
NO_COMMIT_MESSAGE = "\aDID NOT COMMIT YOUR FILES!"
FORMAT = :html
@cjolly
cjolly / pg.sh
Last active June 19, 2025 14:34
Use homebrew to upgrade to postgres on OSX
newpg=9.6.1 # set to new PG version number
oldpg=`pg_config --version | cut -d' ' -f2`
# PG 96. upgrades the readline to v7, which breaks anything linked against readline v6, like ruby via ruby-build.
# I *think* this should prevent it from installing v7. But if weird shit happens with various rubies,
# you'll have to reinstall them.
brew pin readline
# Stop current Postgres server
brew services stop postgresql
@nandosola
nandosola / macvim.txt
Created October 30, 2012 20:19
MacVim notes
http://wiredupandfiredup.blogspot.com.es/2008/09/pimp-your-macvim.html
http://spf13.com/post/perfect-vimrc-vim-config-file/
https://github.com/altercation/vim-colors-solarized
https://wincent.com/products/command-t
http://superuser.com/questions/247678/installing-command-t-breaks-macvim
@0robustus1
0robustus1 / gitignore
Last active October 13, 2015 06:28
LaTeX-specific gitignore
# Self
.gitignore
# Mac OS X
.DS_Store
# LaTeX
*.acn
*.acr
*.alg