Skip to content

Instantly share code, notes, and snippets.

@augustoproiete
augustoproiete / SimpleHttpServer.cs
Created December 20, 2015 20:50
C# Based HttpListener Static File Web Server
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Net;
using System.IO;
using System.Threading;
using System.Windows.Forms;
using Westwind.Utilities;
namespace Westwind.WebConnection
@julianxhokaxhiu
julianxhokaxhiu / Readme.md
Last active March 25, 2019 12:39
Fix Chrome/Chromium ( also based browsers ) and Logitech SetPoints MediaKeys events ( Windows )
  1. Open C:\Program Files\Logitech\SetPointP\players.ini
  2. Add these lines to their respective sections
[Players]
GooglePlayMusic=key,chrome.exe,Chrome_WidgetWin_1,xxx,xxx,&0xB3,&0xB3,&0xB2,&0xB1,&0xB0,0,1,Google Play Music
# If you need support for a third party Chromium browser, for eg. Vivaldi, add this line
Vivaldi=key,vivaldi.exe,Chrome_WidgetWin_1,xxx,xxx,&0xB3,&0xB3,&0xB2,&0xB1,&0xB0,0,1,Vivaldi
# Basically you need to copy paste the line, change the "exe file name", the entry name ( before = ) and the last part after the ,

[Players.Run]
@aksakalli
aksakalli / SimpleHTTPServer.cs
Last active June 7, 2024 08:38
SimpleHTTPServer in C#
// MIT License - Copyright (c) 2016 Can Güney Aksakalli
// https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using System.IO;