Troy Thompson

Web Developer

Archive for the ‘howto’ Tag

  1. Howto Create a hotkey to commit in Subclipse

    Published
    Tagged
    Content

    I use Subclipse as a plugin for Eclipse / Aptana, and there is no hotkey to perform a commit. This means anytime you want to commit something you have to navigate the file tree and then the context menus to commit, I'd rather not leave the keyboard to do a commit.

    So after some digging around I figured out how to add a hotkey, and I wanted to share.

    Open Eclipse / Aptana

    Window > Preferences

    In the filter box, type "keys"

    Scroll to "Save All" and double click it.

    In the Command field set change the Category to "SVN"

    Change the Name to "&Commit..."

    Change the key sequence to the key combo you want to perform a commit. I use alt + shift + s, but that might be weird for some folks.

    Click Add

    If you were successful you should be able to use your key combo to perform a commit for now on.

  2. Easy File Transfer from Linux SSH Session to Windows box

    Published
    Tagged
    Content

    This is a short tip to show you how to transfer a file on a linux box to a windows box.

    1. First put FileZilla on the windows box, and create a user with a home directory, open port 21 if behind a firewall, and whitelist FileZilla in the windows firewall.
    2. SSH to the linux box, then navigate to the folder where your file is located.
    3. Type "ftp YOURIP", it will then prompt you for the user and password. See notes for help getting ip address.
    4. Then type "put YOURFILE.EXT" ... see notes for more commands
    5. Now the file should transfer to your windows box.
    6. When its finished just type 'bye' and hit enter and the connection will be closed.

    Notes:
    List of FTP Commands

    You can get your ip from the following: