Tag: linux

  • Fix SSH backspace coming out as “^?”

    by

    in

    When using SSH at FS Data, pressing backspace in Vim were coming out as ^? so editing files was a hassle. (I am on a Linux workstation btw.) I found a solution in the Vim documentation, via a Stack Overflow post. I just opened ~/.vimrc and added the following: :if &term == “xterm-256color” :  set…

  • PhpStorm keymap in Ubuntu

    by

    in

    I am used to using PhpStorm on a Mac, but now I am with Ubuntu on a ThinkPad so the keymapping is all off. I want to use the Mac OS X keymap, but contrary to my expectation, pressing the Windows key does not produce the Meta symbol so I cannot access half the shortcuts.…

  • Single-machine dev mail setup

    by

    in

    I sometimes work on websites where sending email is a central task. To be able to efficiently test my code on my Ubuntu development machine, I have created a simple setup from the following requirements: No mail should reach the internet I should be able to quickly read every message that is “sent” from PHP…