For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
This file contains hidden or 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
Create.Table("AspNetRoles") | |
.WithColumn("Id").AsString().PrimaryKey("PK_AspNetRoles").NotNullable() | |
.WithColumn("ConcurrencyStamp").AsString().Nullable() | |
.WithColumn("Name").AsString(256).NotNullable() | |
.WithColumn("NormalizedName").AsString(256).Nullable() | |
.Indexed("RoleNameIndex"); | |
Create.Table("AspNetUserTokens") | |
.WithColumn("UserId").AsString().PrimaryKey("PK_AspNetUserTokens").NotNullable() |
This file contains hidden or 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
<template> | |
<div> | |
<a href="http://aurelia.io/hub.html#/doc/article/aurelia/validation/latest/validation-basics/9" target="top">Documentation</a> | |
</div> | |
<form submit.delegate="submit()" novalidate autocomplete="off"> | |
<!--<ul><li repeat.for="error of controller.errors">${error.message}</li></ul>--> | |
<div class="form-group"> | |
<label class="control-label" for="volumeA">A) Integer Range Validation Example In Documentation</label> | |
<input type="text" class="form-control" id="volumeA" value.bind="volumeA & validate"> |
They're just variables you set on your system that various programs/processes can read. A fairly standard example in javascript circles would be setting your NODE_ENV
variable to "production" or "development", altering how node code is executed on your system (for example showing more debug messaging when in development).
With most shells there's a way to set them for the current session, and a way to set them for all sessions. The following is meant to be a guide on how to set env vars in the various shells.
Setting for the session:
This file contains hidden or 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
public static void Fade (this UIView view, bool isIn, double duration = 0.3, Action onFinished = null) | |
{ | |
var minAlpha = (nfloat)0.0f; | |
var maxAlpha = (nfloat)1.0f; | |
view.Alpha = isIn ? minAlpha : maxAlpha; | |
view.Transform = CGAffineTransform.MakeIdentity (); | |
UIView.Animate (duration, 0, UIViewAnimationOptions.CurveEaseInOut, | |
() => { | |
view.Alpha = isIn ? maxAlpha : minAlpha; |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"