Skip to content

Instantly share code, notes, and snippets.

@pogin503
pogin503 / Get-ScreenShot.ps1
Created March 13, 2017 15:44 — forked from guitarrapc/Get-ScreenShot.ps1
Screenshot Automation with PowerShell
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)]
@pogin503
pogin503 / reference-user-comment.el
Last active January 3, 2016 20:48 — forked from sanryuu/reference-user-comment.el
Add header and footer.
;;; 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)