How to Find Your Lost Windows Product Key or Office Product Key

Many newer computers that have windows 8.1 or windows 10 running as the operating system have the product keys stored in the computers UEFI firmware or BIOS by the manufacturer. If you want to find the UEFI-embedded key and write it down you do this by opening the start menu and typing in “powershell” and run the Powershell application that shows up.

Then enter the following command
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey

Install Mono for Docker on Ubuntu 14.04

I was trying to build a docker image. In my Dockerfile I had FROM mono: However on my AWS EC2  Ubuntu 14.04 server instance, I had installed mono version 4.5. I was getting some build errors when I tried to build my NancyFX service. After searching for about a half hour, I was able to find a way to match the versions. I wanted my Ubuntu server to be on version I was able to successfully uninstall mono version 4.5 and install mono for Docker on Ubuntu 14.04. This is what I had to do.

Uninstall Latest Version of Mono

To uninstall mono 4.5 you need run the following terminal commands:

sudo apt-get remove mono-complete
sudo apt-get purge mono-complete
sudo apt-get autoremove

In order to install Mono for Docker on Ubuntu 14.04 you need to update the repository URL for the mono package. In order to do that you will need to run the following terminal command:

echo "deb wheezy/snapshots/ main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

This will pin the Mono version to instead of the latest version. Next run this terminal command:

sudo apt-get update

The command apt-get update will download the package lists from the repositories and update them to get information on the newest versions of packages and their dependencies.

Install Mono for Docker on Ubuntu 14.04

Now you can install mono by running this terminal command:

sudo apt-get install mono-complete

Once the installation has completed check the version of mono:

mono --version

The output should be something like this

Mono JIT compiler version 4.2.1 (Stable Thu Nov 12 09:52:44 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

That’s all there is to install mono for docker. I hope this reference guide will be of some help.

Tomorrow the Lord will Do wonders Among You

I was reading Elder Holland’s talk from this past conference and wanted to share it with you, “A rewarding, abundant, and eternal life is the very object of His merciful plan for His children! It is a plan predicated on the truth “that all things work together for good to them that love God.”10 So keep loving. Keep trying. Keep trusting. Keep believing. Keep growing. Heaven is cheering you on today, tomorrow, and forever.”

Install NodeJS in Amazon EC2 with Ubuntu 14.04

Install NodeJS in Amazon EC2 with Ubuntu 14.04

Amazon EC2 provides a free tier program for you to experiment and create your own projects. Recently I wanted to install NodeJS in Amazon EC2 with Ubuntu 14.04 as the operating system of the server. I was surprised to find that there was no article with instructions on how to install NodeJS version 4 so I thought I’d write a tutorial that explains how to do this with package manager in Ubuntu 14.04.

  1. Login to your AWS Console
  2. Select EC2 under services

    Install NodeJS in Amazon EC2 with Ubuntu 14.04


  3. Click on Launch Instance

    Install NodeJS in Amazon EC2 with Ubuntu 14.04 - Launch Instance Step

    Launch Instance

  4. Select Ubuntu 14.04
  5. Click on Edit Security Groups and add HTTP on port 80 and HTTPS on port 443

    Install NodeJS in Amazon EC2 with Ubuntu 14.04 - Security Group Step

    Security Group

  6. Download your key pairing
  7. Once it is running right click and select Connect
  8. To access your instance:
    1. Open an SSH client. (find out how to connect using PuTTY)
    2. Locate your private key file (MandarinTreehouse.pem). The wizard automatically detects the key you used to launch the instance.
    3. Your key must not be publicly viewable for SSH to work.
    4. Connect to your instance using its Public DNS
  9. If you’re connecting using PUTTY you can find more information here on Amazon’s AWS documentation on how to connect via the key pair that you downloaded when creating the instance. You will need to use PuttyGen to convert the key pairing that you downloaded in step 6 into the format that Putty understands.
  10. To install NodeJS version 4 you will need to run the following command in the terminal
    wget -qO- | sudo bash - and then:sudo apt-get install --yes nodejs
  11. To verify that node is installed corrected run
    node --version

You just created an Amazon EC2 instance that had Ubuntu 14.04 installed as the operating system. You installed version 4 of NodeJS by using the version 4 source instead of the default 0.10 source in Ubuntu 14.04’s package manager. It wasn’t too bad was it? Please feel free to leave a comment, some feedback or ask a question below!

Sender Unknown

Jon Jones lived in Eagle, a small remote village twenty miles from Lakeside the nearest city. Jon was perusing Eagle’s Eye, the morning newspaper while eating his bacon and eggs breakfast when the telephone rang. Jon wasn’t too keen about being interrupted in the middle of his morning routine. But, he thought to himself, “Duty calls”. After the third ring he picked up the phone. Jon answered and said, “Hello, Mr. Jones speaking. How may I help you?”

“This is Robert Willams down in Lakeside and I need your assistance with several matters that have been troubling me,” said the businessman. He continued, “I would like you to come visit me at my mansion at 1347 Remington Lane.” Jon thought he remembered the name. Then he knew why. Robert was one of the richest men in Lakeside. He owned an hundred acre ranch in the countryside and his company, ‘Three Pillars Ltd.’ was the leading manufacterer of computer technology in the country. Jon told the man, “I’ll be over there as soon as possible,” and then hung up the phone.

Jon quickly grabbed his keys and dashed out the door that lead to his garage where his four wheel drive Honda CRV was parked. He got in, slammed the door and openned the garage. Backing out as fast as he could he headed toward 1347 Remington Lane.

“Mr. Jones, thanks for coming on such short notice,” said Robert Williams.

“Anytime, anytime. So how may I be of assitance?” Replied the detective.

“A few weeks ago I received a mysterious memo from an unknown slender. The memo did not come by the regular mail it was given directly to one of my maids in person. When I returned from my day’s work my maid delivered the note. I have it with me.” Pulling the letter out he read, “There’s nothing like digits of the metal that drives a man insane”. Shortly after reading the note the telephone rang and I picked it up but when I got to the phone I heard the person on the other line hang up. I’m afraid I cannot figure out the meaning of these events and that’s why I’ve requested your assitance.”

“May I have a glance at the memo,” inquired Jon and Robert nodded handing the memo over.

After a brief moment Mr. Jones handed the memo over and said, “Can you take me to the phone that you have mentioned? I would like to have a glance.”

Daily Quotes – Will Durant

Building an Ionic Mobile App – Part 2: Building a REST API with ASP.NET Web API

Press On – Calvin Coolidge

Persistence and determination alone are omnipotent. The slogan “press on” has solved and always will solve the problems of the human race.

CALVIN COOLIDGE Thirtieth president of the United States

Put On the Whole Armor of God

“For we wrestle not against flesh and blood, but against principalities, against powers, against the rulers of the darkness of this world, against spiritual wickedness in high places.

“Wherefore take unto you the whole armour of God, that ye may be able to withstand in the evil day” (Eph. 6:10–13).

Daily Quotes – Charles Duhigg

All our life, so far as it has definite form, is but a mass of habits,” William James wrote in 1892.prl.2 Most of the choices we make each day may feel like the products of well-considered decision making, but they’re not. They’re habits. And though each habit means relatively little on its own, over time, the meals we order, what we say to our kids each night, whether we save or spend, how often we exercise, and the way we organize our thoughts and work routines have enormous impacts on our health, productivity, financial security, and happiness. One paper published by a Duke University researcher in 2006 found that more than 40 percent of the actions people performed each day weren’t actual decisions, but habits.

The Power of Habits by Charles Duhigg

« Older posts

© 2017 Nathan Yeung

Theme by Anders NorenUp ↑