This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| Function Get-WinEventTail | |
| { | |
| <# | |
| .SYNOPSIS | |
| A tail cmdlet for Eventlogs | |
| .DESCRIPTION | |
| This function will allow you to tail Windows Event Logs. You specify | |
| a Logname for either the original logs, Application, System and Security or | |
| the new format for the newer logs Microsoft-Windows-PowerShell/Operational | |
| .PARAMETER LogName |
| # This will disable the windows firewall | |
| # | |
| # Requires: puppetlabs/registry | |
| # | |
| class profile::windows::disable_firewall { | |
| registry::value { 'Disable DomainProfile firewall': | |
| key => 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\DomainProfile', | |
| value => 'EnableFirewall', | |
| data => '0', |
My Elasticsearch cheatsheet with example usage via rest api (still a work-in-progress)