Automate Server: $cardnumberof$cardsuite.automate.e9.io
Workstation: $cardnumberof$cardsuite.workstation.e9.io
Username: chef
Password: C0d3Can
#SingleInstance, Force | |
#NoEnv | |
SetBatchLines, -1 | |
SetMouseDelay, 2 | |
CoordMode, Mouse, Screen | |
; Start gdi+ | |
If !pToken := Gdip_Startup() | |
{ | |
MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system |
# | |
# Cookbook Name:: myresolve | |
# Recipe:: default | |
# | |
# Copyright (c) 2015 Nathan Weddle, All Rights Reserved. | |
# Configure the loopback interface | |
network_interface 'lo' do | |
# We set reload equal to false, so that we are not kicked out of our TK run | |
reload false |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
{"ssl": {"verify": false}} |
<?xml version="1.0" encoding="UTF-8"?> | |
<root> | |
<item> | |
<name>Karabiner private.xml settings</name> | |
<devicevendordef> | |
<vendorname>LOGITECH</vendorname> | |
<vendorid>0x046d</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>M510</productname> |
$url = "https://github.com/sabnzbd/sabnzbd/releases/download/1.2.0/SABnzbd-1.2.0-win32-setup.exe" | |
$dest = ([Environment]::GetFolderPath("Desktop") + "\SABnzbd-1.2.0-win32-setup.exe") | |
$client = new-object System.Net.WebClient | |
$client.DownloadFile($url,$dest) |
delete_resource(:execute, 'DrainNGenQueue') | |
delete_resource(:execute, 'DrainNGenQueue64') | |
delete_resource(:windows_task, '\Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319') | |
delete_resource(:windows_task, '\Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64') |
$date1 = Get-Date -Date "01/01/1970" | |
$date2 = (Get-Date).AddDays(-3) | |
$time = (New-TimeSpan -Start $date1 -End $date2).TotalSeconds | |
$search = @" | |
knife search node "ohai_time:[* TO $time]" -i | |
"@ | |
$results = Invoke-Expression $search 2> $null |
# Define Attributes | |
# Move to ./attributes/default.rb | |
node.default['test']['module_name'] = 'xStorage' | |
node.default['test']['image_path'] = 'C:\Users\nathan' | |
node.default['test']['image_name'] = 'alpine-virt-3.5.1-x86_64.iso' | |
node.default['test']['drive_letter'] = 'S' | |
# Enable the PSGallery Repository, so that we can then install our DSC module | |
powershell_script 'Enable PSGallery Repository' do | |
code 'Set-PSRepository -Name PSGallery -InstallationPolicy Trusted' |