Skip to content

Instantly share code, notes, and snippets.

@zomux
Last active February 3, 2016 15:27
Show Gist options
  • Save zomux/230451f4ff6b411e54c6 to your computer and use it in GitHub Desktop.
Save zomux/230451f4ff6b411e54c6 to your computer and use it in GitHub Desktop.

system setting commands

ssh -i ~/Downloads/zomux.pem ubuntu@52.8.85.159
ssh-keygen
# For ami-b141a2f5

sudo pip install pdbpp

sudo aptitude install -y vim-gnome

sudo modprobe nvidia-346 NVreg_CheckPCIConfigSpace=0

echo "colorscheme solarized" > ~/.vimrc.local
echo "set nofoldenable" >> ~/.vimrc.local

cd ~/

git clone git@github.com:uaca/deepy.git

curl http://j.mp/spf13-vim3 -L -o - | sh
cd /home/ubuntu/cudnn-6.5-linux-x64-v2
cp *.h /usr/local/cuda/include/
cp * /usr/local/cuda/lib64

sublime sftp setting

{
    // The tab key will cycle through the settings when first created
    // Visit http://wbond.net/sublime_packages/sftp/settings for help
    
    // sftp, ftp or ftps
    "type": "sftp",

    "save_before_upload": true,
    "upload_on_save": true,
    "sync_down_on_open": false,
    "sync_skip_deletes": false,
    "sync_same_age": true,
    "confirm_downloads": false,
    "confirm_sync": false,
    "confirm_overwrite_newer": false,
    
    "host": "52.8.159.84",
    "user": "ubuntu",
    //"password": "password",
    //"port": "22",
    
    "remote_path": "/home/ubuntu/deepy",
    "ignore_regexes": [
        "\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
        "sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
        "\\.pyc", "\\.gz", "\\.log", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini"
    ],
    //"file_permissions": "664",
    //"dir_permissions": "775",
    
    //"extra_list_connections": 0,

    "connect_timeout": 30,
    //"keepalive": 120,
    //"ftp_passive_mode": true,
    //"ftp_obey_passive_host": false,
    "ssh_key_file": "~/Downloads/zomux.pem",
    //"sftp_flags": ["-F", "/path/to/ssh_config"],
    
    //"preserve_modification_times": false,
    //"remote_time_offset_in_hours": 0,
    //"remote_encoding": "utf-8",
    //"remote_locale": "C",
    //"allow_config_upload": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment