windows-server-2012-r2

Running a Git Server on Windows Server 2012 R2/IIS

痞子三分冷 提交于 2019-12-05 21:54:39
Edited with Answer - Q: We would like to run a three-tier programming git structure here at work. Programmers would be able to use Git on their local machine, clone push and fetch from a remote repository running on a "Production" virtual machine, and then finalized code on the "Production" VM is then pushed to a "Deployment" machine for use. We're using Windows Server 2012 R2 and I am coming up with very little information on how to do this. I installed the latest Bonobo git server on the "Deployment" machine and have been testing cloning on the "Production" machine from the command line and

System.Speech.Synthesis hangs with high CPU on 2012 R2

☆樱花仙子☆ 提交于 2019-12-04 22:51:54
I have an asp.net MVC application that has a controller action that takes a string as input and sends a response wav file of the synthesized speech. Here is a simplified example: public async Task<ActionResult> Speak(string text) { Task<FileContentResult> task = Task.Run(() => { using (var synth = new System.Speech.Synthesis.SpeechSynthesizer()) using (var stream = new MemoryStream()) { synth.SetOutputToWaveStream(stream); synth.Speak(text); var bytes = stream.GetBuffer(); return File(bytes, "audio/x-wav"); } }); return await task; } The application (and this action method in particular) is

Trying to find the MSI product code for Java 8 Update 25 in to work with WSUS Package Publisher

大憨熊 提交于 2019-12-04 21:06:37
I'm trying to create a 3rd party custom update through WSUS Package Publisher however I can't manage to get the MSI code for Java as there is no MSI installer to use MSIReader on. If anyone knows how I can find this code then it would be much appreciated. It's managing to make me look bad as a Sys Admin at work. Cheers, Glympse. Two solutions : Install the product and search in : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Or to be aware that Oracle always used the same schema for these MSI Product code Java 8 : 26a24ae4-039d-4ca4-87b4-2f8 32 1 8 0 25 f0 = 32 Bit -

php “glob” and data-deduplication?

此生再无相见时 提交于 2019-12-04 15:58:02
问题 I have a php-application which is (per request) scanning for the existance of some files. (on a network share) I'm using glob for this, cause usually i just know the beginning of the filename. I noticed, that glob does not return files, that are currently opened by any client, thus my application thinks file_xy is not existing, if somebody has opened it. Is there a way to make glob return opened (:= locked?) files as well? The strange thing is, that this is no where mentioned. However I can

Export Certificate with private key including all certificates in path using powershell

邮差的信 提交于 2019-12-04 09:19:37
I am working on power shell script to export certificate with private key which also includes all the certificates in the path. I wrote a script for that, it is not including the certificates in the path or the root certificate. Below is script. Kindly suggest me if there is any changes to make in my script. Thanks in Advance. $Password="@de08nt2128"; #password to access certificate after expting $CertName="WMSvc-WIN-9KC7DG31JBV"; # name of the certificate to export $RootCertName="WMSvc-WIN-9KC7DG31JBV"; # root certificate $DestCertName="testcert" $ExportPathRoot="C:\DestinationFolder"

php “glob” and data-deduplication?

﹥>﹥吖頭↗ 提交于 2019-12-03 10:02:04
I have a php-application which is (per request) scanning for the existance of some files. (on a network share) I'm using glob for this, cause usually i just know the beginning of the filename. I noticed, that glob does not return files, that are currently opened by any client, thus my application thinks file_xy is not existing, if somebody has opened it. Is there a way to make glob return opened (:= locked?) files as well? The strange thing is, that this is no where mentioned. However I can confirm that glob is NOT returning files, that are currently opened by a client... (As soon as the

Deploy Meteor on Windows

荒凉一梦 提交于 2019-12-03 09:27:00
问题 I find it rather weird that there are no detailed step by step explanations on how to deploy your own Meteor webapp onto your own Windows server. Or maybe I'm just not able to use Google to find one such explanation. On many pages, even on some questions here on SO, I found people simply saying " build it and deploy it like any other node.js app " which is great, except I can't find any explanation on how to deploy a node.js webapp on to a Windows server either. Meteor is so awesome , that I

Deploy Meteor on Windows

风流意气都作罢 提交于 2019-12-02 23:45:27
I find it rather weird that there are no detailed step by step explanations on how to deploy your own Meteor webapp onto your own Windows server. Or maybe I'm just not able to use Google to find one such explanation. On many pages, even on some questions here on SO, I found people simply saying " build it and deploy it like any other node.js app " which is great, except I can't find any explanation on how to deploy a node.js webapp on to a Windows server either. Meteor is so awesome , that I feel if anyone would write up such a step by step on how to deploy a Meteor app on a Windows server, a

Installed program is removed automatically everytime when server restarts from windows server 2012 R2 [closed]

六眼飞鱼酱① 提交于 2019-12-02 15:33:42
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 months ago . I created one service in C# and created installer for that.Installer is working fine and service is installed properly on server. But here is one problem. When server restarts the program connected to service automatically getting deleted from C:\ProgrameFiles location, but

How to insert date and time to a filename in a batch script? [duplicate]

我与影子孤独终老i 提交于 2019-12-02 15:23:49
问题 This question already has answers here : How do I get current date/time on the Windows command line in a suitable format for usage in a file/folder name? (27 answers) Closed 2 years ago . I wrote a batch script for a Jenkins jobs which compiles a ".net" code and one of the steps there is to back up the current directory before extracting the new compiled code. I'm using the these lines to extract the date and time which I want to insert into the backup file name: for /F "tokens=2-4 delims=/ "