Skip to content

Instantly share code, notes, and snippets.

Nikolay Kostov NikolayIT

Block or report user

Report or block NikolayIT

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ExpressionEvaluator.cs
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace ExpressionEvaluator
{
class Program
{
static void Main(string[] args)
@NikolayIT
NikolayIT / SimpleHttpServerWithTcpListener.cs
Created Sep 16, 2018
Simple HTTP server in .NET Core using TcpListener
View SimpleHttpServerWithTcpListener.cs
namespace SimpleHttpServer
{
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
public static class Program
{
public static void Main(string[] args)
@NikolayIT
NikolayIT / Dota2LeaderboardTracker.cs
Last active Jul 1, 2018
Tracking changes in Dota 2 leaderboard pages
View Dota2LeaderboardTracker.cs
namespace DotaLeaderboardsUpdates
{
using System;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using Newtonsoft.Json;
View ExportController.cs
private readonly IViewRenderService viewRenderService;
private readonly IHtmlToPdfConverter htmlToPdfConverter;
private readonly IHostingEnvironment environment;
public DashboardController(
IViewRenderService viewRenderService,
IHtmlToPdfConverter htmlToPdfConverter,
IHostingEnvironment environment)
{
this.viewRenderService = viewRenderService;
View HtmlToPdfConverter.cs
using System;
using System.Diagnostics;
using System.IO;
public interface IHtmlToPdfConverter
{
byte[] Convert(string basePath, string htmlCode, FormatType formatType, OrientationType orientationType);
}
public class HtmlToPdfConverter : IHtmlToPdfConverter
View rasterize.js
"use strict";
var page = require('webpage').create(),
system = require('system'),
address,
output;
console.log('Usage: rasterize.js [URL] [filename] [paperformat] [orientation]');
address = system.args[1];
output = system.args[2];
View ViewRenderService.cs
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Rendering;
@NikolayIT
NikolayIT / LinearRegression.cs
Created Mar 17, 2017
Linear regression implementation in pure C# with example of Bulgarian population prediction
View LinearRegression.cs
namespace LinearRegression
{
using System;
using System.Diagnostics;
public static class Program
{
public static void Main()
{
var xValues = new double[]
@NikolayIT
NikolayIT / Илевън Фънд Кооператиф.md
Last active Apr 19, 2016
Български фирми, в които Eleven има участие към 19-ти април 2016
View Илевън Фънд Кооператиф.md
ЕИК Име на фирма [състояние] дял
202582245 Куизенс ООД [заличена] 80 лв.
202726418 Грувит ООД [заличена] 80 лв.
202724560 Волофай ООД [заличена] 80 лв.
202270847 Юлимпикс ООД [активна] 140 лв.
202727922 Хангрио ООД [заличена] 80 лв.
202739821 Бииклауд ООД [активна] 140 лв.
202727192 Паруди ООД [заличена] 140 лв.
202724335 Дейта Крафт енд Меджик ООД [активна] 140 лв.
View EncogNeuralNetworkSumNumbers.cs
using Encog;
using Encog.ML.Data;
using Encog.ML.Data.Basic;
using Encog.ML.Train;
using Encog.Neural.Networks;
using Encog.Neural.Networks.Layers;
using Encog.Neural.Networks.Training.Propagation.Resilient;
using System;
using System.Collections.Generic;
using Encog.Engine.Network.Activation;
You can’t perform that action at this time.