Progamming, Motherhood, Wifehood, Life, Total Randomness, Inspirations and Just plain thoughts
Tuesday, December 23, 2014
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
Wednesday, December 10, 2014
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>
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!
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
So excited to have discovered Microsoft Virtual Academy and its rich resource base.
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.
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!
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!
Subscribe to:
Posts (Atom)





















