Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block mchubby

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mchubby / Vagrantfile
Created Jan 1, 2020
Vagrantfile "hashicorp/bionic64"
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
View Microsoft Docker Powershell Core Madness
> docker run -it --rm --user ContainerAdministrator --dns
where 1809 matches host edition (otherwise get 'helpful' error: manifest unknown: manifest unknown.)
> docker pull
may work better
C:\Users\Cador PS>docker pull
latest: Pulling from powershell
7ddbc47eeb70: Pull complete
c1bbdc448b72: Pull complete
mchubby /
Last active Oct 21, 2019
Trying to get Ansible --vault-id auto selection working
View my_userChrome.css
/*AGENT_SHEET included by CustomCSSforFx*/
/* Draw a line over selected tab. See for structure */
/* for funky styling */
.tabbrowser-tab:not([usercontextid]) .tab-content[selected="true"],
.tabbrowser-tab[usercontextid] .tab-content[selected="true"] .tab-label-container {
background-image: linear-gradient(to bottom,rgba(255,192,0,0),rgba(255,192,153,32));
.tabbrowser-tab[unread] .tab-label {
View Seagate Set ERC smartmontools.txt
setlocal enabledelayedexpansion
pushd C:\Program Files\smartmontools\bin
for /f "tokens=1,2,3 delims= " %i in ('smartctl.exe --scan') do ( echo %i & smartctl.exe -i %i | findstr /i serial )
smartctl.exe -l scterc /dev/sdc
smartctl 6.6 2017-11-05 r4594 [x86_64-w64-mingw32-w10-1709] (sf-6.6-1)
Copyright (C) 2002-17, Bruce Allen, Christian Franke,
SCT Error Recovery Control:
Read: 100 (10.0 seconds)
mchubby / tasks__main.yml
Created Aug 27, 2018
Have host_vars or group_vars greater precedence than include_vars counterparts.
View tasks__main.yml
- name: Include vars based on various criteria, into platformspec hash.
file: "{{ item }}"
name: platformspec
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
mchubby /
Last active May 1, 2018
"ubuntu-server-minimalvm.seed" unencrypted lvm2
Package Priority
acl optional
acpid optional
adduser important
apparmor optional
apport optional
apport-symptoms optional
apt important
apt-utils important
mchubby /
Created Apr 21, 2018
0x9597 ISF decryption scripts (D.O.)
# By Kelebek1@fuwa
# From
# 0x9597 ISF decryption scripts
import os
import sys
import struct
def get_data(filename):
View epub-stylesheet.css
@namespace epub "";
.bold {
font-weight: bold;
.italic {
font-style: italic;
.center {
text-align: center;
mchubby / bitlocker-status-ps1.txt
Created Dec 16, 2017
Query Bitlocker status Powershell/WMI
View bitlocker-status-ps1.txt
gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption"
Get-CimInstance -Namespace root/CIMV2/Security/MicrosoftVolumeEncryption -ClassName Win32_EncryptableVolume
gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption" -Filter "DriveLetter = 'O:'"
gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption" | foreach {
$obj = $_
You can’t perform that action at this time.