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
Write-Host "Profile: $Profile"; | |
Set-Alias nuget C:\Software\nuget.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 | |
( | |
[string]$build = "Debug" | |
, | |
[switch]$test = $true | |
) | |
$msBuildPath = 'C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild'; | |
$msTestPath = 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\'; |
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
# requires -Modules biz.dfch.PS.System.Utilities | |
$token = ''; | |
$username = ''; | |
$repositoryName = ''; | |
$repositoryDescription = ''; | |
$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $username,$token))); | |
Invoke-RestMethod -Uri https://api.github.com/orgs/dfensgmbh/repos -Credential $base64AuthInfo; | |
# DFTODO - Get available templates from GET /gitignore/templates |
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
namespace how.To.Impersonate.Service.Reference.Call | |
{ | |
public static class CurrentUserDataHelper | |
{ | |
public static String GetCurrentUserId() | |
{ | |
var administrationService = GetServiceReferenceInstance(); | |
var identity = (WindowsIdentity)HttpContext.Current.User.Identity; | |
administrationService.Credentials = CredentialCache.DefaultCredentials; | |
using (var impersonationContext = identity.Impersonate()) |
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
# Configuration file for the Jakarta ISAPI Redirector | |
# The path to the ISAPI Redirector Extension, relative to the website | |
# This must be in a virtual directory with execute privileges | |
extension_uri=/jakarta/isapi_redirect.dll | |
# Full path to the log file for the ISAPI Redirector | |
log_file=c:\tomcat\logs\isapi_redirect.log | |
# Log level (debug, info, warn, error or trace) |
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
# The workers that jk should create and work with | |
worker.list=worker1 | |
# Worker named worker1 and of type ajp13 | |
worker.worker1.type=ajp13 | |
worker.worker1.host=localhost | |
worker.worker1.port=8009 |
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
/admin/*=worker1 | |
/manager/*=worker1 | |
/activiti-explorer*=worker1 | |
/activiti-rest*=worker1 | |
/examples/*=worker1 |
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
<?xml version="1.0" encoding="utf-8"?> | |
<parameters> | |
<setParameter name="DatabaseAdministratorConnectionString" value="Data Source=COMPUTERNAME\SQLEXPRESS;Initial Catalog=DBNAME;Integrated Security=False;User ID=USERNAME;Password=PASSWORD" /> | |
<setParameter name="DatabaseServer" value="COMPUTERNAME" /> | |
<setParameter name="DatabaseName" value="DBNAME" /> | |
<setParameter name="DatabaseUserName" value="USERNAME" /> | |
<setParameter name="DatabaseUserPassword" value="PASSWORD" /> | |
<setParameter name="Cumulus_IisWebApplication" value="Default Web Site/APPNAME" /> | |
<setParameter name="UtilitiesData" value="service url=https://APPNAME/api/Something.svc;is windows authentication=True;allow invalid certificate=False" /> | |
<setParameter name="Application Administrator User Name" value="Administrator" /> |
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
/* | |
* Copyright (C) 2015 Marc Rufer (m.rufer@gmx.ch) | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
/* | |
* Copyright (C) 2015 Marc Rufer (m.rufer@gmx.ch) | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
NewerOlder