Playground so we don't have to install anything, I meant, ANYTHING! Ionic is all about Angular and Cordova.
<!-- index.html -->
<div class="list" ng-controller="Hello">| public class Document | |
| { | |
| private readonly Content html; | |
| public Document(Content content) | |
| { | |
| html = content; | |
| } | |
| } |
| namespace Snikt.Specifications.DatabaseSpecs | |
| { | |
| [TestClass] | |
| public class WhenExecuteQuery | |
| { | |
| [TestMethod] | |
| public void ThenStrongTypedListIsReturned() | |
| { | |
| // Biuld | |
| string nameOrConnectionString = "name=DefaultConnection"; |
| using (IDataReader reader = command.ExecuteReader()) | |
| { | |
| List<Category> cats = new List<Category>(); | |
| while (reader.Read()) | |
| { | |
| int idOrdinal = reader.GetOrdinal("cid"); | |
| int nameOrdinal = reader.GetOrdinal("name"); | |
| if (!reader.IsDBNull(idOrdinal)) | |
| { |
| using System; | |
| using System.Data; | |
| using ClassicDalHelpersSample.Business.Entities; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Snikt; | |
| namespace Snikt.Mock | |
| { | |
| public sealed class CategoryDataAccess |
| function reverse(arr) | |
| { | |
| var left = null; | |
| var right = null; | |
| var length = arr.length; | |
| for (left = 0; left < length / 2; left += 1) | |
| { | |
| right = length - 1 - left; | |
| var temporary = arr[left]; | |
| arr[left] = arr[right]; |
| function goFizzBuzz(start, end) { | |
| for (let i = start; i <= end; i++) { | |
| if (i % 15 == 0) { console.log('FizzBuzz'); } | |
| else if (i % 3 == 0) { console.log('Fizz'); } | |
| else if (i % 5 == 0) { console.log('Buzz'); } | |
| else { console.log(i); } | |
| } | |
| } |
| String.prototype.reverse = () => { | |
| return this.split('').reverse().join(''); | |
| }; |
| SELECT TOP 20 | |
| total_worker_time/execution_count AS Avg_CPU_Time | |
| ,Execution_count | |
| ,total_elapsed_time/execution_count as AVG_Run_Time | |
| ,total_elapsed_time | |
| ,(SELECT | |
| SUBSTRING(text,statement_start_offset/2+1,statement_end_offset | |
| ) FROM sys.dm_exec_sql_text(sql_handle) | |
| ) AS Query_Text | |
| FROM sys.dm_exec_query_stats |
| save=true | |
| save-exact=true | |
| loglevel=error | |
| package-lock=false |