This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function rconfirm(){ | |
| if [[ ${SSH_CONNECTION:0} != 0 ]];then | |
| local confirm | |
| echo " ___ " | |
| echo "{o,o}" | |
| echo "|)__)" | |
| echo "-\"-\"-" | |
| echo "O RLY?" | |
| read -q confirm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function! PyLintCwindow() | |
| " some comment | |
| if g:pymode_lint_cwindow == 1 | |
| let g:pymode_lint_cwindow = 0 | |
| else | |
| let g:pymode_lint_cwindow = 1 | |
| endif | |
| endfunction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class BasketBase(type): | |
| def __new__(mcs, classname, bases, class_dict): | |
| class_dict['actions'] = {} | |
| class_dict['basketactions'] = {} | |
| for elem in class_dict: | |
| if elem.startswith("action_"): | |
| class_dict['actions'][elem.replace("action_","")] = class_dict[elem] | |
| if elem.startswith("basketaction_"): | |
| class_dict['basketactions'][elem.replace("basketaction_","")] = class_dict[elem] | |
| for elem in class_dict.keys(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import XMonad hiding ( (|||) ) | |
| import XMonad.Layout.LayoutCombinators | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Hooks.ManageHelpers(doRectFloat, Side (C)) | |
| import XMonad.Util.Run(spawnPipe) | |
| import XMonad.Util.EZConfig(additionalKeysP, removeKeysP) | |
| import System.IO | |
| import qualified XMonad.StackSet as W | |
| import XMonad.Actions.GridSelect |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import XMonad hiding ( (|||) ) | |
| import XMonad.Layout.LayoutCombinators | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Hooks.ManageHelpers(doRectFloat, Side (C)) | |
| import XMonad.Util.Run(spawnPipe) | |
| import XMonad.Util.EZConfig(additionalKeysP, removeKeysP) | |
| import System.IO | |
| import qualified XMonad.StackSet as W | |
| import XMonad.Actions.GridSelect |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pyfile /home/pielgrzym/.vim/bundle/vimotal/vimotal.py | |
| function! GetPivotalGroup(name, group) | |
| python << EOF | |
| import vim, sys, os | |
| scriptdir = "/home/pielgrzym/.vim/bundle/vimotal" | |
| sys.path.append(scriptdir) | |
| name = vim.eval("a:name") | |
| group = vim.eval("a:group") | |
| pivotal = Pivotal() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pyfile /home/pielgrzym/.vim/bundle/vimotal/vimotal.py | |
| function! GetPivotalGroup(name, group) | |
| python << EOF | |
| import vim, sys, os | |
| scriptdir = "/home/pielgrzym/.vim/bundle/vimotal" | |
| sys.path.append(scriptdir) | |
| name = vim.eval("a:name") | |
| group = vim.eval("a:group") | |
| pivotal = Pivotal() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pyfile /home/pielgrzym/.vim/bundle/vimotal/vimotal.py | |
| python << EOF | |
| def getPivotalGroup(name, group): | |
| import vim, sys, os | |
| scriptdir = "/home/pielgrzym/.vim/bundle/vimotal" | |
| sys.path.append(scriptdir) | |
| # name = vim.eval("a:projectname") | |
| # group = vim.eval("a:groupname") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function($){ | |
| $.fn.extend({ | |
| formatInput: function(custom_settings) { | |
| var settings = $.extend({ | |
| regex:".*", | |
| format_number: true, | |
| max_length: false, | |
| errback: undefined | |
| }, custom_settings); | |
| return this.each(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function($){ | |
| $.fn.extend({ | |
| formatInput: function(custom_settings) { | |
| settings = $.extend({ | |
| regex:".*", | |
| format_number: true, | |
| max_length: false, | |
| errback: null | |
| }, custom_settings); | |
| return this.each(function() { |