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
{ | |
//other configs | |
, | |
"FeatureManagement": { | |
"FeatureName": true | |
} | |
} |
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
#centered { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
} |
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.ComponentModel; | |
using System.Globalization; | |
using System.Linq; | |
namespace Project.Models.Common | |
{ | |
public static class EnumExtensions | |
{ | |
public static string GetDescription<T>(this T e) where T : IConvertible |
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
Get latest TAG for branch | |
git describe --tags --abbrev=0 | |
Get latest TAG for a given git commit | |
git describe --exact-match <commit-id> |
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
git checkout master | |
git reset --hard e3f1e37 | |
git push --force origin master |
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
$ExampleVariable1 = "..your data here.."; | |
$ExampleVariable2 = "..your data here.."; | |
$ExampleVariableN = "..your data here.."; | |
$url = 'https://..your url here..'; | |
$requestBody = @{ | |
ExampleVariable1 = '$(ExampleVariable1)' | |
ExampleVariable2 = '$(ExampleVariable2)' | |
ExampleVariableN = '$(ExampleVariableN)' |
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
return DocumentStore.DatabaseCommands.ForDatabase(((DocumentStore)DocumentStore).DefaultDatabase).GetStatistics().Indexes.Single(x => x.Name == indexName).DocsCount; |
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
const cvs = document.getElementById("pug"); | |
const ctx = cvs.getContext("2d"); | |
let frames = 0; | |
const sprite = new Image(); | |
sprite.src = "img/sprite.png"; |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<style> | |
.rotatable { | |
-webkit-transition: all 0.3s ease-in-out; | |
-moz-transition: all 0.3s ease-in-out; | |
-o-transition: all 0.3s ease-in-out; | |
transition: all 0.3s ease-in-out; |