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
Username user | |
Domain domain | |
# provide actual value if autodetection fails | |
# Workstation pc-name | |
Proxy my_proxy_server.com:80 | |
NoProxy 127.0.0.*, 192.168.* | |
Listen 127.0.0.1:54321 |
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
DROP TABLE IF EXISTS dbo.Product | |
DROP TRIGGER IF EXISTS trProductInsert | |
DROP PROCEDURE IF EXISTS [dbo].[InsertData] |
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
IF EXISTS(SELECT 1 FROM sys.objects AS O WHERE O.name = 'Product' AND O.[type] = 'U') | |
BEGIN | |
DROP TABLE [SomeTable] | |
END | |
IF OBJECT_ID('dbo.Product', 'U') IS NOT NULL | |
BEGIN | |
DROP TABLE dbo.Product; | |
END |
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 Web.Controllers | |
{ | |
public class PSExecution | |
{ | |
public PSCommand PSCommand{get;set;} | |
public string Output{get; private set;} | |
public void SetOutput(string output){ | |
this.Output = output; | |
} |
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
public async Task<IHttpActionResult> MethodB() | |
{ | |
var customer = new Customer(); | |
var getAllWidgetsTask = _widgetService.GetAllWidgets(); | |
var getAllFoosTask = _fooService.GetAllFos(); | |
Task.WaitAll(new List[] {getAllWidgetsTask, getAllFoosTask}); | |
customer.Widgets = getAllWidgetsTask.Result; |
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
if (_angular_core.ɵglobal['Node']) { | |
nodeContains = _angular_core.ɵglobal['Node'].prototype.contains || function (node) { | |
return !!(this.compareDocumentPosition(node) & 16); | |
}; | |
} |
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
Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException: Prerendering failed because of error: TypeError: Cannot read property 'Node' of undefined | |
at module.exports.d.(anonymous function) (netcore2AppPath\ClientApp\dist\vendor.js:26869:26) | |
at module.exports.Object.setPrototypeOf.__proto__ (netcore2AppPath\ClientApp\dist\vendor.js:25890:10) | |
at Object.module.exports.d.(anonymous function) (netcore2AppPath\ClientApp\dist\vendor.js:25893:2) | |
at __webpack_require__ (netcore2AppPath\ClientApp\dist\vendor.js:21:30) | |
at Object.define.function.define.amd.global.ng (netcore2AppPath\ClientApp\dist\main-server.js:8019:42) | |
at __webpack_require__ (netcore2AppPath\ClientApp\dist\main-server.js:20:30) | |
at Object.setPrototypeOf.__proto__ (netcore2AppPath\ClientApp\dist\main-server.js:8031:51) | |
at Object.define.function.define.amd.global.ng (netcore2AppPath\ClientApp\dist\main-server.js:8034:2) |
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
msiexec /a c:\testfile.msi /qb TARGETDIR=c:\temp\test |
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 | |
DISTINCT | |
CAST(FLOOR(CAST(Created as FLOAT)) as DateTime) as date | |
FROM | |
dbo.table | |
ORDER BY 1 ASC |
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
public class SiteStartupHandler : IApplicationEventHandler | |
{ | |
public void OnApplicationStarted(UmbracoApplicationBase umbracoApplication,ApplicationContext applicationContext) | |
{ | |
// Register bunding for umbraco | |
RegisterStyles(BundleTable.Bundles); | |
RegisterJavascript(BundleTable.Bundles); | |
} | |
private static void RegisterStyles(BundleCollection bundles) | |
{ |