Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls | |
| smtpserver = smtp.gmail.com |
| // Place user-specific overrides in this file, to ensure they're preserved | |
| // when upgrading | |
| { | |
| "folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "node_modules"] | |
| } |
| # -*- Conf -*- | |
| [color] | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| showbranch = auto | |
| ui = true | |
| # color.branch | |
| # A boolean to enable/disable color in the output of git-branch(1). May be set to always, false (or |
| [user] | |
| name = Joe User | |
| email = [email protected] | |
| [branch] | |
| autosetupmerge = true | |
| [branch "master"] | |
| remote = origin | |
| merge = refs/heads/master |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| #! /usr/bin/env python | |
| # License: http://creativecommons.org/publicdomain/zero/1.0/ | |
| # See http://preshing.com/20130115/view-your-filesystem-history-using-python | |
| import optparse | |
| import os | |
| import fnmatch | |
| import time | |
| # Parse options | |
| parser = optparse.OptionParser(usage='Usage: %prog [options] path [path2 ...]') |
| #!/usr/bin/env python | |
| """A simple utility to restore file creation and modification | |
| dates back to their original values from EXIF. | |
| This script requires exif module to be installed or the exif | |
| command line utility to be in the path. | |
| To function correctly under windows this script needs win32file and | |
| win32con modules. Otherwise it will not be able to restore the creation |
| [ | |
| { "keys": ["f12"], "command": "htmlprettify"}, | |
| { "keys": ["f1"], "command": "fold" }, | |
| { "keys": ["f2"], "command": "unfold" }, | |
| { "keys": ["ctrl+à"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }, | |
| { "keys": ["ctrl+!"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, | |
| { "keys": ["ctrl+space"], "command": "auto_complete" }, | |
| { "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context": | |
| [ | |
| { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" }, |
| # This little gist shows how to easily internationalize your application using the meteor-just-i18n package. | |
| # Package repository: https://github.com/subhog/meteor-just-i18n/ | |
| # 1. Adding the package. | |
| $ meteor add anti:i18n |
| ## within current branch, squashes all commits that are ahead of master down into one | |
| ## useful if you merged with upstream in the middle of your commits (rebase could get very ugly if this is the case) | |
| ## commit any working changes on branch "mybranchname", then... | |
| git checkout master | |
| git checkout -b mybranchname_temp | |
| git merge --squash mybranchname | |
| git commit -am "Message describing all squashed commits" | |
| git branch -m mybranchname mybranchname_unsquashed | |
| git branch -m mybranchname |