VLC Snapshots

December 13, 2016

I was playing a video through VLC on Ubuntu and I wanted to take a snapshot frame from the video. It wasn't working.

I needed to:

  • Configure VLC to have a snapshots directory
  • Change the Hardware accelerated decoding option at Preferences->Input & Codecs to something other than VPDAU.

References ...


Searching Elasticsearch

October 11, 2016

I wanted to return a list of entries from ElasticSearch, and I wanted to just return ones where the _type field was set to c.


This URL will filter to just the rows with a _type of c ...

Listing ElasticSearch indexes

October 11, 2016

To find out a top level list of indexes in an ElasticSearch database, use:


which returns something like

health status index               pri rep docs.count docs.deleted store.size pri.store.size 
yellow open   logstash-2016.10.06   5   1      18908            0        6mb            6mb 
yellow ...

Running Services from PowerShell

September 14, 2016

I wanted to obtain a list of the running services on my windows machine. This can be done from PowerShell with the command:

Get-Service | Where-Object {$_.status -eq "running"}

Discover Powershell Version

September 14, 2016

How do you find out what version of Powershell you are running?

Start Powershell and then type:


at the prompt:

PS H:\> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1