This code works in Vim compiled with python3 support:
function! MyFunction()
python3 << EOF
print("Test print")
EOF
endfunction
function! MyFunction()
python3 << EOF
print("Test print")
EOF
endfunction
git config --global url."https://".insteadOf git://
sudo apt-get install openjdk-8-jdk-headlessThen download and unpack glassfish server:
wget http://download.oracle.com/glassfish/4.1.2/release/glassfish-4.1.2.zipNow run application server console:
unzip glassfish-4.1.2.zip
glassfish4/bin/asadminCreate a new password for the admin user:
asadmin>change-admin-passwordEnable Secure Admin Access:
asadmin>enable-secure-adminRestart all running servers:
asadmin>stop-domainNow you can visit the administration page of your Glassfish server that is available on port 4848.
asadmin>start-domain
$ ipython --TerminalInteractiveShell.editing_mode=vi... or to set it globally in the profile configuration (~/.ipython/profile_default/ipython_config.py;
c.TerminalInteractiveShell.editing_mode = 'vi'To create the profile:
$ ipython profile create [profilename]
if [ -z ${var+x} ]; then echo "var is unset"; else echo "var is set to '$var'"; fiwhere ${var+x} is a parameter expansion which evaluates to nothing if var is unset, and substitutes the string x otherwise.
if [ -z "$var" ]; then echo "var is unset"; else echo "var is set to '$var'"; fiThis is because it doesn't distinguish between a variable that is unset and a variable that is set to the empty string. That is to say, if var='', then the above solution will incorrectly output that var is unset.
sudo apt-get install nautilus-actionsIf it didn't help try to install file-roller and xarchiver with command:
sudo apt-get install file-roller xarchiverDon't forget to restart nautilus after all.
let g:UltiSnipsSnippetsDir="~/.vim/bundle/vim-snippets/snippets/"in your .vimrc file.