Categories
Productivity Tips

Python 3 and virtualenv

Virtual environment is essential component of Python world. You can isolate different version of packages into separate environments. How to set up virtualenv? Install Python and virtualenv package by pip: pip install virtualenv Create directory which will hold the virtual environment (e.g. pyenv34) and initialize it: virtualenv –system-site-packages pyenv34 You can uses system-site-packages option to […]

Categories
Productivity Tips

Hidden gem in Git package: git gui

Git has very good command line interface. Git package also contains one handy GUI extension. Type command: git gui You’ll get simple GUI tool for staging commits, viewing diffs and many more. Windows users can install git package by Chocolatey. You can find more information about this command at git-scm.com.

Categories
Y Soft Corporation

Y Soft Training Program

Watch our video stream at Vimeo or Youtube.

Categories
Productivity Tips

Simple trick how to repeat last command in shell

Shells like Bash or Zsh have one neat feature: repeat last command. How to invoke it? Use double exclamation mark: !! This is very handy when you have typed the command as normal user, but it must be executed by sudo. Example: apt-get install safeq E: Could not open lock file /var/lib/dpkg/lock – open (13: Permission denied) […]

Categories
Productivity Tips

tig – text mode git interface

Sometimes it is necessary to work only with text console. Git provides rich command line interface, but browsing history is little bit cumbersome. If you like command line tools and email client mutt then there is awesome tool for you: tig. tig is text mode interface for git. Just enter directory with cloned git repo […]

Categories
Productivity Tips

Multiple cursors in IntelliJ Idea

Multiple cursors feature has been introduced also to IntelliJ Idea in version 13.1. This feature has been inspired by Sublime Text and it was the top voted feature in Idea. How it works? Press Shift+Alt+left click You can see multiple cursors and they will perform the same operation as you start typing. You can find […]

Categories
Productivity Tips

Multiple cursors in Sublime Text

Sometimes it is necessary to modify several places in text file at once. Sublime Text has very neat feature: multiple cursors. Point mouse cursor at desired text location, press CTRL and left click. You can repeat this operation several times. You’ll see multiple cursors and as you start typing all cursors will perform the same operation.

Categories
Productivity Tips

Gradle daemon

Gradle requires Java and it can reuse all great features from the runtime. The drawback is that it takes several seconds to boot whole Groovy/Java engine after typing command: gradle. There is simple way how to speed up Gradle: use daemon mode. The easiest approach is to put following line into file ~/.gradle/gradle.properties: org.gradle.daemon=true Gradle will […]

Categories
Productivity Tips

IntelliJ Idea – almighty keyboard shortcut

InteliJ Idea is very powerful IDE. There is one keyboard shortcut which gives you full access to Ideas power: Ctrl+Shift+A You can type part of command or action into the text field and Idea will search in all available features and actions. Note: Mac version is Command+Shift+A.