Skip to content

Instantly share code, notes, and snippets.

View DoZator's full-sized avatar
😺
Working

Oleg Bogatenko DoZator

😺
Working
View GitHub Profile
@DoZator
DoZator / info.md
Created March 4, 2014 07:11
Setup Sublime Text
  1. Set up Sublime to run from the command line. Create a symbolic link for the sublime executable.

     ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
    
  2. Install Package Control.

     import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
    
@DoZator
DoZator / gist:6266119
Last active December 21, 2015 06:39
Usefull Xcode Plugins and TextMate bundles
Xcode Plugins
TextMate Bundles
@DoZator
DoZator / README.md
Last active December 11, 2015 02:18
Show git and branch in prompt

Install zsh for OS X wuth Homebrew

brew install zsh zsh-completions

Set as default shell

echo /usr/local/bin/zsh | sudo tee -a /etc/shells

chsh -s $(which zsh)
@DoZator
DoZator / README.md
Last active December 11, 2015 00:28
My tmux config

####After editing ~/.tmux.conf, execute this from a shell:

tmux source-file ~/.tmux.conf

@DoZator
DoZator / .gitignore
Created October 26, 2012 11:02
.gitignore file for iOS project
# Temporary files
*~
.DS_Store
*.swp
*.out
# Xcode files
*~.nib
@DoZator
DoZator / git_ll.md
Created September 10, 2012 06:13
Alias for "git log" command in pretty format

In ~/.gitconfig file:

[alias]    
ll = log --color --graph --pretty=format:"%Cred%h%Creset\\ -%C(yellow)%d%Creset\\ %s\\ %Cgreen(%cr\\ by\\ %an)%Creset" --abbrev-commit
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
@DoZator
DoZator / README.md
Created August 23, 2012 06:46
Script For Sync TextMate Bundles Using Dropbox

Script For Sync TextMate Bundles Using Dropbox

This script helps automate the trick with the synchronization user's TextMate bundles throught dropbox. The script was written for my own needs, but may be useful for somebody else.

==============================================================================

Usage:

All you need is a Dropbox account. Run script: