Skip to content

Instantly share code, notes, and snippets.

View AnthonyMastrean's full-sized avatar
🏡
Working remotely

Anthony Mastrean AnthonyMastrean

🏡
Working remotely
View GitHub Profile
@AnthonyMastrean
AnthonyMastrean / Update-AUPackages.md
Last active August 21, 2020 08:05
Update-AUPackages Report #powershell #chocolatey
{
"cursor_size": "small",
"font_face": "DejaVu Sans Mono",
"font_size": "0x16",
"popup_colors": "dark_magenta,white",
"dark_gray": "#767676",
"screen_colors": "gray,black",
"dark_green": "#13a10e",
"command_history_no_duplication": false,
"window_size": "120x30",
@AnthonyMastrean
AnthonyMastrean / feed.rss
Created May 24, 2017 16:04
american-rhetoric-podcast-top-100-speeches
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file generated by Dropcaster 0.0.7 -->
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title>American Rhetoric - Top 100 Speeches</title>
<link>http://www.americanrhetoric.com/</link>
<description>Rationalize rhetoric and it speaks to your mind, personify her and she speaks to your soul.</description>
<itunes:summary>Rationalize rhetoric and it speaks to your mind, personify her and she speaks to your soul.</itunes:summary>
<generator>Dropcaster 0.0.7</generator>
<item>
@AnthonyMastrean
AnthonyMastrean / textfiles.markdown
Last active August 29, 2015 14:21
Large text files
Read lines of text, until a completely blank line is found. Eliminate
redundant blanks between the words. Print the text, thirty characters
to a line, without breaking words between lines.
http://www.jdl.ac.cn/turing/pdf/p455-floyd.pdf

Keybase proof

I hereby claim:

  • I am anthonymastrean on github.
  • I am anthonymastrean (https://keybase.io/anthonymastrean) on keybase.
  • I have a public key whose fingerprint is 1E3C 6B0D 13D7 8BBC ED82 CA57 D74C 32B8 293F EB8B

To claim this, I am signing this object:

@AnthonyMastrean
AnthonyMastrean / graphit.ps1
Last active August 29, 2015 14:17
Create a Graphviz dot file from a set of Ant files (targets and depends)
param(
[Parameter(Mandatory = $true, ValueFromPipeline = $true)]
[string[]] $Path
)
BEGIN {
"digraph {"
}
PROCESS {
@AnthonyMastrean
AnthonyMastrean / vagrant-5001.log
Last active February 16, 2018 20:14
hashicorp/vagrant
$ vagrant box add puppetlabs/centos-6.5-64-puppet --force --debug
INFO global: Vagrant version: 1.7.0
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.0/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Linux"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
@AnthonyMastrean
AnthonyMastrean / ActiveProduct.cs
Last active August 29, 2015 14:08
Bloated Constructor
public class ActiveProduct
{
private readonly ActiveProductState State = ActiveProductState.Simulated;
private readonly SortedList<string, Environment> Environments = new SortedList<string, Environment>();
private readonly ProgramSlots AvailablePrograms = new ProgramSlots(this) { HIStartIndex = 0 };
private readonly ProgramSlots AccessoryPrograms = new ProgramSlots(this) { CanRemoveOverride = true, StartIndex = 4, IsAutoShifting = false };
private readonly ProgramSlots VirtualPrograms = new ProgramSlots(this) { IsVirtual = true, CanRemoveOverride = true, SlotConfig = Limit.None };
private readonly ProgramCalculator SlotCalculator = new ProgramCalculator(this, false);
private readonly ProgramCalculator VirtualCalculator = new ProgramCalculator(this, true);
private readonly DFSCalibration DFS = new DFSCalibration(this);
@AnthonyMastrean
AnthonyMastrean / index.md
Created October 21, 2014 17:14
Epic Programming Rants