Skip to content

Instantly share code, notes, and snippets.

View MareMare's full-sized avatar
🎯
Focusing

MareMare MareMare

🎯
Focusing
  • 21:10 (UTC +09:00)
View GitHub Profile
@voluntas
voluntas / learning-obs-webrtc-whip.md
Last active June 11, 2025 02:02
時雨堂 OBS WebRTC/WHIP 入門 (講師資料)

時雨堂 OBS WebRTC/WHIP 入門 (講師資料)

これは時雨堂が 2023 年 11 月 21 日 (火) 15:00-17:00 で開催を予定しているオンラインイベント OBS WebRTC/WHIP 入門の 講師用 の資料であり、 参加者用の資料ではありません。

時雨堂 OBS WebRTC/WHIP 入門 オンラインイベント

概要

ChatGPT がある今、学ぼうと思えば好きなだけ学べる時代がきています。

@luigiMinardi
luigiMinardi / tex-colors.md
Last active October 20, 2025 20:42
Github markdown colors (Using Tex and the github MathJax support)

Small warning for everyone that are thinking if using Tex colors is a good idea or not

  • 2023-05-02 - Since a few days ago \colorbox and \fcolorbox are broken and Github did't talk about if it's a temporary thing or if it will not be added back.
    • 2024-01-04 - Since it has not being added back I deduce that it will never be so I removed all mentions to it on the rest of the gist.
  • 2023-09-29 - Tex seems to not work on h1 to h6 anymore (markdown #'s)
    • 2024-01-04 - Now it works again, I'll keep the message for a while to remember that it may change again in the future

As you can se with the above message(s) Tex may not be very stable and may not be an option to you as of the dates expressed above. You can also check other tex problems here.

Github released Tex support and colors* to the markdown and you din't realized

@MareMare
MareMare / Building a project that target .NET Framework 4.5 in Visual Studio 2022.md
Last active December 23, 2022 07:43
Building a project that target .NET Framework 4.5 in Visual Studio 2022
@stknohg
stknohg / Install-LatestWinGet.ps1
Last active September 13, 2025 14:01
Windows Server 2022にWindows Terminal, WinGetをインストールする関数
function Install-LatestWinGet ([switch]$SkipInstallVCLibs) {
# Install prerequisites
if (-not $SkipInstallVCLibs) {
$vcLibsUrl = 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx'
Write-Host -ForegroundColor Green "Download $vcLibsUrl"
Add-AppxPackage -Path $vcLibsUrl
}
# Find the latest assets url
$latest = Invoke-RestMethod -Uri 'https://api.github.com/repos/microsoft/winget-cli/releases/latest'
@davidfowl
davidfowl / .NET6Migration.md
Last active November 18, 2025 22:14
.NET 6 ASP.NET Core Migration
@davidfowl
davidfowl / MinimalAPIs.md
Last active September 25, 2025 20:44
Minimal APIs at a glance
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons
@cbp44
cbp44 / random_windows_hostname.md
Last active August 31, 2025 18:55
Random Windows hostname generator

Random Windows Hostname from Linux Shell

Shell function one-liner to produce a pseudorandom hostname in the style of Windows 7, Windows 8 and Windows 10 e.g. DESKTOP-V1XZZQ3

random_windows_hostname() {
    printf "DESKTOP-$(/usr/bin/tr -dc A-Z0-9 </dev/urandom | /usr/bin/head -c 7)"
}
echo "$(random_windows_hostname)"   # produces DESKTOP-V1XZZQ3
@RickStrahl
RickStrahl / ColorConsole.cs
Last active September 2, 2024 14:49
Color Console - a simple class to add color to .NET Console commands more easily.
using System;
using System.Text;
using System.Text.RegularExpressions;
namespace MainColorConsole
{
class Program
{
static void Main(string[] args)
{
@minop1205
minop1205 / conventional-commits.md
Last active November 26, 2025 09:14
コミットメッセージ規約