Category Archives: Setting up Applications

ASP.NET Web Server Here Context Option

open.asp

You can download here the updated registry entry for opening the ASP.NET Development Web Server using context menu in Explorer. The path has been updated to use Visual Studio 2015’s development web server.

This is used to quickly open a web server in a directory. After merging the registry, just do the following:

  1. Open explorer and navigate to the target directory
  2. Right click and select the ASP.NET Web Server Here option

I have not tested this in Windows 10.

Reference: http://haacked.com/archive/2009/10/27/aspnet4-webserver-here-shell-extension.aspx/

Google Protobuf: C# Generating a Class from a .proto file

The example found on the csharp tutorial page doesn’t work. Instead do the following

  1. Open visual studio, open nuget command line, type :Install-Package Google.ProtocolBuffers , link : ProtocolBuffers 2.4.1.555
  2. Find Package/Google.ProtocolBuffers.2.4.1.555/tools/ProtoGen.exe
  3. Use command line, type : ProtoGen.exe addressbook.proto -output_directory=C:\trash

Source: Stackoverflow Post

Update 6/13/2017

Marc Gravell has an online tool for generating C# code from a .proto file.

http://protogen.marcgravell.com/

 

Ubuntu Server – Adding a new Hard Disk

First find the drive mounting point, usually located in /dev. In this example, /dev/sdd is the new disk.

sudo fdisk -l

Create a new partition on the drive

sudo fdisk /dev/sdd

Once in fdisk, press the following

  • d – to delete any partitions you want removed
  • n – create a new partition
  • defaults for partition number, start and end sectors on disk
  • w – write partition changes

Next format the disk

sudo mkfs /dev/sdd1 -t ext4

Create a mount point for the disk

cd /mnt
sudo mkdir sdd1
sudo chmod 777 sdd1
sudo chown  currentuser -R sdd1

Mount the disk

sudo mount /dev/sdd1 /mnt/sdd1 -t ext4

Edit fstab file

sudo vi /etc/fstab

add the line

/dev/sdd1 /mnt/sdd1 ext4 defaults 0 0

save the file and then

sudo mount -a

Reference: http://mikestechblog.com/ubuntu-antenna/add-a-second-hard-drive-in-ubuntu/1/

 

 

 

 

 

Issue SHA -2 or SHA256 SSL Certificate Request in Windows IIS 7

SHA-2 and SHA-256 are interchangeable terms – at least according to the internet.

Second, using the wizard linked in IIS Manager doesn’t default to SHA-2, instead it defaults to SHA-1. The wizard doesn’t even give you the option to issue certificate in SHA-2. Instead, you need to use a  MMC snap-in to do it. Directions detailed here:

Create a CSR with SHA256 signature algorithm

For future reference: Pdf Link.

Setting up Google Voice as your Voice Mail Box

After setting up your google voice account and phone number, dial the following code to forward your number.

Wireless Carrier or Network   —> Activation Code
AT&T Cingular, T-Mobile, GSM network: *004*1[GVnumber]*11#

Verizon (CDMA network): *71[GVnumber] AND *90[GVnumber] AND *92[GVnumber]

Verizon (TDMA Network): *74[GVnumber] and *73[GVnumber]

Bluegrass Cellular: *90#[GVnumber] and *92#[GVnumber]

Cellcom: *68[GVnumber]

Cincinnati Bell: *004*[GVnumber]#

US Cellular: *74[GVnumber]

 

Reference: Google Product Page

Windows 7: Removing the Windows 10 upgrade notification

There’s two ways – neither have been tried yet. This is for future reference – just in case.

From an elevated command prompt, run: "wusa /uninstall /KB:3035583".
 Then, hide the update when it is offered again.

wusa /uninstall /kb:3065988 /quiet /norestart
 
 wusa /uninstall /kb:2976978 /quiet /norestart
 
 wusa /uninstall /kb:3075853 /quiet /norestart
 
 wusa /uninstall /kb:3065987 /quiet /norestart
 
 wusa /uninstall /kb:3050265 /quiet /norestart
 
 wusa /uninstall /kb:3050267 /quiet /norestart
 
 wusa /uninstall /kb:3075851 /quiet /norestart
 
 wusa /uninstall /kb:2902907 /quiet /norestart
 
 wusa /uninstall /kb:3068708 /quiet /norestart
 
 wusa /uninstall /kb:3022345 /quiet /norestart
 
 wusa /uninstall /kb:2952664 /quiet /norestart
 
 wusa /uninstall /kb:2990214 /quiet /norestart
 
 wusa /uninstall /kb:3035583 /quiet /norestart
 
 wusa /uninstall /kb:971033 /quiet /norestart
 
 wusa /uninstall /kb:3021917 /quiet /norestart
 
 wusa /uninstall /kb:3044374 /quiet /norestart
 
 wusa /uninstall /kb:3046480 /quiet /norestart
 
 wusa /uninstall /kb:3075249 /quiet /norestart
 
 wusa /uninstall /kb:3080149 /quiet /norestart
 
 wusa /uninstall /kb:3083325 /quiet /norestart
 
 wusa /uninstall /kb:3083324 /quiet /norestart
 
 wusa /uninstall /kb:3035583 /quiet /norestart

Or

Open GWX Stopper at http://ultimateoutsider.com/downloads/

Reference: Hardforums

Vmware and Time Problems

ESXi server has issues syncing time across all virtual machines running Windows Server 2012. To remedy, set operating systems to manually sync time against external NTP servers.

 w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:manual /update

https://kickthatcomputer.wordpress.com/2013/03/06/configure-time-sync-on-windows-computers/

Moga Pro Controller and Android

  • When turning the power on, use HID mode or Mode B. This will emulate keyboard mode.
  • Download the Universal Moga Driver
  • Pair with Bluetooth
  • Create a virtual keyboard profile and map the directional keys
  • When using SNES emulator, make sure you map the keys to the same buttons as the game pad configuration from the Moga Driver Screen.

Zimbra: Update MTA Server IP Address

Recently my VPS provider changed the IP address for the server. On top of updating the hosts file, you also need to update the IP address used for the MTA.

In the Zimbra Web Admin Console, Configure -> Servers -> Click on the server in the right pane -> MTA -> MTA Trusted Networks