Skip to content

Instantly share code, notes, and snippets.

View tomcbe's full-sized avatar

Thomas Bernhart tomcbe

View GitHub Profile
svn update --set-depth exclude some-feature-branch3
@tomcbe
tomcbe / chocolatey_list-installed-packages.ps1
Last active November 1, 2017 07:57
Chocolatey: List installed packages
chocolatey list -localonly
# chocolatey list -lo
# clist -lo
@tomcbe
tomcbe / bash_count-files-in-directory.sh
Last active October 5, 2017 12:33
bash: Count files in a directory
find . -type f -printf . | wc -c
@tomcbe
tomcbe / grel_replace-chars-in-colum.grel
Last active October 5, 2017 12:35
Grel: replace characters in a column
grel:value.replaceChars(value, "()[]", "")
@tomcbe
tomcbe / grel_custom-text-facet-matching-a-pattern.grel
Last active October 5, 2017 12:36
Grel: Custom Text facet matching a pattern
grel:match(value, /(?:.*?([\(\[].*[\)\]])+.*?)|/)
@tomcbe
tomcbe / 0_reuse_code.js
Last active August 27, 2015 08:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console