Tuesday, December 23, 2014

Bacon Egg Pie


Got this recipe from the lil sis in Aussie can't wait to try it out tonight or maybe tomorrow morning for lil boy's lunch.

Friday, December 19, 2014

Tuesday, December 16, 2014

Framework fix

target framework not recognised error.
Fixed by reinstalling .net framework via command prompt:

using administrator mode
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
If I had been on a 32 bit system, it would have looked like the following:
%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i

Thursday, December 11, 2014

Very Creative

Very creative.
All sorts of things come to mind when you look at this.
The purpose, the audience but mostly just the fun filled emotions it plays with.
Now to figure out if I am or am not going

Wednesday, December 10, 2014

Impressive

Fastest processing ever. Applied on Monday got a call today to pick it all up tomorrow.

More today

More MVC today thanks to these guys:


using System.Web;
using System.Web.Mvc;

namespace MvcMovie.Controllers
{
    public class HelloWorldController : Controller
    {
        // 
        // GET: /HelloWorld/ 

        public string Index()
        {
            return "This is my <b>default</b> action...";
        }

        // 
        // GET: /HelloWorld/Welcome/ 

        public string Welcome(string name, int numTimes = 1)
        {
            return HttpUtility.HtmlEncode("Hello " + name + ", NumTimes is: " + numTimes);
        }
    }
}


Tuesday, December 9, 2014

Learning is fun

Learning more HTML5 and its real easy now that its all hands on, this tutorial dos some validation and has some controls and functions to only be visible on click and when errors are made.
Compliments of: Learn HTML5 in 3days

<!DOCTYPE html>
<form>
    <label>Email</label>
    <input type="email" name="TxtEmail" id="TxtEmail" oninvalid="OnInvalidEmail();" required/>
    <span class="MissingEmailSpan invalid">Email Missing</span>
    <span class="InvalidEmailSpan invalid">Invalid email</span>

    <label>User Name</label>
    <input type="text" name="username" id="username" pattern="[a-zA-Z]{5,10}" oninvalid="OnInvalidUserNameSpan();" required/>
    <span class="MissingUserNameSpan invalid">Username Missing</span>
    <span class="InvalidUserNameSpan invalid">Username not matching with pattern</span>


    <label>Age</label>
    <input type="number" name="TxtAge"
            id="TxtAge" min="10" max="50"  oninvalid="OnInvalidAgeSpan();" required/>
    <span class="AgeIsNotInRangeSpan invalid">Age must be be between 10 and 50</span>
    <span class="InvalidAgeSpan invalid">Invalid Age</span>
    <span class="MissingAgeSpan invalid">Age Missing</span>


    <br /><input type="submit" value="Register" onclick="$('.invalid').hide();" />

<style>
        .invalid {
            display: none;
        }
</style>

</form>

function OnInvalidAgeSpan()
{
    event.preventDefault();
    var element = event.srcElement;
    var validity = element.validity;
    if (validity.valueMissing) {
        $('."MissingAgeSpan').show();
    }
    else if (validity.typeMismatch) {
        $('.InvalidAgeSpan').show();
    }
}

function OnInvalidUserNameSpan()
{
    event.preventDefault();
    var element = event.srcElement;
    var validity = element.validity;
    if (validity.valueMissing) {
        $('.MissingUserNameSpan').show();
    }
    else if (validity.typeMismatch) {
        $('.InvalidUserNameSpan').show();
    }
}

function OnInvalidEmail()
{
    event.preventDefault();
    var element = event.srcElement;
    var validity = element.validity;
    if (validity.valueMissing) {
        $('.MissingEmailSpan').show();
    }
    else if (validity.typeMismatch) {
        $('.InvalidEmailSpan').show();
    }
}

MVC Tut

My first MVC tut!
So excited to have discovered Microsoft Virtual Academy and its rich resource base.
Getting on to some real learning and upgrading of skills. Can't believe its taken me this long to get on the MVC band wagon, was it fear of failure, laziness? all of the above...just glad that Microsoft decided to make all these free and readily available and that I finally found it. heres to step one, My first MVC tutorial.

Reference:
Developing ASP.NET MVC 4 Web Applications Jump Start

Monday, December 8, 2014

Right in the middle

Made a very important phone call last night and only discovered it was so important when I put it down. No wonder I had spend 4 hours trying to call and continuously call that fellow. Stee is my mentor, big brother, leader and I think back to the number of time he blatantly rebuked me...haha yup I guess any form of diplomacy I have in me now come from the constant chastising from him and its whats got me where I am today when it comes to etiquette, leadership and really just handling myself in situations where people are concerned.
I was calling him at 6pm when I got home to discuss this idea that I had but he wasn't answering and for some reason every hour I would just pick up the phone and do that until finally at 10:30 he answered. He was sick and had dozed off recovering for the camp last week. Something he said about how it was amazing that we were right in the middle of what God was doing in the church and it suddenly stuck me that man he was so true. We are right in the middle of what God is doing in the church and its exciting, nerve wrecking tiring but exhilarating when you really think of it. The other reason I knew I was supposed to call him was after I put the phone down and all the pain and weakness and heavy load that I was carrying around since I woke up yesterday morning disappeared. All mum's reply was did you see his face in the last few days? Her answer to when I said yes was that when you should have prayed for him. Exciting times ahead.

Page Crash

Every programmers worst nightmare - page crashes

but worse off when your page is displaying your scripts like this to the public, can be real dangerous. Hope the guys at fasttrack are able to have that sorted out fast.
Looks like a table called sfst sessions with fields sessionid, clientid and time and those values. Looks alot like somebody was logging my session, huh!

Fail

Registered for an online event because topic was good but dates did not show until I clicked to submit and then it showed dates. Set for sometime in October and Microsoft thanks me for successfully registering. Fail.

App Development

Using the windows development studio. Piece of cake.

Step One

Final Product





Now to do some serious thinking and learning how to move forward with this.

Sunday, December 7, 2014

Visas Today

Just got back from the NZ visa office spending $542 for all our visas, thank you Jesus for your provision. All that running around has drained me. Voleka sara me tukuna to just guise it but God is faithful. Was trusting him all the way and he provided even when in the last minute the atms were down. Now to trust him for multiples for all of us. phew...Its all for a good course and I guess the satisfaction of 'I can finally treat mum'

Tuesday, December 2, 2014

This week

This week the Waqanivalus celebrated the birth of a 3rd generation to take on the Waqanivalu name, 24 hours later a dear cousin was called to rest on the other side of town. This was how December started for us and this is how 2014 is ending for them. This year the people of Nabukalou have lost daddy, Ely and now uncle Sikeli. While we celebrate in the new generation our thoughts and prayers go out to the gang in Namadi and their families as they prepare to say bye to a father, brother momo, tavale. Goodbyes are always hard, ask me. Life stops, everything around you comes to a halt and then the realisation that you will never see him again, talk to him again. Touch his hands or feel his embrace again. While we rejoice that he has gone to Jesus that vacant space in our heart will never be filled no matter what only when we come before Jesus again. Sometimes I think that if Jesus does not come back in the next 40years I will be living 40years without daddy then the sudden realisation that could lose mum too. Then the sadness and thoughts about what I could have done better, was there anything that I could do. What if and slowly the solemn acceptance that Lord you are good and your mercy endures forever, thank you for your faithfulness help us find peace in you.

Christmas Carolling

My favourite time of the year in the resort industry when Resorts visit for christmas carolling just to thank us for an excellent year and encourage the continued support in the New Year. This is the first time that Outrigger is visiting us I'm guessing because of Petero. He was just appointed Director sales and marketing after leaving South Pacific Tours going back to Warwick and then now at Outrigger. Really looking forward to the Mamanuca group visit because it will be followed by their party and last year I lost out on so many wonderful prizes all because I did not have a business card. Well me and my business card are this year going to keep an eye out for the Yasawa island resort Night stay for the likuliku one or even the Malolo one. Can't wait!








Wednesday, November 19, 2014

Spaghetti Bolognaise

I love making spaghetti Bolognaise because its the perfect time to experiment.
This time and I wish I had take a pic of it I had kidney beans and mushrooms fresh from new World along with Spring Onions, salt and lots of pepper. Loaded up with frozen tomatoes and tomato sauce topped with grated cheese. 
Now to think about how to reuse all these left over kidney beans.

Lemon Cake

Was up all night trying to put this together: 
Double Layer Lemon Cake with Fondant like cream cheese frosting.
For the double layer I bought two 9inch round cake pans- mostly because these were $7.95 each and its preparation for my Rainbow cake for 5year old in March. 
The cream cheese frosting was store bought thankfully as cream cheese is twice the cost. 
Dumped the cream cheese frosting in the microwave for 30 seconds. Dropped on first layer.
Dumped it into microwave again for another 30seconds, this was two watery so had to let it cool off and then put again for 10 seconds. 
Stuffed with sprinkles and then put into the fridge to set overnight.
Lets hope birthday girl appreciates the late night.

Thursday, November 13, 2014

Egg lunch date

I just love his office, they have a kitchen stove and well its practically a house.
This particular day he fried eggs and had bought long loaf and tea and called me to come over.
The small things in life.... the Perfect Egg lunch date for us


Mum's kokoda

Nothing beats mum's kokoda.
These are just the best. 
Fresh fish soaked overnight in vinegar then stuffed with capsicum, grated carrots and spring onions and chillies immersed in coconut milk

Stir fry


My very first colourful stir fry with everything from the new- well not so new any more New World Supermarket. I just love that place, makes me feel like I'm walking around Countdown in NZ. 
Stir Fry Recipe:
Chicken Breast pieces sliced up- already sold like that at the New World Deli
Mushrooms - fresh in a pack, in the deli section
Carrots
Broccoli
Salt
Pepper
Kikomon Sauce 
All for under $25

Ended up adding noodles for Jitoko's sake.

Thursday, November 6, 2014

Fourth November

4th of November flew by so fast where did the year go. 10 months since you're gone daddy. We miss you. The realisation that you are not coming back and will never be around for the rest of my life is slowly setting it and that empty feeling that empty feeling that we will never see you again sets in.
But I know we will see you again  the thing that bugs me is yes I know I will see you again. Yes when Jesus comes back if jesus doesn't come for another 40years I will not see you again until another 40years. That sucks. So many things you have missed. Jaydon's enjoying school Jaydon's fancy moments. Jaydon's ways are exactly like yours that there are moments when we don't know whether to laugh at how funny it is or cry at how tragic it is that you are not here to see it. We have learnt to rest in the assurance, the peace and the understanding that you are now with God and that you are no longer in pain and that even though its hard not having you around we thank God for your legacy.

Monday, October 20, 2014

HTML 5 learning

Easy peazy:

<!DOCTYPE html>
<html>
<head></head>
<body>
<header>NUMBER</header>
<input type="number" name="MyNuberElement" id="MyNumberElement" />

<header>RANGE</header>
<input type="range" name="MyRangeElement" id="MyRangeElement"/>

<header>COLOUR</header>
<input type="color" id="MyColorElement" name="MyColorElement" />

<header>Date</header>
 <input type="date" id="MyDateElement" name="MyDateElement" />


<header>DateTime (Also include time zone)</header>
<input type="datetime" id="MyDateTimeElement" name="MyDateTimeElement"/>

<footer></footer>

 



Wednesday, October 1, 2014

Dilemma

How do you tell a 4year old to turn the other cheek when being bullied in school and just pray for the kid and why should your 4year old have to endure that. its not his fault that his family wants him to have all these nice things to take to school with him. Why should he have to deal with it?Why should he suffer? Why does he have to learn to stand up to himself so early. I wish I could just hug him and all the bad goes away - Helpless!

Wednesday, September 3, 2014

Homemade Caramel Sauce

In the saucepan, combine 1 cup of sugar, 1/4 cup of cold water, and 1/4 tsp. of lemon juice.

Bring the mixture to a boil over medium-high heat. Rather than stirring to dissolve the sugar, gently swirl the pan.

Once it comes to a boil, continue to cook until the color starts to change—about 5 minutes.

When it starts to brown in spots, swirl it occasionally just to even out the color, and keep the hot spots from burning.

Once the color starts to change, watch your caramel very closely—it can go from undercooked to overcooked within a few seconds.

You can check the color by putting a dab onto a white plate.

Very light caramel won’t really have that bittersweet caramelized-sugar flavor.

The darker you go, the more bitter and complex the flavor gets and you don’t want to take it so far that it tastes burned.

When your caramel is medium amber in color, you’ve reached the optimum color, consistency, and flavor for Rich Caramel Sauce and many of our recipes that incorporate caramel.

As soon as the caramel is at the stage you want it, take it off the heat. The caramel will harden quickly as it cools, so you want to be ready to use it in whatever recipe you’re making.

One of the simplest uses for this basic caramel is to turn it into a quick caramel sauce. To do that, bring your caramel to the medium amber stage and stir in 3/4 cup of heavy cream off the heat—the mixture will bubble up and spatter so add it slowly and be careful.

Put the pan back over medium-low heat to melt any little hardened bits of caramel that stuck to the bottom of the pan. Once those are dissolved, stir in 2 Tbs. of butter, cut into small pieces, and 1 tsp. vanilla extract.
Your caramel sauce should be smooth, creamy and loaded with caramel flavor. It’s perfect for drizzling over ice cream, fruit, or chocolate desserts.

Ref: Fine Cooking

Homemade Devils Food Cake

Frosting(For some other day)
15 ounces semi-sweet chocolate, finely chopped
1 1/2 cups heavy cream

Cake:
2 cups all-purpose unbleached flour
1 1/2 teaspoons baking soda
3/4 teaspoon baking powder
3/4 teaspoon salt
12 tablespoons unsalted butter, at room temperature, plus more for the pans
2 cups plus 2 tablespoons sugar
3/4 cup nonalkalized cocoa powder (not Dutch-processed)
2 teaspoons pure vanilla extract
3 large eggs, at room temperature
1 1/4 cups water
1/4 cup milk


Frosting:
Put the chocolate in a large heatproof bowl.
In a small saucepan, bring the cream to a boil.
Pour the cream over the chocolate, move the bowl gently to let the cream settle.
Set the mixture aside until softened, about 4 minutes. Whisk until smooth. Cover the surface of the frosting with plastic wrap. Set aside and let set up at room temperature, about 2 hours.

Cake:
Set a rack in the middle of the oven and preheat to 350 degrees.
Find a 9inch round cake pan and grease it.

In a bowl, whisk together the flour, baking soda, baking powder, and salt and set aside.

Melt the butter over low heat and add sugar beating until light and smooth.

Add the cocoa powder and vanilla and beat, add the eggs, one at a time, beating for 1 minute between each addition.

Combine the water and milk in a saucepan and bring just to a boil. Remove from the heat.

Add the flour mixture, about a 1/4 cup at a time. Carefully pour the hot liquid into the batter, combining the batter until smooth.

Place in pan and let bake until the cake begin to pull away from the sides of the pans and the center springs back when touched lightly, about 30 to 35 minutes.

Cool the cakes, in the pans, on a rack for 10 minutes. Turn the cake layers out of the pans and cool on the rack.

(If not assembling the cake right away, wrap the layers in plastic wrap and store at room temperature for up to 1 day, or freeze for up to 2 months.)

Tuesday, September 2, 2014

Better than sex cake

For hubby's birthday

Updated
This was the hardest yet easiest cake ever to make.
First you have to make the Devil's food cake and whoa I found the best Devils food cake recipe online.
No more better crocker because this is just so easy with everything you already have in the house.
So first the Devil's food cake, then the caramel and then the condesed milk and then the crushed toffee/chocolate pieces and top with whipped cream.

Monday, August 25, 2014

Call from Home

Heart stops beating when you get a call and its from the babysitter only to tell you that little Mr 4 does not want to listen, they had a fight, he chased her away, brought the dog inside and did not want to talk to her. Happy Days!

Problems storing and retrieving images

Started with storing in the file system and then realised this won't work if file names are the same or if to be retrieved via API. Worked on Saturday to use the image data type which works perfectly only to find out today that it has been deprecated.

Now to try this one:

Monday, August 11, 2014

Login Control

I've been using this code for login for the last 3years and have no idea where I found it but found a similar tutorial that shows most if not all of it:

 private bool SiteLevelCustomAuthenticationMethod(string UserName, string Password)
        {
            bool boolReturnValue = false;
            string connStr = ConfigurationManager.ConnectionStrings["standdsConnectionString"].ConnectionString;
            SqlConnection Con = new SqlConnection(connStr);
            String strSQL = "Select * from tblUserAccounts";
            SqlCommand command = new SqlCommand(strSQL, Con);
            SqlDataReader Dr;
            Con.Open();
            Dr = command.ExecuteReader();
            while (Dr.Read())
            {
                if ((UserName == Dr["strUserName"].ToString()) & (Password == Dr["strPassword"].ToString()))
                {
                    TypeID = Convert.ToInt32(Dr["strTypeID"].ToString());
                    boolReturnValue = true;
                }
            }
            Dr.Close();
            return boolReturnValue;
        }

Here the link to one with more details:

I know that at some point I will need to use the 2013 control along with the OWIN login option and hopefully I can figure out how to apply that to our present database by then

Webforms UnobstrusiveValdcationMode Error

This problem usually comes when creating an empty project and then attempting to use the login control 


The fix: 
Add this line of code in web.config file

  <appSettings>        <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />      </appSettings>

Monday, July 28, 2014

Very Inspiring Article

I suppose it would be every programmers dream to meet with the top guns of Microsoft but love the innovation put in by these participants. Very Inspiring piece
http://www.microsoft.com/en-us/news/features/2014/jul28/code-is-the-universal-language-at-imagine-cup-2014.aspx

Thursday, July 24, 2014

Sweet and sour sui

His edition
Hubby made sweet and sour sui...and he complains that I experiment too much...it was just delicious only needed tomato sauce ginger and garlic and tinned pineapples with juice. Who knew!

Christian camps

The reality and how important it is. Guess thats why the devil is making sure it dies out

Such a bold declaration

And for the first time I have ever known Hillsong to move away from secular music like song to boldly declaring its Jesus always has always will be the reason we exist for him by him and through him and the crosd and this is why we sing

Being married to a technician

You have no say about which gadgets show up on which part of the house or which wires get thrown around the house.

Monday, July 21, 2014

Monday, July 14, 2014

JQuery Datepicker fix for version 1.9.0

  Just paste the code below at the bottom of Jquery file and it starts working again
  
  // Limit scope pollution from any deprecated API  (function() {        var matched, browser;    // Use of jQuery.browser is frowned upon.  // More details: http://api.jquery.com/jQuery.browser  // jQuery.uaMatch maintained for back-compat      jQuery.uaMatch = function( ua ) {          ua = ua.toLowerCase();            var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||              /(webkit)[ \/]([\w.]+)/.exec( ua ) ||              /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) ||              /(msie) ([\w.]+)/.exec( ua ) ||              ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) ||              [];            return {              browser: match[ 1 ] || "",              version: match[ 2 ] || "0"          };      };        matched = jQuery.uaMatch( navigator.userAgent );      browser = {};        if ( matched.browser ) {          browser[ matched.browser ] = true;          browser.version = matched.version;      }    // Chrome is Webkit, but Webkit is also Safari.      if ( browser.chrome ) {          browser.webkit = true;      } else if ( browser.webkit ) {          browser.safari = true;      }        jQuery.browser = browser;        jQuery.sub = function() {          function jQuerySub( selector, context ) {              return new jQuerySub.fn.init( selector, context );          }          jQuery.extend( true, jQuerySub, this );          jQuerySub.superclass = this;          jQuerySub.fn = jQuerySub.prototype = this();          jQuerySub.fn.constructor = jQuerySub;          jQuerySub.sub = this.sub;          jQuerySub.fn.init = function init( selector, context ) {              if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) {                  context = jQuerySub( context );              }                return jQuery.fn.init.call( this, selector, context, rootjQuerySub );          };          jQuerySub.fn.init.prototype = jQuerySub.fn;          var rootjQuerySub = jQuerySub(document);          return jQuerySub;      };    })();