APPDATA=C:\Users\Administrator\AppData\Roaming
CLIENTNAME=Zachs-MacBook-P
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
FP_NO_HOST_CHECK=NO
LOCALAPPDATA=C:\Users\Administrator\AppData\Local
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log 3.6.0-rc...HEAD --pretty=format:"%h %s [%an (%ae)]" --no-merges > git.commits.txt | |
#| grep -v -e "(maint)" -e "(Maint)" | |
cat git.commits.txt | pbcopy | |
curl --output "jira.issues.txt" --silent -H "Content-Type: application/json" https://tickets.puppetlabs.com/rest/api/2/search?jql=project=PUP+AND+fixVersion=%223.6.0%22+Order+by+key+ASC&maxResults=300&fields=key,summary | |
# brew install jq | |
cat jira.issues.txt | jq '.issues[].key' >jiraissues.txt | |
# https://gist.githubusercontent.com/hlindberg/9520023/raw/40389c4c20ef3aba939c52db8f280f2ae1c0759a/ticketmatch.rb | |
ruby ticketmatch.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set _ORIGINAL_GEM_PATH= | |
set BUNDLE_BIN_PATH=c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.4/bin/bundle | |
set BUNDLE_GEMFILE=c:/work/puppet/Gemfile | |
set GEM_HOME=c:/work/puppet/vendor/cache/ruby/1.9.1 | |
set GEM_PATH= | |
set RUBYOPT=-Ic:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.4/lib -rbundler/setup | |
"ruby.exe" "C:\work\puppet\vendor\cache\ruby\1.9.1\bin\rspec" -r yarjuf -f JUnit -o result.xml -fp spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date/Time: 2014-07-10 23:03:53 -0700 | |
OS Version: 10.9.4 (Build 13E28) | |
Architecture: x86_64 | |
Report Version: 18 | |
Event: Sleep Wake Failure | |
Steps: 78 | |
Hardware model: MacBookPro10,1 | |
Active cpus: 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cinst rktools.2003 | |
cd 'C:\Program Files (x86)\Windows Resource Kits\Tools' | |
$serviceName = 'Interactive SYSTEM cmd' | |
.\instsrv.exe $serviceName 'C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe' | |
sc.exe config $serviceName depend= UI0Detect start= demand | |
$servicePath = "HKLM:\SYSTEM\CurrentControlSet\Services\$serviceName" | |
$serviceParams = New-Item $servicePath -Name Parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[parser-tests] ls -l 17:18:43 | |
total 1584 | |
-rw-------+ 1 Iristyle staff 13004 May 12 15:52 DscCore.mof | |
-rw-------+ 1 Iristyle staff 5700 May 12 15:52 DscCoreConfProv.mof | |
-rw-r--r--+ 1 Iristyle staff 128 Jun 22 15:15 Gemfile | |
-rw-r--r--+ 1 Iristyle staff 610 Jun 22 15:16 Gemfile.lock | |
-rwx------+ 1 Iristyle staff 2000 May 12 15:52 MSFT_FileDirectoryConfiguration.Schema.mof | |
-rw-r-----@ 1 Iristyle staff 357 Jun 22 15:45 MSFT_Qualifiers.mof | |
-rw-r--r--+ 1 Iristyle staff 560 Jun 22 15:16 MSFT_xADDomain.schema.mof | |
-rw-r--r--+ 1 Iristyle staff 463 Jun 22 15:16 MSFT_xADDomainController.schema.mof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initial Permissions after installation | |
PS C:\Users\Administrator> get-acl C:\ProgramData\PuppetLabs\mcollective | select * | |
PSPath : Microsoft.PowerShell.Core\FileSystem::C:\ProgramData\PuppetLabs\mcollective | |
PSParentPath : Microsoft.PowerShell.Core\FileSystem::C:\ProgramData\PuppetLabs | |
PSChildName : mcollective | |
PSDrive : C | |
PSProvider : Microsoft.PowerShell.Core\FileSystem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Push-Location (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent) | |
# Load posh-hg module from current directory | |
#Import-Module .\posh-hg | |
# If module is installed in a default location ($env:PSModulePath), | |
# use this instead (see about_Modules for more information): | |
Import-Module posh-hg | |
# Set up a simple prompt, adding the hg prompt parts inside hg repos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax: glob | |
*.*scc | |
*.FileListAbsolute.txt | |
*.aps | |
*.bak | |
*.[Cc]ache | |
*.clw | |
*.eto | |
*.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
[Parameter(Mandatory=$true, ValueFromPipeline=$true)] | |
[string] | |
$Process, | |
[Parameter(Mandatory=$true, ValueFromPipeline=$true)] | |
#[string] | |
[ValidatePattern("^(\d\.){0,1}(([0|1]\d)|(2[0-3])):[0-5]\d:[0-5]\d")] | |
$TimeSpan, |
OlderNewer