更新: | 2022-03-18 |
---|---|
作者: | @voluntas |
バージョン: | 2022.1 |
URL: | http://voluntas.github.io/ |
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
// based on https://qiita.com/coppercele/items/fef9eacee05b752ed982#m5stickc%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3 | |
#define ENABLE_M5STACK_UPDATER | |
#include <Arduino.h> | |
#include <M5Stack.h> | |
#ifdef ENABLE_M5STACK_UPDATER | |
#include <M5StackUpdater.h> | |
#endif | |
#include <BLEDevice.h> |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using CoreAudioApi; | |
namespace DeviceManager.Volume | |
{ | |
class VolumeController |
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
"use strict"; | |
var IIS_SERVER_LIST = new Set(); | |
browser.webRequest.onHeadersReceived.addListener((e) => { | |
for (let header of e.responseHeaders) { | |
if ("server" === header.name.toLowerCase()) { | |
if (header.value.startsWith("Microsoft-IIS/")) { | |
let url = new URL(e.url); | |
IIS_SERVER_LIST.add(url.host); |