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
public static uint[,] getHues(int brightnessLevel = 2) //RETURNING Z | |
{ | |
uint[] allHues = HueData.GetAllHues(); | |
if (brightnessLevel < 2)//for hue picker | |
brightnessLevel = 2; | |
else if (brightnessLevel > 6)//for hue picker | |
brightnessLevel = 6; |
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
{ | |
"clients": { | |
"Geth": { | |
"version": "1.7.3", | |
"platforms": { | |
"linux": { | |
"x64": { | |
"download": { | |
"url": "https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.7.3-4bb3c89d.tar.gz", | |
"type": "tar", |
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
using System.Collections.Generic; | |
using Newtonsoft.Json; | |
namespace BizimLastikStokKontrol.Sahibinden | |
{ | |
public static class SahibindenAPI | |
{ | |
public static string IlanBot(object ilanObj) | |
{ | |
string IlanInfo = $"var step2Data={JsonConvert.SerializeObject(ilanObj)};"; |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace SignalRCacheService.ConsoleApp | |
{ | |
class Program | |
{ |
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
using BenchmarkDotNet.Attributes; | |
namespace Extendlocked | |
{ | |
public class AtomicBenchmark | |
{ | |
#region Increment | |
[Benchmark] | |
public void IncrementByte() |
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
using Ocelot.Configuration; | |
using Ocelot.Logging; | |
using Ocelot.Requester; | |
using System; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
public class CustomHttpClientBuilder : Ocelot.Requester.IHttpClientBuilder | |
{ | |
private readonly IHttpClientCache _cacheHandlers; |
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
// Example code to suppress ModelStateInvalidFilter | |
services.Configure<ApiBehaviorOptions>(options => | |
{ | |
options.SuppressModelStateInvalidFilter = true; | |
}); |
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
# Use the official Ubuntu as a parent image | |
FROM ubuntu:20.04 | |
ENV DEBIAN_FRONTEND=noninteractive | |
# Install dependencies | |
RUN apt-get update && \ | |
apt-get install -y curl git libicu66 sudo apt-transport-https ca-certificates gnupg lsb-release jq && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* |