Skip to content

Instantly share code, notes, and snippets.

View vongrippen's full-sized avatar

Mike Cochran vongrippen

  • Telarray
  • Memphis, TN
View GitHub Profile
vagrant : INFO global: Vagrant version: 2.1.5
At line:1 char:1
+ vagrant up --debug 2>&1 | Tee-Object -FilePath ".\vagrant.log"
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( INFO global: Vagrant version: 2.1.5:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
INFO global: Ruby version: 2.4.4
INFO global: RubyGems version: 2.6.14.1
$destinationDir = "C:\Users\$env:Username\eBooks\"
$URI = "https://blogs.msdn.microsoft.com/mssmallbiz/2017/07/11/largest-free-microsoft-ebook-giveaway-im-giving-away-millions-of-free-microsoft-ebooks-again-including-windows-10-office-365-office-2016-power-bi-azure-windows-8-1-office-2013-sharepo/"
$HTML = Invoke-WebRequest -Uri $URI
$Elements = $HTML.AllElements
$Parsed = $HTML.ParsedHtml
$table = $Parsed.getElementsByTagName("tbody")[0]
$tr = $table.getElementsByTagName("tr")
@vongrippen
vongrippen / memtech.website.md
Created April 6, 2017 16:28
memtech.website software
  • vi
  • vim
  • ee
  • emacs
  • nano
  • git
@vongrippen
vongrippen / A collection of PS file functions
Created May 12, 2016 15:30 — forked from talatham/A collection of PS file functions
A collection of Powershell file functions
Including:
* Deleting files and folders (incl criteria based - if older than xx days)
* Open and save file dialogs
* Hard disk usage reports

Keybase proof

I hereby claim:

  • I am vongrippen on github.
  • I am vongrippen (https://keybase.io/vongrippen) on keybase.
  • I have a public key ASAAyLY1DZsQ0kGPT7lMtJVS79xKCKkQr4XEFIgSF4UJvAo

To claim this, I am signing this object:

div.log div.messageRow, div.log span.author, div.log div.me a.user, div.memberwrapper, div.shim, td.nickcell a.nick, td.inputcell textarea {
font-family: Consolas, monospace, Courier;
font-size: 12px;
}
span.author a:before {
content: "<"
}
span.author a:after {
function Load-Packages
{
param ([string] $directory = 'Packages')
$assemblies = Get-ChildItem $directory -Recurse -Filter '*.dll' | Select -Expand FullName
foreach ($assembly in $assemblies) { [System.Reflection.Assembly]::LoadFrom($assembly) }
}
Load-Packages
$routes = @{
div.log div.messageRow, div.log span.author, div.log div.me a.user, div.memberwrapper, div.shim, td.nickcell a.nick, td.inputcell textarea {
font-family: Consolas, monospace, Courier;
font-size: 12px;
}
span.author a:before {
content: "<"
}
span.author a:after {
#chat-box.ubuntu.hidden-xs
.closed
.pull-right
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-chevron-up').html_safe, 'chat.show()'
.m-l-small
= link_to_function 'Chat with us', 'chat.show()'
.opened{style: 'display: none'}
.header
.pull-right
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-plus-sign').html_safe, 'chat.maximize()', class: 'maximize', style: 'display: none'
$(document).ready(function () {
var ticks = [
<% current_account.projects.each do |project| %>
'<%= project.tracker_project %>',
<% end %>
];
var data = [
<% new_exceptions, repeat_exceptions = [], [] %>
<%
current_account.projects.each do |project|