Joined June 2013
·
Achievements
154 Karma
17,291 Total ProTip Views
Python 3
Have at least three original repos where Python is the dominant language
Velociraptor
Have at least one original repo where Perl is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
@jitendravyas In your
.bashrc
or.zshrc
.Do you know Fabric Virtualenv? It provides a context manager for doing operations inside a virtualenv. You've to know the location of your environment, but know you've to know the name of the environment. So that doesn't make a big difference.
Combine it with
xclip
to automatically save the output to your clipboard.lorem -w 5 | xclip
puts it on your 'X'clipboard and you can paste it by clicking with your middle mouse button. Usexclip -selection clipboard
to have it under yourCtrl-V
buttons.I you want to apply this option not a global level but on a user level you can put the line in
~/.bashrc
. After adding you can reload your configuration with. ~/.bashrc
.+1 vimishor. I use
cp -Rvf
a lot and the-R
flag ofcp
differs from the meaning ofrsync
s-R
flag. The same things counts for the-f
flag. So you have to be aware of that. The equivalent ofcp -Rvf
inrsync
isrsync -rv --force
. So in case I aliascp
I must usecp -rv --force
.Nice optimalization tip! The next step for me is to find a something which can do this for the commands and key phrases I use in Vim.
If you want to do this manually when you are already in a file, use
gi
. Very handy when 'scrolling' through a file and you last positions went off screen.More improvements ;)
Put
set alternate_nick Your Full Name
in the file 'startup' so youre alternate nick will be set automatically.In order to join a (group) channel automatically add this to the
channels
section in your config: `{ name = "[Jabber id of group]@conf.hipchat.com"; chatnet = "hipchat"; autojoin = "Yes"; }See my example config
Thanks for the tip of setting an alternative nick! Maybe good to mention that the MUC server is different of the default server. Use
/join group_id@conf.hipchat.com
.