Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

6 total results found

psql

Command Line Snippets

I always end up looking up the same few things every time I need to interact with psql: ==== Quit ====  \q ==== Databases ==== == List ==   \l == Switch ==  \c dbname == Rename ==  ALTER DATABASE old RENAME TO new; ==== Tables ==== == List ==   \dt == Show det...

robocopy

Command Line Snippets

copy sourcepath to destpath recursively (/e), log to x:\logs.log.txt (/log), allow resuming large files (/z), and use 16 threads (/mt)   robocopy [sourcepath] [destpath] /tee /log:x:\logs\log.txt /z /e /mt:16

excel

Command Line Snippets

split by delimeter and take just one part =TAKE(DROP(TEXTSPLIT([@FullName],"\"), 0, 6), 1, 1) Split the target into a table where each column is a path segment Drop the first 6 columns Take a single (top leftmost) cell from that table

azure pipelines

Command Line Snippets

{{tag>Azure_DevOps}} Snippets for quickly getting a tree of some path: Look at artifact staging ```- powershell: |    Get-ChildItem -Path $(Build.ArtifactStagingDirectory) -Recurse | Select-Object -ExpandProperty FullNamedisplayName: "Diagnostic: Tree of artif...

Everything

Tools Windows

[[https://www.voidtools.com/|voidtools' Everything]] is a live file search tool for windows. I find it very useful for a number of scenarios. Trying to find a file The obvious case of not being sure where something is. The immediate response of Everything help...

git

Command Line Snippets

find all commits touching a file today I had some changes to a file sitting on an old branch from a couple months ago, and I wasn’t sure which branch. stackoverflow user BigMiner shared this, which worked great: I have been looking at this closely and all the...