This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-ScreenShot | |
{ | |
[CmdletBinding()] | |
param( | |
[parameter(Position = 0, Mandatory = 0, ValueFromPipelinebyPropertyName = 1)] | |
[ValidateNotNullOrEmpty()] | |
[string]$OutPath = "$env:USERPROFILE\Documents\ScreenShot", | |
#screenshot_[yyyyMMdd_HHmmss_ffff].png | |
[parameter(Position = 1, Mandatory = 0, ValueFromPipelinebyPropertyName = 1)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; reference-user-comment.el --- get user comment | |
;; This program is free software | |
;;; Installation | |
;; | |
;; install-elisp RET https://gist.github.com/sanryuu/7809739/raw/d5cb7ef253cc75d58e6cd97d3d99e055e7f87d0c/reference-user-comment.el RET | |
;; C-c C-c | |
;; | |
;; Put the following to your ~/.emacs startup file. | |
;; | |
;; (require 'reference-user-comment) |