- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| # SSH Agent Functions | |
| # Mark Embling (http://www.markembling.info/) | |
| # | |
| # How to use: | |
| # - Place this file into %USERPROFILE%\Documents\WindowsPowershell (or location of choice) | |
| # - Import into your profile.ps1: | |
| # e.g. ". (Resolve-Path ~/Documents/WindowsPowershell/ssh-agent-utils.ps1)" [without quotes] | |
| # - Enjoy | |
| # | |
| # Note: ensure you have ssh and ssh-agent available on your path, from Git's Unix tools or Cygwin. |
| """ | |
| This script upgrades all outdated python packages. | |
| """ | |
| __author__ = "serafeimgr" | |
| from multiprocessing import Pool, cpu_count | |
| from subprocess import PIPE, Popen | |
| def run_command(command): |
| #!/usr/bin/env python | |
| """ Recursively walk the current working directory looking for broken | |
| symlinks. If any broken symlinks are found print out a report and exit | |
| with status 1. If none are found print out OK and exit with status 0. | |
| """ | |
| import sys,os | |
| print "Checking for broken symlinks...", | |
| links = [] |