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
workflow StartVM | |
{ | |
Param ( | |
[parameter(Mandatory=$true)] | |
[String] | |
$VMName, | |
[parameter(Mandatory=$true)] | |
[String] | |
$ServiceName |
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
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$"> | |
Order allow,deny | |
</FilesMatch> |
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
<security> | |
<requestFiltering> | |
<denyUrlSequences> | |
<add sequence="engine" /> | |
<add sequence="inc" /> | |
<add sequence="info" /> | |
<add sequence="install" /> | |
<add sequence="module" /> | |
<add sequence="profile" /> | |
<add sequence="po" /> |
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
using System; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.AspNet.Builder; | |
using Microsoft.AspNet.Authentication.Cookies; | |
using Microsoft.AspNet.Authentication.OpenIdConnect; | |
using Microsoft.AspNet.Http; | |
using Microsoft.IdentityModel.Clients.ActiveDirectory; | |
using Arda.Common.Utils; |
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
{ | |
"Authentication": { | |
"AzureAd": { | |
"AADInstance": "[Endereço remoto do Azure AD]", | |
"CallbackPath": "[URL de callback]", | |
"ClientId": "[Chave de ClientID fornecida pelo AD]", | |
"ClientSecret": "[Chave de ClientSecret fornecida pelo AD]", | |
"Domain": "[Domínio do Azure AD]", | |
"GraphResourceId": "[Endpoint público do Microsoft Graph]", | |
"PostLogoutRedirectUri": "[URL para quando o usuário fizer logout no sistema]", |
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
[HttpPost] | |
[Route("setuserpermissionsandcode")] | |
public IActionResult SetUserPermissionsAndCode(string name) | |
{ | |
var uniqueName = HttpContext.Request.Headers["unique_name"].ToString(); | |
var code = HttpContext.Request.Headers["code"].ToString(); | |
try | |
{ | |
if (uniqueName != null && name != null && code != null) |
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"?> | |
<configuration> | |
<system.webServer> | |
<staticContent> | |
<mimeMap fileExtension=".mem" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".data" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".memgz" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".datagz" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".unity3dgz" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".jsgz" mimeType="application/x-javascript; charset=UTF-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
select Activities.ActivityName as activity, Technologies.TechnologyName as technology, Appointments.AppointmentUserUniqueName as uniquename | |
from Appointments | |
inner join WorkloadBacklogs on Appointments.AppointmentWorkloadWBID = WorkloadBacklogs.WBID | |
inner join Activities on WorkloadBacklogs.WBActivityActivityID = Activities.ActivityID | |
inner join WorkloadBacklogTechnologies on WorkloadBacklogs.WBID = WorkloadBacklogTechnologies.WorkloadBacklogWBID | |
inner join Technologies on WorkloadBacklogTechnologies.TechnologyTechnologyID = Technologies.TechnologyID |
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
create view IPR as | |
select Activities.ActivityName as activity, Technologies.TechnologyName as technology, Appointments.AppointmentUserUniqueName as uniquename | |
from Appointments | |
inner join WorkloadBacklogs on Appointments.AppointmentWorkloadWBID = WorkloadBacklogs.WBID | |
inner join Activities on WorkloadBacklogs.WBActivityActivityID = Activities.ActivityID | |
inner join WorkloadBacklogTechnologies on WorkloadBacklogs.WBID = WorkloadBacklogTechnologies.WorkloadBacklogWBID | |
inner join Technologies on WorkloadBacklogTechnologies.TechnologyTechnologyID = Technologies.TechnologyID |
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
import pandas as pd | |
def azureml_main(dataframe1 = None, dataframe2 = None): | |
columnsnum = len(dataframe1.columns) | |
columnsnames = dataframe1.columns.values.tolist() | |
newrows = [] | |
for index, row in dataframe1.iterrows(): | |
entry = '' |