Just a dump of handy live templates I use with IntelliJ. They should also work with WebStorm.
- Go to
settings. - Search for
live templates. - Under the javascript section you should be able to manage your templates.
| # Installing the virtualbox guest additions | |
| VBOX_VERSION=$(cat /etc/vagabond/vbox_version) | |
| cd /tmp | |
| wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso | |
| mount -o loop,ro VBoxGuestAdditions_$VBOX_VERSION.iso /mnt | |
| sh /mnt/VBoxLinuxAdditions.run --nox11 | |
| umount /mnt | |
| rm VBoxGuestAdditions_$VBOX_VERSION.iso | |
| unset VBOX_VERSION |