Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Tuesday, May 23, 2017

Setup your own Git server on windows running on NodeJS

As technology moving ahead, now days Git is the de facto version control system to used, if you would like to have a local private git server running on windows, here is an option running on NodeJS - git-server-windows, to setup up it is pretty easy:


  • Create a directory where you want to install the git-server-windows, cd to that directory, run 'npm install git-server-windows'
  • copy node_moduels/git-server-windows/*.cmd .
  • Create a directory: repos
  • cd to repos and create your repository, for example, myRepository; then cd to myRepository, run ' git init --bare'
  • In the top folder, create index.js and paste the following content:

    • var Git = require('git-server-windows');
      Git.server();
  • Run 'node index.js' to start the server
  •  Setup as windows services by using node-windows



Monday, January 14, 2008

Creating platform specific apps for .Net development

Creating platform specific apps

Most of the language compilers (like C#) now offer a /platform switch. By using this switch, developers can create binaries targeted for a specific platform type or binaries that are platform agnostic. There are four types of binaries that are emitted

· anycpu – platform agnostic

· x86 – 32-bit platform specific

· x64 – x64 platform specific

· itanium – IA platform specific

Please refer to Moving from 32-bit to 64-bit application development on .NET Framework.

How to view the corflags(ILONLY, 32BitRequired etc.) of a PE image?
corflags.exe Core32.dll

Wednesday, July 18, 2007

Replace File Explorer with XPlorer 2

Need a tabbed file explorer?
Try Xplorer 2 out.
Please refer to here.
Aslo: need tabbed console? here you are.

Tuesday, April 03, 2007

Disabling Windows' native Zip folder support

To prevent Windows XP from treating compressed Zip files as a folder, go to "Start > Run" and type the following:
regsvr32 /u zipfldr
If you wish to restore native Zip support in Windows, just go back to "Start > Run" and type the following:
regsvr32 zipfldr

Thanks to this blog entry.

Wednesday, January 17, 2007

The terminal server has exceeded the maximum number of allowed connections?!

From time to time, I ran into the following warning(errors) when I tried to remote desktop to one of our development box. Here is something I found to figure out who has left his connected connections on the desktop, maybe you can boot them out, if you have permission:
1. mstsc /v:00.00.00.00 /console
Replace 00.00.00.00 with your server's IP Address.
2. Start Terminal Services Manger (Administrative Tools -> Terminal Services Manager, or tsadmin.exe).

Here are some details.

Full Guide for using Bitnami Prometheus Operator Helm Chart with Additional Scrape Configuration

"The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of...