{}

Get Started With Xcode Playgrounds

“Playgrounds provides a testing ground that renders developer code in real time. It has the capability of evaluating and displaying the results of single expressions as they are coded (in line or on a side bar), providing rapid feedback to the programmer. This type of development environment is often referred as REPL ( Read–Eval–Print–Loop ) and it is useful for learning, experimenting and fast prototyping. Playgrounds was used by Apple to publish Swift tutorials and gu...

Deploy Angular project to Firebase hosting

This tutorial assumes that you have an angular project ready and that you have already created a project inside firebase, so we will just focusing on deploying the angular project to firebase. 1. Install the Firebase CLI The Firebase CLI (Command Line Interface) requires Node.js and npm , which can both be installed by following the instructions on https://nodejs.org/ . Installing Node.js also installs npm. The Firebase CLI requires Node.js version 5.10.0 or greater. Once you...

Angular 4 CLI commands

Install the Angular CLI npm install -g @angular/cli Create a new application ng new angular-tour-of-heroes Serve the application cd angular-tour-of-heroes ng serve --open The ng serve command builds the app, starts the development server, watches the source files, and rebuilds the app as you make changes to those files. The --open flag opens a browser to http://localhost:4200/ . Create a component ng generate component heroes Create a service ...

Migrating websites to a new server

I‘ve just migrated several websites to a new server recently and it is not as simple as copy/pasting the folders and restoring the database, there are a few things you need to setup on the new server for everything to run smoothly. Intial Prep Backup your website folder Backup your website database Not going to go through the details here, very straight forward, lots of tutorials online. SQL Server Setting Restore your backed-up database on the new sql ...

Version numbers and exact release dates of the .NET framework

I've summarised most of the versions in the table below, including CLR, C#, Visual Studio and MVC versions. Note that ASP.NET 5 has been rebranded as ASP.NET Core 1.0 and ASP.NET MVC 6 has been rebranded as ASP.NET Core MVC 1.0.0. I believe this change occured sometime around Jan 2016. I have included the release date of ASP.NET 5 RC1 in the table, but I've yet to include ASP.NET core 1.0 and other core versions because i couldn't find the exact release dates. You can read more about the...

Detect when images have been loaded

One thing I've noticed when displaying images using ajax is that images are always the last thing to show on a page, this means that it doesn't load during the success event or even in the complete event of the ajax call, this could cause problems when you try to calculate the width/height of the container before the image is shown. You could see that the images doesn't get loaded even inside ajax complete event still no image shown... Images will be loaded after the con...

Page 1 of 1