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
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <UsingTask TaskName="CopyIfNewer" TaskFactory="RoslynCodeTaskFactory" AssemblyFile="$(MSBuildBinPath)\Microsoft.Build.Tasks.Core.dll"> | |
| <ParameterGroup> | |
| <SourceFiles ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true"/> | |
| <TargetFiles ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true"/> | |
| </ParameterGroup> | |
| <Task> | |
| <Using Namespace="System"/> | |
| <Using Namespace="System.IO"/> | |
| <Using Namespace="Microsoft.Build.Framework"/> |
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
| using System; | |
| using System.Reactive.Linq; | |
| using System.Threading; | |
| /// <summary> | |
| /// Helper methods for using observable <see cref="IProgress{T}"/> implementations. These are hot observables. | |
| /// </summary> | |
| public static class ObservableProgress | |
| { | |
| /// <summary> |
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
| var http = require('http'); | |
| var path = require('path'); | |
| var cluster = require('cluster'); | |
| var os = require('os'); | |
| var fs = require('fs'); | |
| var debug = true; | |
| if (!cluster.isMaster) { | |
| var F = require('total.js'); |
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
| var States; | |
| (function (States) { | |
| States[States["New"] = 1] = "New"; | |
| States[States["Active"] = 2] = "Active"; | |
| States[States["Disabled"] = 3] = "Disabled"; | |
| })(States || (States = {})); | |
| Object.prototype.enumEqual = function(enumType, enumItem) { | |
| debugger; | |
| var isNum = function(v) { return !isNaN(parseInt(v)); }; |