This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>Tooltips</title> | |
<style> | |
*, | |
*::before, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>Custom Checkbox</title> | |
<style> | |
*, | |
*::before, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.grow { | |
transition: transform 150ms ease-out 0s; | |
&:hover { | |
transform: scale(1.02); | |
} | |
} | |
.shift { | |
transition: transform 150ms ease-out 0s; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Script to extract a ProductId from an MSI file. | |
# | |
# Author: Nickolaj AndersenAugust | |
# https://www.scconfigmgr.com/2014/08/22/how-to-get-msi-file-information-with-powershell/ | |
# | |
param( | |
[parameter(Mandatory=$true)] | |
[ValidateNotNullOrEmpty()] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dates = | |
VAR BaseCalendar = CALENDARAUTO() | |
RETURN | |
GENERATE ( | |
BaseCalendar, | |
VAR BaseDate = [Date] | |
RETURN ROW ( | |
"Year", YEAR(BaseDate), | |
"Quarter", INT(FORMAT(BaseDate, "q")), | |
"Month", MONTH(BaseDate), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<div fxHide fxHide.xs="false">Extra Small</div> | |
<div fxHide fxHide.sm="false">Small</div> | |
<div fxHide fxHide.md="false">Medium</div> | |
<div fxHide fxHide.lg="false">Large</div> | |
<div fxHide fxHide.xl="false">Extra Large</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Query Kind="Program"> | |
<NuGetReference>Microsoft.Azure.DocumentDB</NuGetReference> | |
<Namespace>Microsoft.Azure.Documents</Namespace> | |
<Namespace>System.Threading.Tasks</Namespace> | |
<Namespace>Microsoft.Azure.Documents.Client</Namespace> | |
<Namespace>Microsoft.Azure.Documents.Linq</Namespace> | |
<Namespace>Newtonsoft.Json</Namespace> | |
</Query> | |
private static readonly string DatabaseId = "ToDoList"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Module 1 - Getting Started with Typescript | |
****************************************** | |
Runs in any browser, on any host, on any OS, is open source, with good tool support. | |
Supports; | |
any JS code, | |
static typing, | |
encapsulation through classes and modules, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MODULE 1 | |
// visit jsperf.com to write and run performance tests. | |
// use a CDN with a fallback, see html5 boilerplate. | |
// working with selectors | |
// consider prefixing variable names with $ when holding jQuery objects. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PROTOTYPE | |
// Modularize code into re-usable objects, take variables and functions out of global namespace, | |
// functions loaded into memory once whereas the state is all held in the objects, can override | |
// functions through prototyping. | |
// Drawbacks: heavy use of 'this' keyword and the constructor is separate from the prototype definition. | |
var Calculator = function(eq) { | |
// Variables defined in constructor and are unique to each instance. | |
this.eqCtl = document.GetElementById(eq); |