-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Tomek Roszczynialski edited this page Aug 28, 2017
·
10 revisions
CTRL+SHIFT+u ubuntu qt-creator problem: http://superuser.com/a/670910
Go to Language Support on System Settings and change the Keyboard input method system to none, reboot
Make ubuntu sleep on power-buttin
gsettings set org.gnome.settings-daemon.plugins.power button-power suspend
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 5
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 1
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
Uber haxor fix python lame indentation fuckup:
:%s/^\s*/&&/g
ipython profile create
Then include these lines in ~/.ipython/profile_default/ipython_config.py:
c.InteractiveShellApp.exec_lines = []
c.InteractiveShellApp.exec_lines.append('%load_ext autoreload')
c.InteractiveShellApp.exec_lines.append('%autoreload 2')
As well as an optional warning in case you need to take advantage of compiled Python code in .pyc files:
c.InteractiveShellApp.exec_lines.append('print "Warning: disable autoreload in ipython_config.py to improve performance." ')
Install PyQt5
sudo apt-get install python-pyqt5