Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
Investigating ways to increase technical debt with shiny

Virgil virgilwashere

😎
Investigating ways to increase technical debt with shiny
View GitHub Profile
@virgilwashere
virgilwashere / detect-os.sh
Last active Feb 26, 2021 — forked from prabirshrestha/detect-os.sh
detect os in bash
View detect-os.sh
#!/usr/bin/env bash
# "unofficial" bash strict mode
# See: http://redsymbol.net/articles/unofficial-bash-strict-mode
set -o errexit # Exit when simple command fails 'set -e'
set -o errtrace # Exit on error inside any functions or subshells.
set -o nounset # Trigger error when expanding unset variables 'set -u'
set -o pipefail # Do not hide errors within pipes 'set -o pipefail'
IFS=$'\n\t'
View _Mautic_nginx_config_files.md
View MyVeeamReport.ps1
#Requires -Version 4
<#
.Notes
NAME: MyVeeamReport.ps1
AUTHOR: Virgil@endless.net.au
CREATED: 22/02/2014
LASTEDIT: 13/01/2016
View resume.json
{
"meta": {
"theme": "stackoverflow"
},
"basics": {
"name": "Virgil",
"email": "virgil@virgilwashere.co",
"label": "Cloud Engineer",
"phone": "+61 419 170 749",
"website": "https://registry.jsonresume.org/virgilwashere",
@virgilwashere
virgilwashere / README-Template.md
Created Jun 27, 2019 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@virgilwashere
virgilwashere / git-install-intro.md
Last active Jun 18, 2019 — forked from derhuerst/intro.md
Installing Git on Linux, Mac OS X and Windows
View git-install-intro.md
@virgilwashere
virgilwashere / settings.json
Last active Dec 26, 2018
# Todo Tree ## vscode extension * https://github.com/Gruntfuggly/todo-tree Show TODO, FIXME, etc. comment tags in a tree view
View settings.json
"todo-tree.tags": [
"TODO",
"FIXME",
"DONE",
"INFO",
"BUG",
"REVIEW",
],
"todo-tree.defaultHighlight": {
"icon": "octoface",
@virgilwashere
virgilwashere / settings.json
Last active Dec 26, 2018
# vscode ## Explorer tree view display Configure glob patterns for excluding files and folders. For example, the files explorer decides which files and folders to show or hide based on this setting.
View settings.json
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/_site": true,
"**/tmp": true,
"**/*.pyc": true,
"**/*.asset-cache": true,
@virgilwashere
virgilwashere / settings.json
Last active Dec 26, 2018
# gitProjectManager ## vscode extension Allows you to change easily between git projects. * https://github.com/felipecaputo/git-project-manager Specifies folders to be ignored. (node_modules for example), improving search performance. Edit in sett
View settings.json
"gitProjectManager.displayProjectPath": true,
"gitProjectManager.baseProjectsFolders": [
"C:\\Users\\Username\\Documents\\git"
],
"gitProjectManager.ignoredFolders": [
"node_modules",
"out",
"typings",
"test",
".haxelib"
View breakonexception.ps1
# You can add this line in your profile instead of here... Set-PSBreakpoint -Variable BreakOnException -Mode ReadWriteWrite-Host "Enter"# then just add this where you want to enable breaking on exceptionstrap { $BreakOnException; continue }Write-Host "Starting"throw "stones"Write-Host "Ending"