Skip to content

Instantly share code, notes, and snippets.

View AndiH's full-sized avatar
🤖
q|^_^|p

Andreas Herten AndiH

🤖
q|^_^|p
View GitHub Profile
@AndiH
AndiH / ROOT-Shell.sublime-build
Created November 7, 2012 16:04
C++/ROOT: Build System (runs »root -l« for current file)
{
"path": "/Applications/Panda/extpkg/bin", // point this to the directory of your root / root.exe
"selector": "source.cpp, source.c, source.c++",
"working_dir": "${file_path}",
"cmd": ["root", "-l", "$file"],
"variants": [
{
"cmd": ["root", "-l", "$file+"], // delivers a command palette only option to run root with compiling the macro before executing it (the + option) - but doesn't run, since clang++ can't be found. If you want to fix it: fix it.
"name": "ROOT: Compile (+)"
@AndiH
AndiH / gist:3878427
Created October 12, 2012 09:44
OS X defaults
### Useful defaults
### Extracted from the .osx file of Mathias Bynens
### https://github.com/mathiasbynens/dotfiles/blob/master/.osx
### Finder stuff
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
# Save to disk (not to iCloud) by default
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
# Automatically quit printer app once the print jobs complete